Set Session to "kCommitting" before logging the commitTransaction oplog entry

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently change the state here: https://github.com/mongodb/mongo/blob/05e9267ef41f99cf61cdf1e745810580846e567f/src/mongo/db/session.cpp#L972 but it probably should be set right after entering _commitTransaction.

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: