Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78273

Write endOfTransaction oplog entries to remote shards from transaction coordinator

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution

      Transaction coordinator should send writeEndOfTransaction commands to some shards to persist no-op oplog endOfTransaction entry.

      The set of shards for it is determined by the list of affected namespaces: for each affected namespaces there should be at least one shard that owns a chunk from this namespaces with endOfTransaction entry.

      This is needed so if a change stream targets this namespace, it will be able to pick up at least one endOfTransaction entry.

      This process should not block transaction from completing and allow next transaction to be started on the session.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: