Skip to content

Protocol for Partition

hengxin(Hengfeng Wei) edited this page Jun 2, 2016 · 2 revisions

Protocol for Partition

Protocol for partition deals with distributed transactions among master sites across clusters.

Roles

Globally (for all distributed transactions)

Globally, there is a TimeOracle service. This is mainly (totally???) for k3-SV which involves multiple data items that may have different masters.

Unfortunately, the TimeOracle service causes a performance bottleneck.

Possible ways to eliminate TimeOracle:

  • Introduce EntityGroup and constrain k3-SV in a single entity group.
  • Define new specification for k3-SV. For example, causal-SV??? => Processor transactional consistency model?

Locally (for each distributed transaction)

Distributed transactions among masters commit by running the 2PC protocol.

  • Coordinator
    • One of the masters as the proxy.
  • Participants
    • All masters.

The 2PC Protocol

Clone this wiki locally