Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.6.2, Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
Whenever there is a change in poolsStreaming endpoint, indexer currently queries bucket.uri endpoint to fetch list of all buckets. This is not necessary and the buckets.uri endpoint can be queried only when there is a change in the version hash provided with the poolsStreaming endpoint.
Sample bucket.uri endpoint: buckets?v=108371236&uuid=242e131dd148b2264e79aad3dbb5794f
The version hash (108371236) will change only when there is a change in bucket UUID/node status/bucket list change. So, for most cases, indexer need to refresh its bucket cache.
Only exception is KV_Sender. During rebalance, kv_sender requires latest vbucket map. The change to vbucket map does not trigger a pool change notification. So, KV sender should fetch the bucket map from the corresponding terstBucketBase endpoint instead of relying on cluster info cache.
Attachments
Issue Links
- is a backport of
-
MB-43884 Cluster info cache refresh optimisations - Query buckets.uri endpoint only on a change in version hash
- Closed