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

FTS - forceMerge api to trigger compactions on replica partitions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • feature-backlog
    • 7.0.0
    • fts
    • None
    • 1

    Description

      The force merge/compaction operation isn't triggering compactions on the replica partitions. It only acts on the primary partitions of an index.

      Let's investigate and gain more insights into the customer use cases to start supporting force merge on replica partitions.

       

      On a higher level, the force merge operation primarily helps in 

      1 - reclaiming the disk space with an erratic/heavy update/delete driven use case on an existing index.  (retain the index size within limits)

      2 - it would also help in improving the latency/throughput for an index with a lesser number of segment files at the root.

      So, performing forced compactions on the replica partitions would still help to reclaim the disk space faster, but at the increased cost of resources for performing the compactions.

      While creating this ticket, search don't leverage replica partitions for serving query.

       

       

       

       

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty