-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
StorEng - Refinement Pipeline
When WT-9670 gets merged, it adds a new event handler that allows the user to access statistics while wiredtiger_open is still running (particularly recovery/RTS) as well as during close. While wiredtiger_open is still running, any session opened via conn->open_session will be severely restricted in the APIs it can call.
Ticket WT-9670 has correct functional code added into test/csuite/timestamp_abort to gather statistics during that time.
This ticket should create or modify some test to use the event handler in an incorrect manner. It should try to call disallowed APIs or open a non-statistics cursor and make sure the proper errors are returned.
The concept is simple but it is not a simple addition to a python test due to the use of the event handler and forking a thread to perform the operations (WiredTiger is not re-entrant - checking that too would be a good idea). So this may need to be a C-suite test or some other mechanism.