This zeros the log, and the bounds, when we start pg removal. Previously
we just removed the log and didn't write the (empty) bounds, breaking
cosd startup later when the old bounds are totally wrong.
Signed-off-by: Sage Weil <sage@newdream.net>
{
ObjectStore::Transaction *t = new ObjectStore::Transaction;
pg->write_info(*t);
- t->remove(meta_coll, pg->log_oid);
+ pg->write_log(*t);
int tr = store->queue_transaction(&pg->osr, t);
assert(tr == 0);
}