Obstacles to DB

HideShow resource information

2 Phase Commit

Phase 1

  • GC asks cohort if statement OK
  • Cohort reply Y/N

Phase 2

  • If all sites are yes
    • GC sends COMMIT to all sites
    • Cohorts commit, release datalocks, reply with acknowledgement
    • GC completes transaction
  • If a site says no
    • GC sends ROLLBACK message

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Distributed Databases resources »