-
Notifications
You must be signed in to change notification settings - Fork 62
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
Allow ClusterLogAllocation#migrationReplica
specify data directory
#415
Allow ClusterLogAllocation#migrationReplica
specify data directory
#415
Conversation
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.
@garyparrot 沒有什麼大毛病,不過我有幾個問題請教,請看一下
app/src/test/java/org/astraea/app/balancer/log/LayeredClusterLogAllocationTest.java
Show resolved
Hide resolved
app/src/main/java/org/astraea/app/balancer/log/ClusterLogAllocation.java
Show resolved
Hide resolved
app/src/main/java/org/astraea/app/balancer/log/ClusterLogAllocation.java
Show resolved
Hide resolved
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.
@garyparrot 感謝更新,剩下一個疑惑
app/src/main/java/org/astraea/app/balancer/log/LayeredClusterLogAllocation.java
Show resolved
Hide resolved
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.
LGTM
延續 #412 (comment)
令
ClusterLogAllocation#migrationReplica
能夠指定要搬移到哪個 data directory,同時修改ShufflePlanGenerator
的實作,使他能夠使用這個新的 API 來做產生計劃,這樣產生的計劃比較明確,能使後續CostFunction
比較好做預測。