wiki.techinc.nl/tests/phpunit/includes/db
Aaron Schulz 8e1bb24eed rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods
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
2023-02-09 17:19:36 +00:00
..
DatabaseTestHelper.php rdbms: Consolidate logger channels into one 2023-01-03 22:46:38 +00:00
LBFactoryTest.php rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods 2023-02-09 17:19:36 +00:00
LoadBalancerTest.php rdbms: Simplify $options argument in commitPrimaryChanges and more 2023-01-25 12:02:27 +01:00