mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
ceph_test_rados: fix update_object_full
Update at current snap, not the last snap we did an update.
Broken this this was introduced in 996af2d8fd
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
97c56ef3ec
commit
eec315f248
@ -403,8 +403,8 @@ public:
|
||||
|
||||
void update_object_full(const string &oid, const ObjectDesc &contents)
|
||||
{
|
||||
pool_obj_cont.rbegin()->second.erase(oid);
|
||||
pool_obj_cont.rbegin()->second.insert(pair<string,ObjectDesc>(oid, contents));
|
||||
pool_obj_cont[current_snap].erase(oid);
|
||||
pool_obj_cont[current_snap].insert(pair<string,ObjectDesc>(oid, contents));
|
||||
}
|
||||
|
||||
void update_object_version(const string &oid, uint64_t version)
|
||||
|
Loading…
Reference in New Issue
Block a user