[SERVER-70219] Use "linearizable" readConcern for spill_to_disk_secondary_read Created: 04/Oct/22 Updated: 29/Oct/23 Resolved: 10/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0, 6.0.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Zixuan Zhuang | Assignee: | Zixuan Zhuang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.0
|
||||||||
| Sprint: | QE 2022-10-17 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 45 | ||||||||
| Description |
|
The data in secondary may not be available immediately after write ack, it need a signal to update its snapshot to reflect the write. The test read from secondary right after writing data to primary using "majority" readConcern, this might read an old snapshot. |
| Comments |
| Comment by Githook User [ 06/Feb/23 ] |
|
Author: {'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}Message: |
| Comment by Zixuan Zhuang [ 10/Oct/22 ] |
|
"linearizable" doesn't work for secondary, used "awaitLastOpCommitted" after inserting into primary. |
| Comment by Githook User [ 06/Oct/22 ] |
|
Author: {'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}Message: |