-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Region Migration] Ignore exception when region migration considering unknown nodes. #14433
Conversation
@@ -407,6 +407,8 @@ public void removeRemotePeer(ConsensusGroupId groupId, Peer peer) throws Consens | |||
LOGGER.info("[{}] wait {} to release all resource...", CLASS_NAME, peer); | |||
impl.waitReleaseAllRegionRelatedResource(peer); | |||
} catch (ConsensusGroupModifyPeerException e) { | |||
LOGGER.error( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, why does remove this error log? if is a undeal exception, we can print warn.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use warn log is better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wangchao316 @OneSizeFitsQuorum thanks for advise! I will fix it in #14455, since this pr is deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to reconsider availability
@@ -407,6 +407,8 @@ public void removeRemotePeer(ConsensusGroupId groupId, Peer peer) throws Consens | |||
LOGGER.info("[{}] wait {} to release all resource...", CLASS_NAME, peer); | |||
impl.waitReleaseAllRegionRelatedResource(peer); | |||
} catch (ConsensusGroupModifyPeerException e) { | |||
LOGGER.error( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use warn log is better
isFirstCheckForOtherPeers); | ||
try { | ||
isTransmissionCompleted &= | ||
isRemotePeerConsensusPipesTransmissionCompleted( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to add this for waitTargetPeerToPeersTransmissionCompleted
?
refer new pr #14455 |
as title.