WiredTigerOperationStats::toBSON() has an invariant that gets triggered if WiredTiger adds a new session statistic without adding that stat into the storage's slow operation statistics:
for (auto const& stat : _stats) {
// Find the user consumable name for this statistic.
auto statIt = _statNameMap.find(stat.first);
invariant(statIt != _statNameMap.end());
WT-8848 is adding a session statistic that is not going to be a part of slow operation statistics. Remove the invariant and just ignore the statistic that is not part of the _statNameMap.
- is depended on by
-
WT-8848 Add API to roll back and indicate that a transaction has exceeded a configurable limit of pinned dirty data
-
- Closed
-
- related to
-
SERVER-68739 Add WiredTiger session statistic without affecting slow op statistics
-
- Closed
-