You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2019/04/24 16:15:19 UTC

[couchdb] 01/01: Increase max number of resharding jobs

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch increase_resharding_max_jobs
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 955e13b39c4f50d5d7244847b72f3211f08291f9
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Wed Apr 24 12:05:01 2019 -0400

    Increase max number of resharding jobs
    
    Also make it divisible by default Q and N
---
 src/mem3/src/mem3_reshard.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mem3/src/mem3_reshard.erl b/src/mem3/src/mem3_reshard.erl
index 87aee68..620b1bc 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-">>).