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 18:38:53 UTC

[couchdb] branch master updated: Increase max number of resharding jobs

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 85617a7  Increase max number of resharding jobs
85617a7 is described below

commit 85617a77b1b5444568d4ed9549a39cf406729c88
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-">>).