Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
6.6.1
-
Triaged
-
1
-
Yes
Description
The memOverheadChangedCallback accesses the VBucket state.
During VBucket destruction the callback is triggered when destroying the CheckpointManager as this in turn destroys Checkpoint s, reducing overhead. The state is no longer valid at this point.
First seen in CV from merging patches introducing the memOverheadChangedCallback forward to master. Not previously identified on mad-hatter, possibly as a result of mad-hatter CV using an older clang.
Attachments
Issue Links
- relates to
-
MB-42986 Intermittent TSan issue: heap-use-after-free ../kv_engine/engines/ep/src/ephemeral_bucket.cc:301 in operator() (3.3%)
-
- Closed
-
For Gerrit Dashboard: MB-43028 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
141020,9 | Merge branch 'couchbase/mad-hatter' into master | master | kv_engine | Status: MERGED | +2 | +1 |
141490,1 | MB-43028: Reset memOverheadChangedCallback before VBucket destruction | master | kv_engine | Status: ABANDONED | -1 | -1 |
141492,3 | MB-43028: [1/2] Make overhead tracking safe at VBucket destruction | mad-hatter | kv_engine | Status: MERGED | +2 | +1 |
141493,3 | MB-43028: [2/2] Make overhead tracking safe at VBucket destruction | mad-hatter | kv_engine | Status: MERGED | +2 | +1 |
141498,2 | MB-43028: [1/2] Make overhead tracking safe at VBucket destruction | master | kv_engine | Status: MERGED | +2 | +1 |
142432,1 | Merge branch 'mad-hatter' into master | master | kv_engine | Status: MERGED | +2 | +1 |
Build couchbase-server-6.6.1-9210 contains kv_engine commit d169730 with commit message:
MB-43028: [2/2] Make overhead tracking safe at VBucket destruction