wiki.techinc.nl/tests/phpunit/includes/db
Aaron Schulz b69c1839d4 rdbms: clear replica snapshots in (begin|commit|rollback)PrimaryChanges()
Automatically perform the empty-transaction commit logic in methods
like beginPrimaryChanges() and commitPrimaryChanges(). This avoids
the proliferation of callers having to call the same set of methods
one after another for non-obvious reasons. It also discourages code
from making brittle assumptions that might fail for setups where
there is only a primary or the primary has non-zero read load.

Deprecate flushReplicaSnapshots() and remove callers.

Clarify the related method documentation.

Bug: T315664
Change-Id: I255afd22ffcaeac0fad2d4e4a2a0c55c99be7905
2024-10-09 20:34:25 +00:00
..
DatabaseTestHelper.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
LBFactoryTest.php rdbms: clear replica snapshots in (begin|commit|rollback)PrimaryChanges() 2024-10-09 20:34:25 +00:00
LoadBalancerTest.php Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00