Skip to content

Conversation

@SzyWilliam
Copy link
Member

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SzyWilliam , thanks a lot for working on this! Just two minor comments inlined.

setInt(properties::setInt, STAGING_CATCHUP_GAP_KEY, stagingCatchupGap);
}

String BOOTSTRAP_TIMEOUT_KEY = PREFIX + ".bootstrap.timeout";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we already have staging.catchup.gap, how about calling it staging.timeout? It was unfortunate that we already used staging instead of bootstrap.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem, let's use staging.timeout for consistency.

|:----------------|:------------------------------------|
| **Description** | timeout of bootstrapping a new peer |
| **Type** | TimeDuration |
| **Default** | 3 times of timeoutMax |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the doc! Let's use the full name raft.server.rpc.timeout.max.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@SzyWilliam
Copy link
Member Author

@szetszwo Thanks for reviewing on this! Made changes on code, PTAL.

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@szetszwo szetszwo merged commit 5e6cc9d into apache:master Jan 3, 2025
13 checks passed
SzyWilliam added a commit to SzyWilliam/ratis that referenced this pull request Jan 9, 2025
szetszwo pushed a commit to szetszwo/ratis that referenced this pull request May 23, 2025
szetszwo pushed a commit to szetszwo/ratis that referenced this pull request May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants