Skip to content

Add broker disk space cost#1604

Merged
qoo332001 merged 18 commits intoopensource4you:mainfrom
qoo332001:addBrokerDiskSpaceCost
May 17, 2023
Merged

Add broker disk space cost#1604
qoo332001 merged 18 commits intoopensource4you:mainfrom
qoo332001:addBrokerDiskSpaceCost

Conversation

@qoo332001
Copy link
Copy Markdown
Collaborator

新增BrokerDiskSpaceCost來限制搬移過程中最多會佔用的broker/data path空間

Copy link
Copy Markdown
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.

@qoo332001 感謝實作新功能,幾個建議請看一下

Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/admin/BrokerPath.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
@qoo332001
Copy link
Copy Markdown
Collaborator Author

@chia7712 做了一些更新,麻煩在看一次,謝謝

@qoo332001 qoo332001 requested a review from chia7712 March 31, 2023 15:15
Comment thread common/src/main/java/org/astraea/common/admin/ClusterInfo.java Outdated
Copy link
Copy Markdown
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.

@qoo332001 感謝快速的修正,還有幾個建議請看一下

Comment thread docs/web_server/web_api_balancer_chinese.md Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/CostUtils.java Outdated
@qoo332001 qoo332001 requested a review from chia7712 April 9, 2023 14:19
Copy link
Copy Markdown
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.

@qoo332001 感謝功能和修正,請再看一下 cluster info 中有哪些方法要移動到 costutils

另外可否開一隻議題來展示一下這個功能?並且在隨後寫成一個簡單的報告發成PR

Comment thread common/src/main/java/org/astraea/common/cost/CostUtils.java Outdated
Comment thread docs/web_server/web_api_balancer_chinese.md Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Copy link
Copy Markdown
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.

@qoo332001 感謝更新功能,幾個建議請再看一下

Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/BrokerDiskSpaceCost.java Outdated
Comment thread common/src/main/java/org/astraea/common/cost/CostUtils.java Outdated
Comment thread common/src/main/java/org/astraea/common/Configuration.java Outdated
Copy link
Copy Markdown
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.

LGTM

麻煩合併完後再重新跑一次 #1689,然後我們在那邊討論後續

@qoo332001 qoo332001 merged commit 47bb2ce into opensource4you:main May 17, 2023
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.

3 participants