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

Ban direct writes to transaction table in replset

    • Sharding 2018-12-31, Sharding 2019-01-14, Sharding 2019-01-28, Sharding 2019-02-11, Sharding 2019-02-25, Sharding 2019-03-11, Sharding 2019-03-25, Sharding 2019-04-08

      We support the direct writes to transaction table, "config.transactions", to provide the maintenance ability to Support team. However, transactions use the transaction table for persistency as well. Changing its content arbitrarily may corrupt the data on the node and across the cluster. Thus we should ban direct writes to the transaction table in a replset. There's no restriction for writes to "config.transactions" in standalone mode. Support team can still restart the node in standalone mode, fix its content and restart as a replica, whenever that's necessary.

      This work should also remove the session invalidation in OpObserver for direct writes on transaction table.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: