-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-08-12
-
16
Currently, the stopReplProducerOnDocument failpoint ignores and silently fails the batch of downloaded operations. In most cases, we expect the document that triggers the failpoint should never be applied. However, since we continue to receive responses from the fetcher even when the failpoint is enabled, it is possible that a fetcher response is already in the middle of being processed when we disable the failpoint. This can lead to a document to be applied when we don't expect it to.
In do_not_advance_commit_point_beyond_last_applied_term.js, it is possible that we end up replicating the term 3 document onto node E which we don't expect, this causes node B to sync from node E which our test doesn't account for. We should instead wait for node E to sync from node B before disabling the stopReplProducerOnDocument failpoint.
- is related to
-
SERVER-41081 do_not_advance_commit_point_beyond_last_applied_term.js must wait for Node E to reach stopReplProducerOnDocument failpoint
- Closed