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

Remove null directory usage in ClusterLogAllocation #790

Merged

Conversation

garyparrot
Copy link
Collaborator

Context: #764 (comment)

  • ClusterLogAllocation#migrateReplica 一定要指定 destination data directory 位置
  • 修正 RebalanceAdmin#declarePreferredDataDirectories 在遇到 null directory(caused by offline replica) 時會噴錯的問題

* replica migration in ClusterLogAllocation must specify the destination
  data directory.
* if RebalanceAdmin sees a null directory for a specific replica.
  It won't declare the preferred data directory for it.
Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@garyparrot 改得很好, +1

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