Compress ZooKeeper replication logs
Motivation:
When a file is newly created or has a large diff, the replication log size can grow significantly. With compression, up to about 7โ8 MB of data can be stored in a single znode, improving replication performance.
Modifcations:
- Add
zstd-jnidependency to the server module. - Compress replication logs using zstd before storing them in ZooKeeper.
Result:
Central Dogma server now compresses replication logs with zstd.
[!WARNING]
Rate limit exceeded
@ikhoon has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 43 seconds before requesting another review.
โ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the
@coderabbitai reviewcommand as a PR comment. Alternatively, push new commits to this PR.We recommend that you space out your commits to avoid hitting the rate limit.
๐ฆ How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.
๐ฅ Commits
Reviewing files that changed from the base of the PR and between 9ec26eefc0b9d82dc6bc6fa9bfc7a6c305076093 and f025b1df013dce90b10b6eb36324e02ea80b9ece.
๐ Files selected for processing (1)
server/src/main/java/com/linecorp/centraldogma/server/internal/replication/ZooKeeperCommandExecutor.java(2 hunks)
โจ Finishing touches
- [ ] ๐ Generate docstrings
๐งช Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Post copyable unit tests in a comment
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.