Atomic Commit

An atomic commit is an operation in which a set of distinct changes is applied as a single operation. If the changes are applied then the atomic commit is said to have succeeded. If there is a failure before the atomic commit can be completed then all of the changes completed in the atomic commit are reversed. This ensures that the system is always left in a consistent state. The other key property of isolation comes from their nature as atomic operations. Isolation ensures that only one atomic commit is processed at a time. The most common uses of atomic commits are in database systems and revision control systems.

The problem with atomic commits is that they require coordination between multiple systems. As computer networks are unreliable services this means no algorithm can coordinate with all systems as proven in the Two Generals Problem. As databases become more and more distributed this coordination will increase the difficulty of making truly atomic commits.

Read more about Atomic Commit:  Necessity For Atomic Commits, Database System, Revision Control, Atomic Commit Convention

Famous quotes containing the words atomic and/or commit:

    It is now time to stop and to ask ourselves the question which my last commanding officer, Admiral Hyman Rickover, asked me and every other young naval officer who serves or has served in an atomic submarine. For our Nation M for all of us M that question is, “Why not the best?”
    Jimmy Carter (James Earl Carter, Jr.)

    We therefore commit his body to the ground; earth to earth, ashes to ashes, dust to dust; in sure and certain hope of the Resurrection to eternal life.
    Book Of Common Prayer, The. The Burial of the Dead (1662)