xadisk
  1. xadisk
  2. XADISK-154

Transaction log may not get deleted even after all of its related transactions' completion.

    Details

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

      Description

      Many Thanks to Daniel for identifying this problem at the thread: https://groups.google.com/forum/#!topic/xadisk/oJBK47CiyJM.

      A transactions complete, there is a check to see if the logs they are using are not used by any other ongoing transaction. If so, such logs is deleted. Due to incomplete tracking of the log usage, this was not working as expected.

      Also, if a completing transaction was the last remaining transaction in the current log, and when any further log request ends up creating a new log, the last log can remain undeleted. We need to take care of this too.

        Activity

        Hide
        Nitin Verma added a comment -

        Checked-in the changes to trunk. The changes had been uploaded on the above discussion thread and were verified by Daniel.

        Show
        Nitin Verma added a comment - Checked-in the changes to trunk. The changes had been uploaded on the above discussion thread and were verified by Daniel.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: