Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Distributed transaction: Try-Confirm/Cancel (TC/C)

Sumit Rawal answered on May 21, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • How is distributed transactions handled
  • Avoid Distributed Transactions

  • Distributed transaction: Try-Confirm/Cancel (TC/C)

    0

    TC/C is a type of compensating transaction [7] that has two steps:

    In the first phase, the coordinator asks all databases to reserve resources for the transaction.

    In the second phase, the coordinator collects replies from all databases:

    If all databases reply with “yes”, the coordinator asks all databases to confirm the operation, which is the Try-Confirm process.

    If any database replies with “no”, the coordinator asks all databases to cancel the operation, which is the Try-Cancel process.

    It’s important to note that the two phases in 2PC are wrapped in the same transaction, but in TC/C each phase is a separate transaction. 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 21 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.