-
Notifications
You must be signed in to change notification settings - Fork 476
[server] Support max partition number of a table #693
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
Conversation
1dce91a to
3478926
Compare
fluss-common/src/main/java/com/alibaba/fluss/exception/TooManyPartitionsException.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/MetadataManager.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/AutoPartitionManager.java
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/MetadataManager.java
Show resolved
Hide resolved
fluss-server/src/test/java/com/alibaba/fluss/server/coordinator/AutoPartitionManagerTest.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/zk/ZooKeeperClient.java
Show resolved
Hide resolved
…PartitionsException.java Co-authored-by: Jark Wu <[email protected]>
|
@wuchong Thank you for the review, comments addressed. |
| LOG.warn(f.getMessage()); | ||
| } | ||
|
|
||
| currentPartitions.add(partition.getPartitionName()); |
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.
We should move this into the above try catch, otherwise, the state of currentPartitions is not correct.
wuchong
left a comment
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.
I pushed a commit to fix the above comment. Will merge once the CI is passed.
Purpose
Linked issue: close #687
Brief change log
Tests
API and Format
Documentation