Skip to content
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

[fix](env) Set FE type only when transfer success #41647

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

w41ter
Copy link
Contributor

@w41ter w41ter commented Oct 10, 2024

Fix #27881

To avoid the endless waiting state from becoming "ready", transferToNonMaster will return in advance when typeTransferQueue is not empty.

At this time, the actual transfer operation has not been completed. Therefore, directly updating feType will skip the transferToNonMaster step when changing from FOLLOWER to FOLLOWER.

Fix apache#27881

To avoid the endless waiting state from becoming "ready", transferToNonMaster
will return in advance when typeTransferQueue is not empty.

At this time, the actual transfer operation is not completed. Therefore,
directly updating feType will skip the transferToNonMaster step when changing
from FOLLOWER to FOLLOWER.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@w41ter
Copy link
Contributor Author

w41ter commented Oct 10, 2024

run buildall

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Oct 10, 2024
Copy link
Contributor

PR approved by anyone and no changes requested.

@w41ter
Copy link
Contributor Author

w41ter commented Oct 10, 2024

run buildall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.0.x dev/2.1.x dev/3.0.x reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants