Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
1.7.1
-
Security Level: Public
-
None
Description
Chiyoung found one case of memory leak with append/prepend in the 1.7.x ep-engine code. The scenario is...
If the client app is using CAS with their append/prepend operations, and they have concurrent clients trying to append to the same hot item, then several of the concurrent clients could be "rejected" in that their CAS values are out of date. The rejected CAS-mismatch clients would see a EEXISTS error code if they're binary protocol clients. These requests that have rejected CAS-mismatch will leak the item.
This should also be reproducible with a single client, where any append operations use a bogus CAS number.