SERVER-92716ClosedFixed

Remove dependency between the WiredTigerStats struct and WiredTiger statistics themselves.

A recent change went through, performance motivated, to make retrieving and storing WiredTiger statistic more efficient. This coupled strongly with the WiredTiger code which meant any WiredTiger session statistic changes would cause assertions to fire. The goal of this ticket is to partially revert SERVER-86387 to still maintain some of the performance changes but not have a dependency on WiredTiger.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
8.1.0-rc08.0.40
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.