[SERVER-62337] Request dbCheck snapshot after obtaining the collection lock Created: 04/Jan/22 Updated: 21/Jun/23 Resolved: 21/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Josef Ahmad | Assignee: | Backlog - Replication Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | pm-855-wont-do | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Replication
|
||||
| Participants: | |||||
| Linked BF Score: | 38 | ||||
| Description |
|
dbCheck sets the timestamp read source then it obtains the collection lock.
Consider setting the timestamp read source after obtaining the collection lock, so as to avoid reading from an unnecessarily old snapshot in case of significant lock contention. |