xadisk
  1. xadisk
  2. XADISK-113

During crash recovery, redo of directory creation operation should not delete the existing directory tree.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 1.2.1
    • Component/s: filesystem
    • Labels:
      None

      Description

      This issue appears only after the fix for improvement#93 (http://java.net/jira/browse/xadisk-93).

      There were some optimizations done for checkpoints as part of xadisk-93, where we submit a checkpoint only for cases when a file f involved in the operation could in some way impact the (post crash redo of) "earlier" operations dependent upon that file f. The case which got skipped is post crash redo of directory creation where we are deleting the entire directory tree, if it exists, and then recreate the directory. Because of the way the checkpoint optimization have been implemented, the directory's relation to its descendants is not taken into account; and this gets manifested as a bug when we redo directory creation after crash, resulting in "loss of information" required for redo of operations later in the transaction.

        Activity

        Hide
        Nitin Verma added a comment -

        Checked-in the changes to trunk.

        Show
        Nitin Verma added a comment - Checked-in the changes to trunk.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            Nitin Verma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: