mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
osd/PG: explicitly clear num_objects_missing when approximate
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
ab241bf7e9
commit
90eda153f3
@ -1914,6 +1914,7 @@ void PG::activate(ObjectStore::Transaction& t,
|
||||
dout(10) << "activate - no missing, moving last_complete " << info.last_complete
|
||||
<< " -> " << info.last_update << dendl;
|
||||
info.last_complete = info.last_update;
|
||||
info.stats.stats.sum.num_objects_missing = 0;
|
||||
pg_log.reset_recovery_pointers();
|
||||
} else {
|
||||
dout(10) << "activate - not complete, " << missing << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user