num_rollbacks_to_zero stats is not changing when flushing the bucket,
2021-07-27T23:11:44.081-07:00 [Info] Indexer::startKeyspaceIdStream Success Stream MAINT_STREAM KeyspaceId beer-sample Cid SessionId 2
|
2021-07-27T23:11:44.081-07:00 [Info] Indexer::handleRecoveryDone StreamId MAINT_STREAM KeyspaceId beer-sample SessionId 2
|
2021-07-27T23:11:44.081-07:00 [Info] Timekeeper::handleRecoveryDone StreamId MAINT_STREAM KeyspaceId beer-sample
|
2021-07-27T23:11:44.081-07:00 [Info] Timekeeper::resetWaitForRecovery Stream MAINT_STREAM KeyspaceId beer-sample
|
2021-07-27T23:11:44.081-07:00 [Info] Timekeeper::handleRecoveryDone MAINT_STREAM beer-sample. Received nil mergeTs. Considering it as rollback to 0
|
2021-07-27T23:11:44.081-07:00 [Info] Timekeeper::handleRecoveryDone Call RepairStream to check for vbucket for repair. StreamId MAINT_STREAM keyspaceId beer-sample
|
2021-07-27T23:11:44.081-07:00 [Info] Timekeeper::handleRecoveryDone Call RepairMissingStreamBegin to check for vbucket for repair. StreamId MAINT_STREAM keyspaceId beer-sample
|
|
|
lfc@Hemants-MacBook-Pro testrunner % curl -X GET -u 'Administrator:password' 'http://10.112.190.101:9102/stats' 2>/dev/null | jq | grep num_rollbacks
|
"MAINT_STREAM:beer-sample:num_rollbacks": 0,
|
"MAINT_STREAM:beer-sample:num_rollbacks_to_zero": 0,
|
Build couchbase-server-7.0.1-5988 contains indexing commit c77b174 with commit message:
MB-47631Do not remove keyspace stats during recovery