Priority: Major - P3
Affects Version/s: None
Fix Version/s: Backlog
A large number of python tests written for durable history and perhaps earlier use a loop that is some variation of this:
The intent of this loop is to force wiredtiger to evict changes on another key/table to trigger history store (or otherwise) functionality. Since
WT-6563 we've now got the ability to evict pages using the new debug api 'release_evict'. As such we should be able to replace the majority of these loops. This will make the test cases more deterministic and substantially faster.
Some but not all of the test cases that can be fixed are:
This ticket will require some work to determine the full set of tests that can be updated to use the new functionality, implement the new functionality and if possible validate that the new test works as expected. If this ticket appears to be too much work then I suggest cataloging the tests to be updated in this ticket, and splitting the work to update them across N tickets.
Note: In some cases the test may be trying to evict the HS page which probably can be done using an evict cursor but will require extra care.