-
Type:
Technical Debt
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Test Python
-
None
-
Storage Engines - Persistence
-
SE Persistence - 2026-03-13
-
2
WiredTigerStat and WiredTigerCursor in test/suite/helper.py have overlapping behavior: both are wrappers that open/close cursors. WiredTigerStat is for statistics, while WiredTigerCursor is generic but also defaults to "statistics:", which duplicates the statistics role.
Possible fixes are: keep both classes but require explicit uri in WiredTigerCursor, keep both and make WiredTigerStat delegate to WiredTigerCursor, or merge them into one cursor helper and update existing call sites.