Project

General

Profile

Bug #14176

KeyValueStore: wrongly placed dump_open_fds() logic

Added by xie xingguo about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/24/2015
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Check KeyValueStore::_do_transaction:
assert(0 "unexpected error");

if (r  -EMFILE) {
dump_open_fds(g_ceph_context);
}

It will never to able to dump opened fds when an EMFILE error is encountered.

Associated revisions

Revision 9fe0ddef (diff)
Added by xie xingguo about 3 years ago

os:fix wrongly placed assert

At present it will not be able to dump the current opened fds when an EMFILE error has encountered.

Fixes: #14176
Signed-off-by: xie xingguo <>

Also available in: Atom PDF