]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
RadosModel: RollBack dirties the object
authorSamuel Just <sam.just@inktank.com>
Wed, 15 Jan 2014 19:17:57 +0000 (11:17 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 22 Jan 2014 22:39:18 +0000 (14:39 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/test/osd/RadosModel.h

index c3cc84040f9ef341923a279702284f7b22bd15b4..44fa4afcd2f10be27133f7af4835713ee10bf060 100644 (file)
@@ -465,6 +465,7 @@ public:
     assert(!get_watch_context(oid));
     ObjectDesc contents;
     find_object(oid, &contents, snap);
+    contents.dirty = true;
     pool_obj_cont.rbegin()->second.erase(oid);
     pool_obj_cont.rbegin()->second.insert(pair<string,ObjectDesc>(oid, contents));
   }