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.
Attachments
For Gerrit Dashboard: MB-25897 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83016,3 | MB-25897: ObjectRegistry: decrement numItem when Items are deleted | spock | kv_engine | Status: MERGED | +2 | +1 |
83146,2 | MB-25940: Advance kv_engine in 5.0.0.xml | master | manifest | Status: MERGED | +2 | +1 |
83166,3 | Merge remote-tracking branch 'couchbase/spock' | master | kv_engine | Status: MERGED | +2 | +1 |