Any time a thread acquires the write lock to perform a user operation on a non-local database, it needs to confirm that the node is primary. When WBE::execInserts does periodic yielding, it is not performing this check, leading to potential fatal errors.
WriteBatchExecutor doesn't handle primary demotion when recovering from yield during inserts
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: