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

ns_server needs to issue compaction for the shard id (db_file_id) for forestdb storage

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • 5.0.0
    • 5.0.0
    • ns_server

    Description

      EP-engine has forestdb as storage option. Each shard in EP-engine maps to a file in ForestDB. With couchstore, each file mapped to a vbucket, so fragmentation levels of each vbucket was monitored and compaction was issued. In the case of forestdb, fragmentation levels of the shard needs to be monitored and compaction needs to be issued for that.

      In addition, forestdb has 2 compactions modes:

      1. Append-only with full compaction (based on fragmentation %)
      2. Circular block reuse mode with periodic full compaction (not based on fragmentation %)

      When we implement support for forestdb we'll need to decide which compaction mode we support and then adjust the compaction code accordingly. Note that the current plan is to support couchstore or forestdb – so we'll need to keep the old code around anyway.

      Attachments

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

        Activity

          People

            dfinlay Dave Finlay
            sriram Sriram Ganesan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty