From 96a4cec203edadc31c1f31903f432a5e56307f6f Mon Sep 17 00:00:00 2001 From: Shu-Ting Tseng Date: Fri, 21 Sep 2018 06:21:18 -0700 Subject: [PATCH] replace testing database with xdb.mononoke_production Summary: This is mainly generated by ``` fbgs mononoke_test_2 -l -s | xargs sed -i 's/mononoke_test_2/mononoke_production/g' ``` mononoke config repo is still pending todo. But it's ok to do it in several run as right now 2 names are pointing to the same shard. Reviewed By: StanislavGlebik Differential Revision: D9939694 fbshipit-source-id: ded772037844a220b18d99b207c976b88dafdaa5 --- cmdlib/src/args.rs | 2 +- cmds/runhook.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdlib/src/args.rs b/cmdlib/src/args.rs index 5a454dc422..0eaa37ecb9 100644 --- a/cmdlib/src/args.rs +++ b/cmdlib/src/args.rs @@ -137,7 +137,7 @@ impl MononokeApp { Arg::with_name("db-address") .long("db-address") .value_name("ADDRESS") - .default_value("xdb.mononoke_test_2") + .default_value("xdb.mononoke_production") .help("database address"), ) .args(&cache_args); diff --git a/cmds/runhook.rs b/cmds/runhook.rs index 545c68b9a9..5c4e36ab35 100644 --- a/cmds/runhook.rs +++ b/cmds/runhook.rs @@ -152,7 +152,7 @@ fn create_blobrepo(logger: &Logger, matches: &ArgMatches) -> BlobRepo { let prefix = matches.value_of("manifold-prefix").unwrap_or(""); let xdb_tier = matches .value_of("xdb-tier") - .unwrap_or("xdb.mononoke_test_2"); + .unwrap_or("xdb.mononoke_production"); BlobRepo::new_manifold( logger.clone(), &ManifoldArgs {