Skip to content

Instantly share code, notes, and snippets.

View amathuria's full-sized avatar

Aishwarya Mathuria amathuria

  • Bangalore
View GitHub Profile
@amathuria
amathuria / classical_pg.cc
Last active August 20, 2025 03:38
scrub error post splitting - inconsistent obj
void PG::on_scrub_schedule_input_change()
{
if (is_active() && is_primary() && !is_scrub_queued_or_active()) {
dout(10) << fmt::format("{}: active/primary", __func__) << dendl;
ceph_assert(m_scrubber);
m_scrubber->update_scrub_job();
} else {
dout(10) << fmt::format(
"{}: inactive, non-primary - or already scrubbing",
__func__)