Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-760

Additional note for doc "Perform Two Phase Commits"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      The "transaction" implemented in the doc is not isolated. The committing is a group of atomic operations, so is the rollback. So all the inconsistent inner states are visible to other applications.

      What this implementation achieved is eventual consistency of multi documents update, but definitely not ACID.

      Since other applications can touch those documents while this transaction is committing and rollbacking, for fully reversible (rollback), this implementation can only support $inc operator. Because other atomic operators ($set, $pull ...) are not reversible without exclusive lock for write.

      Reporter: Chunpeng Huo
      E-mail: huochunpeng@gmail.com

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 13 weeks, 6 days ago