[SERVER-74149] _rsConfigState should be protected by the RelicationCoordinatorImpl mutex in waitUntilOpTimeForReadUntil Created: 17/Feb/23 Updated: 28/Apr/23 Resolved: 28/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vishnu Kaushik | Assignee: | Vishnu Kaushik |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v6.3, v6.0, v5.0, v4.4, v4.2
|
||||||||||||||||||||
| Sprint: | Repl 2023-02-20, Repl 2023-03-06, Repl 2023-03-20, Repl 2023-04-03, Repl 2023-04-17, Repl 2023-05-01 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 14 | ||||||||||||||||||||
| Description |
|
_rsConfigState should be protected by the RelicationCoordinatorImpl mutex whenever it is accessed, but on this read here it isn't. This can allow it to change while it is being read from. |