Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Change the compaction command line interface#2277

Merged
larskuhtz merged 1 commit intomasterfrom
push-qxuwvloxmsln
Nov 5, 2025
Merged

Change the compaction command line interface#2277
larskuhtz merged 1 commit intomasterfrom
push-qxuwvloxmsln

Conversation

@edmundnoble
Copy link
Contributor

  1. Fixes a bug in the command line flags.

The flag parsers did not match the constructor fields.

  1. Makes only compacting sqlite the default.
  2. Makes keeping TransactionIndex the default.

This way the default is "safe" and does not lose any data any user might want. They can compact rocksdb and TransactionIndex in addition if they want, but that should be a conscious choice, so that their API still serves all relevant data.

@edmundnoble edmundnoble requested a review from chessai November 2, 2025 03:00
chessai
chessai previously approved these changes Nov 2, 2025
larskuhtz
larskuhtz previously approved these changes Nov 2, 2025
1. Fixes a bug in the command line flags.

The flag parsers did not match the constructor fields.

2. Makes only compacting sqlite the default.
3. Makes keeping TransactionIndex the default.

This way the default is "safe" and does not lose any data any user might
want. They can compact rocksdb and TransactionIndex in addition if they
want, but that should be a conscious choice, so that their API still
serves all relevant data.
@edmundnoble edmundnoble dismissed stale reviews from larskuhtz and chessai via d0cf2ba November 2, 2025 03:40
@larskuhtz larskuhtz merged commit 6fe7d22 into master Nov 5, 2025
39 of 43 checks passed
@larskuhtz larskuhtz deleted the push-qxuwvloxmsln branch November 5, 2025 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants