Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0.0
-
Untriaged
-
Unknown
Description
During investigation of MB-25991, issues were also discovered with the counts of the datatypes in a HashTable. By turning on checks that datatype counters do not underflow, a number of bugs have been found:
- HashTable::unlocked_updateStoredValue - Only updates count if the datatype has changed; however it should also update if the deleted state has changed.
- HashTable::unlocked_addNewStoredValue / unlocked_replaceByCopy / unlocked_softDelete / unlocked_release - Incorrectly updates for deleted items (should only be for non-deleted items).
Attachments
Issue Links
- relates to
-
MB-25991 Negative resident ratio shown when non-resident documents expire
- Closed