Skip to content

Conversation

@morningman
Copy link
Contributor

Proposed changes

Try to select the BE with an existing replicas as the destination BE for
REPLICA_RELOCATING clone task.
Fix #4147

Also add 2 new FE configs max_clone_task_timeout_sec and min_clone_task_timeout_sec

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have create an issue on Doris's issues, and have described the bug/feature there in detail
  • Compiling and unit tests pass locally with my changes
  • If this change need a document change, I have updated the document
  • Any dependent changes have been merged

@morningman morningman added kind/fix Categorizes issue or PR as related to a bug. area/balance Issues or PRs related to data balance labels Jul 22, 2020
@morningman morningman self-assigned this Jul 22, 2020
kangkaisen
kangkaisen previously approved these changes Jul 23, 2020
Copy link
Contributor

@kangkaisen kangkaisen left a comment

Choose a reason for hiding this comment

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

+1, LGTM

@morningman
Copy link
Contributor Author

Rebase to solve the conflict.

kangkaisen
kangkaisen previously approved these changes Jul 24, 2020
Copy link
Contributor

@kangkaisen kangkaisen left a comment

Choose a reason for hiding this comment

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

+1

@morningman morningman added approved Indicates a PR has been approved by one committer. and removed approved Indicates a PR has been approved by one committer. labels Jul 26, 2020
@morningman
Copy link
Contributor Author

Sorry that this solution still has problem, I will fix it in this PR after testing in our product env.

…ommission BE

Try to select the BE with an existing replicas as the destination BE for
REPLICA_RELOCATING clone task.
// 1. PUSH finished in BE but failed or not yet report to FE
// 2. repair for VERSION_INCOMPLETE finished in BE, but failed or not yet report to FE
replica.updateVersionInfo(backendVersion, backendVersionHash, dataSize, rowCount);
replica.setBad(false);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For reviewer:
In the original design logic, when the status of a replica is bad, it cannot become not bad again.
This is a clerical error and will cause the admin set replica status function to fail.

Copy link
Contributor

@kangkaisen kangkaisen left a comment

Choose a reason for hiding this comment

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

+1

@morningman morningman added the approved Indicates a PR has been approved by one committer. label Jul 29, 2020
@morningman morningman merged commit 8a16998 into apache:master Jul 30, 2020
morningman added a commit to morningman/doris that referenced this pull request Jul 30, 2020
…ommission BE (apache#4148)

Try to select the BE with an existing replicas as the destination BE for
REPLICA_RELOCATING clone task.
Fix apache#4147

Also add 2 new FE configs `max_clone_task_timeout_sec` and `min_clone_task_timeout_sec`

Change-Id: I948a54bacfd5ba9045fdccecfb44b04f0fda75b7
acelyc111 pushed a commit to acelyc111/incubator-doris that referenced this pull request Jan 20, 2021
…ommission BE (apache#4148)

Try to select the BE with an existing replicas as the destination BE for
REPLICA_RELOCATING clone task.
Fix apache#4147

Also add 2 new FE configs `max_clone_task_timeout_sec` and `min_clone_task_timeout_sec`
csun5285 pushed a commit to csun5285/doris that referenced this pull request Sep 23, 2025
…counter fdb txn conflict when mow load get ms delete bitmap lock (apache#52360) (apache#4148)

pick apache#52360
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. area/balance Issues or PRs related to data balance kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Lots of version incomplete replica created when decommission BE

2 participants