From bec1e50e75a2142ae293afd0e560744420f65e90 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 12 Apr 2012 14:21:35 -0700 Subject: [PATCH] test_idempotent_sequence: remove existing target for collection_add Signed-off-by: Sage Weil --- src/test/filestore_test/DeterministicOpSequence.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/filestore_test/DeterministicOpSequence.cc b/src/test/filestore_test/DeterministicOpSequence.cc index 107a86e611968..d3ff95fad7724 100644 --- a/src/test/filestore_test/DeterministicOpSequence.cc +++ b/src/test/filestore_test/DeterministicOpSequence.cc @@ -432,6 +432,7 @@ void DeterministicOpSequence::_do_coll_add(coll_t orig_coll, coll_t new_coll, { ObjectStore::Transaction t; note_txn(&t); + t.remove(new_coll, obj); t.collection_add(orig_coll, new_coll, obj); m_store->apply_transaction(t); } -- 2.39.5