-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
v3.6
-
Repl 2018-06-04
-
65
SERVER-34895 made it so that the stable timestamp would never advance ahead of the all committed timestamp, so that single node primaries never storage-commit a wiredTiger transaction behind the stable timestamp.
Consider 3 operations in flight on a single node replica set, at ts 1, 2, and 3. If 1 commits first, the all committed timestamp and lastApplied and stable timestamp will all be set to 1. If 3 commits next, then the lastApplied will be set to 3, but the all committed timestamp will still be at 1, keeping the stable timestamp at 1. When 2 commits, the all committed timestamp will advance to 3, but the lastApplied will not advance, and so the stable timestamp will not advance either.
This will lead to majority writes not committing until another write comes in.
- causes
-
SERVER-50443 When j:false, performance degradation from 4.0 to 4.2 for 1-node replica sets
- Closed
- is caused by
-
SERVER-34895 Stable timestamp can be set to timestamp not in oplog
- Closed
- is related to
-
SERVER-35154 Exceptions that escape a ScopedThread should fail the test
- Closed