summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-08-29 16:47:58 -0700
committerDavid Zafman <david.zafman@inktank.com>2013-09-23 13:11:31 -0700
commit7b7e004611770080fcd3d5164380c23b48e28a1c (patch)
treed707c2a91da903b36b18012ee975e105c0e73101
parent8407669e42116ebf6eda1616d6641ecb60c0ec0e (diff)
downloadceph-7b7e004611770080fcd3d5164380c23b48e28a1c.tar.gz
os: Prior version bump should have updated this
Version available as argument, so use instead of constant Caused by dab238b0fb76b76a8843f4e59319b0f0e4f966a2 Signed-off-by: David Zafman <david.zafman@inktank.com>
-rw-r--r--src/os/IndexManager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/IndexManager.cc b/src/os/IndexManager.cc
index 412721a04c8..83bbfc9703e 100644
--- a/src/os/IndexManager.cc
+++ b/src/os/IndexManager.cc
@@ -75,7 +75,7 @@ int IndexManager::init_index(coll_t c, const char *path, uint32_t version) {
return r;
HashIndex index(c, path, g_conf->filestore_merge_threshold,
g_conf->filestore_split_multiple,
- CollectionIndex::HASH_INDEX_TAG_2,
+ version,
g_conf->filestore_index_retry_probability);
return index.init();
}