Minor note: this assertion should probably be changed to only check for `bg_compaction_scheduled_` as the other condition that makes `IsCompactScheduled` true is a non-NULL `imm`, but `imm` compaction isn't handled by `BackgroundCall` anymore.