Actions
Bug #14227
closedMemStore: result of collection_empty method overflowed
Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
bool MemStore::collection_empty(coll_t cid)
{
dout(10) << func << " " << cid << dendl;
CollectionRef c = get_collection(cid);
if (!c)
return ENOENT;// overflowed>lock);
RWLock::RLocker l(c
return c->object_map.empty();
}
Shall cast to false instead.
Actions