centraldogma icon indicating copy to clipboard operation
centraldogma copied to clipboard

Compress ZooKeeper replication logs

Open ikhoon opened this issue 3 weeks ago โ€ข 1 comments

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-jni dependency to the server module.
  • Compress replication logs using zstd before storing them in ZooKeeper.

Result:

Central Dogma server now compresses replication logs with zstd.

ikhoon avatar Dec 10 '25 10:12 ikhoon

[!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 review command 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.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Dec 10 '25 10:12 coderabbitai[bot]