Enforce w:1 for creation of transactions table on step-up

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.0-rc4, 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Repl 2019-07-01, Repl 2019-07-15
    • 9
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We create the transactions table on step-up via a DBDirectClient call. That will inherit the default writeConcern, which is a problem if the user changed it from w:1. In that case, the call will wait on that WC immediately, while also holding locks (particularly the RSTL in mode X, from the step-up hook). We do not want to do this, as that can block other processes, including servicing find commands for replication.
      We should instead create the transactions table via the storage interface, as that will give us w:1 in all cases.

            Assignee:
            Jason Chan
            Reporter:
            Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: