Skip to content

Conversation

@bharatviswa504
Copy link
Contributor

…info missing.

What changes were proposed in this pull request?

Use when raftconf does not have any peer info, use leader info from InstallSnapshotRequestProto.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-1356

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
Updated test to not pass peer info during raft server star in raftgroup.
Also tested SCM-HA with fix now installSnapshot which happens during setConf is getting correct leaderInfo, previously used to get "".

@bharatviswa504
Copy link
Contributor Author

Fixed CI. Test failing in CI, is passing locally.
Uploading Screen Shot 2021-04-19 at 10.32.50 AM.png…

@bharatviswa504
Copy link
Contributor Author

Opened a new Jira
https://issues.apache.org/jira/browse/RATIS-1359
to fix flaky tests.

As these failures are seen in other PR runs also.
https://github.com/apache/ratis/runs/2329275686#step:5:5

@bshashikant
Copy link
Contributor

The test failures are not related and will be addressed in a new PR. Merging this as this is required for SCM HA in apache/ozone#2155.

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