mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
osd: note down the number of missing clones
Caused by 2e0bb0ae94
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
b2f2e6c84e
commit
1536cb0208
@ -12190,7 +12190,7 @@ void ReplicatedPG::_scrub(
|
||||
boost::optional<hobject_t> head;
|
||||
boost::optional<SnapSet> snapset; // If initialized so will head (above)
|
||||
vector<snapid_t>::reverse_iterator curclone; // Defined only if snapset initialized
|
||||
bool missing = false;
|
||||
unsigned missing = 0;
|
||||
|
||||
bufferlist last_data;
|
||||
|
||||
@ -12320,7 +12320,7 @@ void ReplicatedPG::_scrub(
|
||||
|
||||
// Set this as a new head object
|
||||
head = soid;
|
||||
missing = false;
|
||||
missing = 0;
|
||||
|
||||
dout(20) << __func__ << " " << mode << " new head " << head << dendl;
|
||||
|
||||
|
@ -181,7 +181,7 @@ function TEST_scrub_snaps() {
|
||||
err_strings[3]="log_channel[(]cluster[)] log [[]ERR[]] : scrub [0-9]*[.]0 [0-9]*/666934a3/obj5/4 on disk size [(]4608[)] does not match object info size [(]512[)] adjusted for ondisk to [(]512[)]"
|
||||
err_strings[4]="log_channel[(]cluster[)] log [[]ERR[]] : scrub [0-9]*[.]0 [0-9]*/666934a3/obj5/head expected clone [0-9]*/666934a3/obj5/2"
|
||||
err_strings[5]="log_channel[(]cluster[)] log [[]ERR[]] : scrub [0-9]*[.]0 [0-9]*/666934a3/obj5/head expected clone [0-9]*/666934a3/obj5/1"
|
||||
err_strings[6]="log_channel[(]cluster[)] log [[]INF[]] : scrub [0-9]*[.]0 [0-9]*/666934a3/obj5/head 1 missing clone[(]s[)]"
|
||||
err_strings[6]="log_channel[(]cluster[)] log [[]INF[]] : scrub [0-9]*[.]0 [0-9]*/666934a3/obj5/head 2 missing clone[(]s[)]"
|
||||
err_strings[7]="log_channel[(]cluster[)] log [[]ERR[]] : scrub [0-9]*[.]0 [0-9]*/d3a9faf5/obj12/head snapset.head_exists=false, but head exists"
|
||||
err_strings[8]="log_channel[(]cluster[)] log [[]ERR[]] : scrub [0-9]*[.]0 [0-9]*/8df7eaa5/obj8/head snaps.seq not set"
|
||||
err_strings[9]="log_channel[(]cluster[)] log [[]ERR[]] : scrub [0-9]*[.]0 [0-9]*/5c889059/obj7/head snapset.head_exists=false, but head exists"
|
||||
|
Loading…
Reference in New Issue
Block a user