summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2019-04-24 12:05:01 -0400
committerNick Vatamaniuc <nickva@users.noreply.github.com>2019-04-24 14:38:47 -0400
commit85617a77b1b5444568d4ed9549a39cf406729c88 (patch)
tree13c3bb5e1c20a954a658aafbc54662b57ea7a38d
parent3a54280670704c96f8628eb7cfe926f6f2e414e0 (diff)
downloadcouchdb-85617a77b1b5444568d4ed9549a39cf406729c88.tar.gz
Increase max number of resharding jobs
Also make it divisible by default Q and N
-rw-r--r--src/mem3/src/mem3_reshard.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem3/src/mem3_reshard.erl b/src/mem3/src/mem3_reshard.erl
index 87aee6852..620b1bc73 100644
--- a/src/mem3/src/mem3_reshard.erl
+++ b/src/mem3/src/mem3_reshard.erl
@@ -56,7 +56,7 @@
-define(JOB_ID_VERSION, 1).
-define(JOB_STATE_VERSION, 1).
--define(DEFAULT_MAX_JOBS, 25).
+-define(DEFAULT_MAX_JOBS, 48).
-define(DEFAULT_MAX_HISTORY, 20).
-define(JOB_PREFIX, <<"reshard-job-">>).
-define(STATE_PREFIX, <<"reshard-state-">>).