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

fdb_destroy does not delete database with numeric suffix (manual compaction)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • bug-backlog
    • master
    • forestdb
    • None
    • Untriaged
    • MacOSX 64-bit
    • Unknown

    Description

      fdb_compact doesn't seem to handle the case where there is a manually-compacted database with a numeric suffix (which can happen if the database is not properly closed after compaction.)

      Steps to reproduce, as summarized by Sundar in email:

      • Compact "fileA" in place with NULL as new filename (creates numeric suffix "fileA.1")
      • Exit the application without calling fdb_close()
      • Directly call fdb_destroy("fileA")

      Result:

      • "fileA.1" is still present in the system.

      Expected Result:

      • "fileA.1" is deleted

      Attachments

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

        Activity

          People

            tai.tran Tai Tran (Inactive)
            jens Jens Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty