Details
-
Bug
-
Resolution: Fixed
-
Minor
-
4.6.0, 4.6.1, 4.6.2, 4.6.3, 5.0.0
-
None
-
Untriaged
-
Yes
Description
As identified by Hui Wang, ObjectRegistry::onDeleteItem is incorrectly incrementing the numItem item stat instead of decrementing it.
This bug was introduced in 4.6.0 (change http://review.couchbase.org/#/c/69951/8/src/objectregistry.cc). Note we don't "use" that stat for anything (other than for debug), so this doesn't have any direct end-user impact. However, the incorrect tracking means we cannot tell how many Item objects currently exist.