In LoadBalancer: * Make the "chronologyCallback" return the DBPrimaryPos and make loadSessionPrimaryPos() set the "waitForPos" more directly by calling setSessionPrimaryPosIfHigher(). Previously, it relied on the callback calling waitFor() to set the position as a side effect. * Remove redundant debug log entry in loadSessionPrimaryPos(). * Use type hints for waitFor()/waitForAll(). All callers already check this for before invocation. * Mark getReplicaResumePos() as @internal. In ChronologyProtector: * Update applySessionReplicationPosition() to return the position. * Rename applySessionReplicationPosition() to yieldSessionPrimaryPos() and stageSessionReplicationPosition() to stageSessionPrimaryPos() for for consistency LoadBalancer/DBPrimaryPos. Bug: T314434 Change-Id: I32aa784b424e7534047c9240e32fa5e0a2ac90b0 |
||
|---|---|---|
| .. | ||
| connectionmanager | ||
| database | ||
| platform | ||
| querybuilder | ||
| resultwrapper | ||
| AddQuoterMock.php | ||
| ChronologyProtectorTest.php | ||
| SQLPlatformTestHelper.php | ||
| TransactionProfilerTest.php | ||