[SERVER-71327] Get rid of using AllowLockAcquisitionOnTimestampedUnitOfWork in change stream pre-images write scenarios Created: 14/Nov/22 Updated: 07/Jul/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Change streams |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Mindaugas Malinauskas | Assignee: | Mindaugas Malinauskas |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | change-streams-w/-mongoq, phase3, replace-atlas-proxy-w-mongoq | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
For multi-tenant and non-multitenant modes, get rid of using AllowLockAcquisitionOnTimestampedUnitOfWork in change stream pre-images write scenarios. In other words, acquire all required write locks before doing any writes to avoid potential deadlocks created by waiting for locks while having generated oplog holes. |