forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
78987: cli: default to num procs concurrency in debug compact r=jbowens a=jbowens **cli: remove OpenExistingStore** Remove OpenExistingStore, replacing its call sites with calls to OpenEngine, including the storage.MustExist config option. **cli: default to num procs concurrency in debug compact** Now that some concurrency within manual offline compactions is possible, default to a max compaction concurrency equal to the number of processors during offline manual compactions. Add a new `--max-concurrency` flag to the debug compact command to override this default. The undocumented `COCKROACH_ROCKSDB_CONCURRENCY` environment variable will no longer affect the maximum concurrency for this offline compaction. That environment variable is intended for controlling compaction concurrency for a running CockroachDB node. The switch to an explicit flag for this command makes the concurrency control more discoverable (it appears within the command help output) and allows for the more reasonable default concurrency in this context. Release note (cli change): Changes the default `debug compact` maximum compaction concurrency to the number of processors, and adds a `--max-concurrency` flag for overriding the new default. Co-authored-by: Jackson Owens <[email protected]>
- Loading branch information
Showing
7 changed files
with
46 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters