mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
PG::remove_snap_mapped_object: use pg_whoami.shard
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
fd9da00edc
commit
0e7b10ac9b
@ -303,7 +303,9 @@ bool PG::proc_replica_info(int from, const pg_info_t &oinfo)
|
||||
void PG::remove_snap_mapped_object(
|
||||
ObjectStore::Transaction &t, const hobject_t &soid)
|
||||
{
|
||||
t.remove(coll, soid);
|
||||
t.remove(
|
||||
coll,
|
||||
ghobject_t(soid, ghobject_t::NO_GEN, pg_whoami.shard));
|
||||
clear_object_snap_mapping(&t, soid);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user