All new fields added to pg stats after quincy RC need to have the decode field bumped up to avoid decoding errors during an upgrade from quincy RC to the quincy stable version
Fixes: https://tracker.ceph.com/issues/53923
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit
3532b78901cc43ceb375da34a681e5a0f8eb53ac)
decode(tmp, bl);
scrub_sched_status.m_is_periodic = tmp;
decode(objects_scrubbed, bl);
- decode(scrub_duration, bl);
}
if (struct_v >= 28) {
+ decode(scrub_duration, bl);
decode(objects_trimmed, bl);
decode(snaptrim_duration, bl);
}