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

Ability to pause/resume indexing with FTS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Mad-Hatter
    • Fix Version/s: Mad-Hatter
    • Component/s: fts
    • Labels:
      None

      Description

      Ref: https://forums.couchbase.com/t/pause-fts-temporarily/21824

      There's some documentation on it here: https://docs.couchbase.com/server/current/rest-api/rest-fts-indexing.html#index-management

       

      POST /api/index/{indexName}/ingestControl/{op}

      Pause index updates and maintenance (no more ingesting document mutations).
      Permission Required: cluster.bucket[bucket_name].fts!manage
      Role Required: FTS-Admin
      Parameters

      • indexName: required, string, URL path parameter
        The name of the index whose control values will be modified.
      • op: required, string, URL path parameter
        Allowed values for op are "pause" or "resume".

       

      POST /api/index/{indexName}/planFreezeControl/{op}

      Freeze the assignment of index partitions to nodes.
      Permission Required: cluster.bucket[bucket_name].fts!manage
      Role Required: FTS-Admin
      Parameters

      • indexName: required, string, URL path parameter
        The name of the index whose control values will be modified.
      • op: required, string, URL path parameter
        Allowed values for op are "freeze" or "unfreeze".

       

      The above endpoints don't seem to work as advertised however. 

      The expectation should be that it kills the DCP connections of the index on "pause" and upon "resume" the DCP connection are setup again to pick up things where they were last left.

        Attachments

          Issue Links

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

            Activity

            Hide
            Sreekanth Sivasankaran Sreekanth Sivasankaran added a comment -

            This is tracked over here - MB-34586.

            Show
            Sreekanth Sivasankaran Sreekanth Sivasankaran added a comment - This is tracked over here -  MB-34586 .
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.5.0-3546 contains eventing commit b7416ec with commit message:
            MB-34391 MB-34577: Remove race conditions in handling rebalance

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-3546 contains eventing commit b7416ec with commit message: MB-34391 MB-34577 : Remove race conditions in handling rebalance
            Hide
            girish.benakappa Girish Benakappa added a comment -

            This will be verified with "MB-34586"

            Show
            girish.benakappa Girish Benakappa added a comment - This will be verified with " MB-34586 "

              People

              • Assignee:
                Sreekanth Sivasankaran Sreekanth Sivasankaran
                Reporter:
                abhinav Abhinav Dangeti
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.