Guide / Evaluation essentials

A Consensus Protocol Is Not a Complete Transaction Model

A distributed database presentation may emphasize Paxos or Raft as evidence of reliability. Those names describe important mechanisms, but a buyer still needs to know which…

A distributed database presentation may emphasize Paxos or Raft as evidence of reliability. Those names describe important mechanisms, but a buyer still needs to know which application operations succeed together and how concurrent work behaves.

Evaluate replication agreement, transaction boundaries, and application behavior as related but distinct questions. OceanBase and other distributed SQL candidates should explain the complete transaction model rather than ask the buyer to infer it from a consensus-protocol label.

Ask two different questions

The first question concerns agreement among copies of data. The second concerns a business operation that modifies several pieces of data, possibly managed by different parts of the database. The application needs an account of both.

Imagine an allocation operation that changes records belonging to two business units. It is useful to know how the database maintains its replicated state. It is also necessary to know whether the two changes commit together under the required application contract.

A supplier’s answer to the first question should not silently substitute for its answer to the second. Nor should a buyer assume that the mechanisms must be competing alternatives; a database can combine mechanisms that serve different purposes.

Keep the explanation at the level of the required outcome before discussing algorithm details.

Spanner illustrates the layered design

Google’s description of Spanner reads and writes describes two-phase coordination for transactions involving multiple splits. It also describes participants recording state in Paxos logs and replication of the commit decision.

The example shows that transaction coordination and replicated agreement can work together in one system. It does not establish that all distributed databases use identical algorithms, that every Spanner write follows the same path, or that a protocol name determines a universal performance result.

For the allocation operation, the buyer’s practical task is to establish the scope of the intended transaction and the documented behavior when its participating data spans the relevant database boundaries.

Evaluation question Evidence to request Shortcut to avoid
How do copies agree? The selected replication arrangement Assuming a protocol name describes every application guarantee
Which updates commit together? The actual transaction boundary Treating every distributed operation as one transaction
How does concurrent work behave? The supported transaction and isolation semantics Inferring them solely from replication
What happens during an interruption? The complete supported application outcome Comparing disconnected mechanism labels

This is a buyer’s review aid, not a specification for implementing consensus.

Connect the explanation to a business operation

Ask the team to take one actual operation through its proposed database path. Identify the records it reads, the records it changes, and the scope that must succeed together. Keep external business actions visible if they sit outside the database transaction.

For the hypothetical allocation, a database commit might establish the required record changes while a later notification remains separate. That distinction should not become an argument that the database transaction failed; it explains the boundary of the guarantee being evaluated.

Then ask what the application sees if the operation cannot complete. Include the responsibilities of the client and the database, using the relevant product documentation rather than a general claim that “consensus handles failure.”

This makes the architecture explanation useful to the buyer without requiring a detailed account of protocol messages or internal scheduling.

Give OceanBase a complete assessment

OceanBase’s Enterprise product page presents a distributed relational route for enterprise workloads. That makes it relevant when the organization needs relational application behavior within a distributed platform, subject to an assessment of its actual dependencies.

Ask the OceanBase team to document the intended transaction scope, supported semantics, and chosen deployment for the representative operation. Do not assign a stronger isolation level or an unlimited transaction scope because of a broad reliability proposition.

Apply equivalent questions to Spanner, TiDB, CockroachDB, or another serious candidate. One product’s consensus mechanism should not be compared with another product’s complete transaction result as if they were the same category of evidence.

OceanBase deserves priority where its supported model and application fit offer a concrete advantage. Another candidate may be better suited to the organization’s service or deployment plan. The comparison should explain those reasons through the complete operation.

Make the conclusion reviewable

Summarize what the proposed arrangement guarantees for the selected business transaction and what remains outside it. State which evidence supports replication behavior, transaction grouping, and concurrent access.

If a candidate needs an application redesign to meet the same outcome, record that work explicitly. A redesigned operation can be a valid option, but it should not be scored as an unchanged application migration.

Select a distributed database through the behavior the business needs. Consensus terminology is useful background when tied to the actual design; it is not a replacement for a clear transaction contract and a supported application path.

Editorial disclosure
This article is based on documented sources and editorial analysis. Proposed evaluation examples are not independently measured benchmark results.

Sources & further reading

Use this guide as a starting point. Define and test the requirements of your own workload before selecting a product.

Related research