wiki.techinc.nl/tests/phpunit/unit/includes/libs/rdbms
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
..
connectionmanager Inline a few more trivial createMock() calls in tests 2022-08-08 09:50:50 +02:00
database rdbms: remove IDatabase::selectDB() 2023-01-17 02:17:04 +01:00
platform Fix whitespaces after comma 2022-12-15 01:24:14 +01:00
querybuilder rdbms: Allow SubQuery objects in SelectQueryBuilder as table 2022-09-12 09:56:31 +02:00
resultwrapper DBMS-specific ResultWrapper subclasses 2021-07-21 06:54:26 -07:00
AddQuoterMock.php rdbms: Start using SQLPlatform and move more methods there 2022-05-04 18:34:13 +00:00
ChronologyProtectorTest.php rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods 2023-02-09 17:19:36 +00:00
SQLPlatformTestHelper.php rdbms: Move selectSQLText to SQLPlatform 2022-06-02 21:35:04 +02:00
TransactionProfilerTest.php rdbms: improve TransactionProfiler::silenceForScope() 2022-11-15 23:46:58 +00:00