Skip to content

Commit

Permalink
Rename keyvaluestore_check_backend to keyvaluestore_debug_check_backend
Browse files Browse the repository at this point in the history
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
  • Loading branch information
yuyuyu101 committed Feb 22, 2014
1 parent a52d7cd commit 90ebdcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/config_opts.h
Expand Up @@ -652,7 +652,7 @@ OPTION(journal_force_aio, OPT_BOOL, false)

OPTION(keyvaluestore_queue_max_ops, OPT_INT, 50)
OPTION(keyvaluestore_queue_max_bytes, OPT_INT, 100 << 20)
OPTION(keyvaluestore_check_backend, OPT_BOOL, 0) // Expensive debugging check on sync
OPTION(keyvaluestore_debug_check_backend, OPT_BOOL, 0) // Expensive debugging check on sync
OPTION(keyvaluestore_op_threads, OPT_INT, 2)
OPTION(keyvaluestore_op_thread_timeout, OPT_INT, 60)
OPTION(keyvaluestore_op_thread_suicide_timeout, OPT_INT, 180)
Expand Down
2 changes: 1 addition & 1 deletion src/os/KeyValueStore.cc
Expand Up @@ -864,7 +864,7 @@ int KeyValueStore::mount()
}
stringstream err2;

if (g_conf->keyvaluestore_check_backend && !dbomap->check(err2)) {
if (g_conf->keyvaluestore_debug_check_backend && !dbomap->check(err2)) {
derr << err2.str() << dendl;;
delete dbomap;
ret = -EINVAL;
Expand Down

0 comments on commit 90ebdcc

Please sign in to comment.