osd/PGBackend: delete reply if fails to complete delete request #17183
Aug 24, 2017
I think it needs to be reply->put()?
-26> 2017-08-24 20:11:16.642534 7f05b4958700 -1 /build/ceph-12.1.4-136-g8ac866b/src/common/RefCountedObj.h: In function 'virtual RefCountedObject::~RefCountedObject()' thread 7f05b4958700 time 2017-08-24 20:11:16.637036 /build/ceph-12.1.4-136-g8ac866b/src/common/RefCountedObj.h: 33: FAILED assert(nref == 0) ceph version 12.1.4-136-g8ac866b (8ac866b55dab9db74abbc68b7f223cd6ad90c45e) luminous (rc) 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x10e) [0x7f05cb11a4de] 2: (()+0x40635c) [0x7f05caae235c] 3: (()+0x52e5da) [0x7f05cac0a5da] 4: (MOSDPGRecoveryDeleteReply::~MOSDPGRecoveryDeleteReply()+0x38) [0x7f05cadb61a8] 5: (FunctionContext::finish(int)+0x1a) [0x7f05cac0c4ca] 6: (Context::complete(int)+0x9) [0x7f05cabf7709] 7: (C_GatherBase::sub_finish(Context*, int)+0xf7) [0x7f05cadaa777] 8: (C_GatherBase::C_GatherSub::finish(int)+0x12) [0x7f05cadaa962] 9: (C_GatherBase::C_GatherSub::complete(int)+0x9) [0x7f05cad70e19] 10: (()+0x61f6f4) [0x7f05cacfb6f4] 11: (FunctionContext::finish(int)+0x1a) [0x7f05cac0c4ca] 12: (Context::complete(int)+0x9) [0x7f05cabf7709] 13: (std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()+0x39) [0x7f05cab8c989] 14: (ContainerContext >::~ContainerContext()+0x20) [0x7f05caca0e80] 15: (Finisher::finisher_thread_entry()+0x188) [0x7f05cb117e88] 16: (()+0x8184) [0x7f05c8bda184] 17: (clone()+0x6d) [0x7f05c7ccabed] NOTE: a copy of the executable, or `objdump -rdS ` is needed to interpret this.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.