Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Security Level: Public
-
None
-
CBG Sprint 127
-
1
Description
We need to wait to have channel grant sequences to come over DCP before we backfill a channel on the changes feed.
As it stands one shot replication take the same approach to this situation as continuous feeds. Continuous will skip over this until we receive the sequence in question over dcp so the validFrom seqno (highseqno on cahce) will cover it. This approach is fine for continuous feeds as we expect that there will be a retry of the above after we get the sequence over dcp as the replication in question will continue running. But for oneshot feeds this can cause issues, we can end up sipping backfill on a channel due to bad timing of not receiving the grant sequence over dcp and thus documents in a particular channel could be missed off replication.
Propose a solution where we block on replication to wait for this sequence to come over dcp to finish the replication.
In CBSE-13980 a customer saw this case and are asking for this to be fixed.