[SERVER-35386] Wait for the secondary's majority commit point to advance before pausing batch application in secondary_reads_timestamp_visibility.js Created: 04/Jun/18 Updated: 29/Oct/23 Resolved: 03/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 4.0.0-rc1, 4.1.1 |
| Fix Version/s: | 4.0.2, 4.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Audrey Fang (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, nyc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0
|
||||||||
| Sprint: | Storage NYC 2018-07-02, Storage NYC 2018-07-16 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
The use of ReplSetTest.awaitReplication() in secondary_reads_timestamp_visibility.js should be replaced with ReplSetTest.awaitLastOpCommitted() so that the subsequent majority reads on the secondary are guaranteed to be visible. |
| Comments |
| Comment by Githook User [ 09/Aug/18 ] |
|
Author: {'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com', 'username': 'audreyfang'}Message: (cherry picked from commit e09f62442c68cd55825aaae1a8901a400d7164a6) |
| Comment by Githook User [ 03/Jul/18 ] |
|
Author: {'username': 'audreyfang', 'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com'}Message: |