Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
1.8.1-release-candidate
-
Security Level: Public
-
None
Description
As part of fixing MB-5052 it's logs revealed that one of vbuckets we previously built using new code did not actually have closed checkpoint. So replica wasn't in fact built.
After discussion with Chiyoung I found that using 'backfill_completed' to find out when replica is mostly up-to-date is not correct. This stat becomes true when backfill is done, but there's also next message that opens next checkpoint. And we should be waiting for it instead. But we also found there are no producer-side stats we can use.
So we decided I'll have to additionally poll destinations for actually closed checkpoints on them before I'll stop replication building.