-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batcheval: reject addsstable if store capacity remaining too low
``` ➜ ./cockroach sql --insecure -e "SET CLUSTER SETTING kv.bulk_io_write.min_capacity_remaining_fraction = 0.75" SET CLUSTER SETTING ➜ ./cockroach workload fixtures import tpcc --warehouses=10 --checks=false I220325 23:56:17.451734 1 ccl/workloadccl/fixture.go:318 [-] 1 starting import of 9 tables Error: importing fixture: importing table warehouse: pq: addsstable [/Table/106/1/0/0,/Table/106/1/9/0/NULL): insufficient remaining store capacity 648 GiB, or 69.9% to add sstable (min: 75.0%) ``` Release note (ops change): Bulk ingest operations like IMPORT, RESTORE or CREATE INDEX will now fail if they try to write to a node that has less than 5% storage capacity remaining, configurable via the setting kv.bulk_io_write.min_capacity_remaining_fraction.
- Loading branch information
Showing
6 changed files
with
69 additions
and
0 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