Improve error code for checking lastCommittedOpTime in TransactionParticipant

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we throw InvalidOptions when checking the lastCommittedOpTime for a commitTransaction command. While this isn't necessarily a bug for proper usage of two phase commit (since we ignore this error and auto retry in the transaction coordinator), in testing it is possible that we run a commitTransaction before the lastCommittedOpTime has been recovered (BF-25428). This ticket is to track/discuss whether or not the error code should instead be a retryable one. 

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: