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

Disallow mixing tenantIds within transactions

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

      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:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: