public interface HATXSGlue extends Remote
ITransactionService for HA.
|Modifier and Type
|Method and Description
Message used to request information about the earliest commit point that is pinned on a follower.
Message used by the follower to notify the leader about the new release time that will be visible for new transaction starts.
void gatherMinimumVisibleCommitTime(IHAGatherReleaseTimeRequest req) throws IOException
Note: This message is used as part of a pattern where the leader
instructs the followers to message the leader with their earliest commit
point pinned by either a transaction or the minReleaseAge of their
The message is a sync RMI call. The follower will clear an outcome and
execute a task which runs asynchronously and messages back to the leader
IHANotifyReleaseTimeResponse. The leader will report
back the consensus release time. The outcome of these on the follower is
not directly reported back to the leader, e.g., through a remote
Future because this causes a DGC thread leak on the follower. See
the ticket below. Instead, the follower notes the outcome of the gather
operation and will vote "NO" in
HACommitGlue.prepare2Phase(IHA2PhasePrepareMessage) unless it
completes its side of the release time consensus protocol without error
(that is, the otherwise unmonitored outcome of the asynchronous task for
IHANotifyReleaseTimeResponse notifyEarliestCommitTime(IHANotifyReleaseTimeRequest req) throws IOException, InterruptedException, BrokenBarrierException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.