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 |
||
|---|---|---|
| .. | ||
| composer | ||
| DebugInfo | ||
| filebackend | ||
| http | ||
| Message | ||
| Metrics | ||
| mime | ||
| objectcache | ||
| ParamValidator | ||
| rdbms | ||
| stats | ||
| WRStats | ||
| ArrayUtilsTest.php | ||
| CookieTest.php | ||
| DeflateTest.php | ||
| DnsSrvDiscovererTest.php | ||
| GhostFieldAccessTraitTest.php | ||
| HashRingTest.php | ||
| HtmlArmorTest.php | ||
| JsMinPlusTest.php | ||
| MapCacheLRUTest.php | ||
| MemoizedCallableTest.php | ||
| MWCryptHashTest.php | ||
| SamplingStatsdClientTest.php | ||
| StaticArrayWriterTest.php | ||
| StringUtilsTest.php | ||
| TimingTest.php | ||
| XhprofDataTest.php | ||
| XmlTypeCheckTest.php | ||