Disallow mixing tenantIds within transactions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A transaction should result from a single session with a single tenant.  Currently, we don't perform any enforcement at the oplog entry level to prevent mixing tenantIds in a transaction.  Enforcing this would mean that the top-level tenantId in the oplog entry should also match the tenantIds in all operations in the applyOps array.  However, this is also used as a method of testing for tenantIds in transactions in unit tests, which will need to be modified to either detect this or accommodate this.

              Assignee:
              [DO NOT USE] Backlog - Service Architecture
              Reporter:
              Hugh Tong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: