Bug #13468
closed
osd/ReplicatedPG.cc: 9128: FAILED assert(info.last_complete == info.last_update)
Added by Guang Yang over 8 years ago.
Updated about 7 years ago.
Description
This mainly happened when we marked some unfound objects lost, restarts helps.
I will update with more details after analyze the logs.
- Priority changed from Normal to High
While I don't have verbose logs when the crash happened, I have the core dump, which shows:
(gdb) p pg_log.missing
$2 = {missing = std::map with 0 elements, rmissing = std::map with 0 elements}
So we are pretty sure that the hobject_t passed to recover_got was not in the missing map (or else info.last_complete would be set to info.last_update). My guess is that it is removed from the pg_log.missing as part of the local filestore apply. That also explains why restart helps for this case.
- Status changed from New to Fix Under Review
- Status changed from Fix Under Review to 7
- Status changed from 7 to 17
- Status changed from 17 to Can't reproduce
this code was rewritten; assuming it's fixed.
Also available in: Atom
PDF