mirror of
https://github.com/ceph/ceph
synced 2025-01-31 15:32:38 +00:00
PG: set log.backlog to false on corrupt log
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
This commit is contained in:
parent
0afda37812
commit
5503d45017
@ -2469,6 +2469,7 @@ void PG::read_state(ObjectStore *store)
|
||||
// reset info
|
||||
info.log_tail = info.last_update;
|
||||
info.log_backlog = false;
|
||||
log.backlog = false;
|
||||
|
||||
// Move the corrupt log to a new place and create a new zero-length log entry.
|
||||
ObjectStore::Transaction t;
|
||||
|
Loading…
Reference in New Issue
Block a user