Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-35323

Forestdb: Renaming a compacted file can lead to the file getting deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.6, 6.0.3
    • 5.5.5, 6.0.2
    • forestdb
    • Untriaged
    • Unknown

    Description

      forestdb "unlinks" the old file after compaction. When the old file has no references, it will be removed. This causes an issue when the compacted file is renamed to the old file.

      The following sequence of steps causes the compacted file to be deleted.

      1. compact a file.
      2. rename the new compacted file to the old file name.
      3. copy the file to a new location
      4. open the file in the new location

      This will cause the file in the old location to get deleted. 

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srinath.duvuru Srinath Duvuru
              srinath.duvuru Srinath Duvuru
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty