-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
This command will be used by transaction coordinator to tell shards to write endOfTransaction no-op oplog entry.
It should accept:
1. Transaction information (lsid, txnNumber, retryCounter)
2. List of affected namespaces with shard versions.
It should:
- Check for each affected namespace that this shard has at least one chunk for this namespace.
- Return stale error if it is not true
- Return ok and write end-of-transaction oplog entry if true.
Optionally, we can do checks independently for each namespaces, so if shard has only some namespaces, it can return to the caller the list of "accepted" namespaces and "rejected" namespaces. This will introduce some complexity, but may potentially lower the number of retries in volatile environment
- is depended on by
-
SERVER-78273 Write endOfTransaction oplog entries to remote shards from transaction coordinator
- Backlog