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
- duplicates
-
MB-34586 Index Management Rest endpoints are non functional
- Closed
For Gerrit Dashboard: MB-34577 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
110707,4 | MB-34391 MB-34577: Remove race conditions in handling rebalance in eventing. Essentially, set isRebalanceOngoign to true synchronously and unset it asynchronosly in consumer. Hold rebalance till vb re-distribution is completed as it was the intent from the beginning | unstable | eventing | Status: MERGED | +2 | +1 |