Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
rconfc: increase read lock retry max count (#1232)
Browse files Browse the repository at this point in the history
 For large clusters principal RM may start late,
 so large retry count is needed.

Signed-off-by: Yeshpal Jain <yeshpal.jain@seagate.com>
  • Loading branch information
yeshpal-jain-seagate authored and madhavemuri committed Dec 13, 2021
1 parent 5329969 commit ba2d9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/rconfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2760,7 +2760,7 @@ static void rconfc_version_elect(struct m0_sm_group *grp, struct m0_sm_ast *ast)
static void rconfc_read_lock_complete(struct m0_rm_incoming *in, int32_t rc)
{
enum {
MAX_RETRY_COUNT = 10,
MAX_RETRY_COUNT = 100,
};
struct m0_rconfc *rconfc;
struct rlock_ctx *rlx;
Expand Down

0 comments on commit ba2d9bb

Please sign in to comment.