-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix file names and 002 migration file
- Loading branch information
1 parent
46d3dc3
commit 33be3fa
Showing
3 changed files
with
41 additions
and
227 deletions.
There are no files selected for viewing
93 changes: 0 additions & 93 deletions
93
src/main/java/com/spotify/reaper/storage/cassandra/Migration002.java
This file was deleted.
Oops, something went wrong.
134 changes: 0 additions & 134 deletions
134
src/main/resources/db/cassandra/002_switch_to_uuids.cql
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
-- Optimal table properties | ||
|
||
ALTER TABLE cluster | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 'ALL'}; | ||
|
||
ALTER TABLE repair_unit | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_run | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_run_by_cluster | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_run_by_unit | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_segment | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'}; | ||
|
||
ALTER TABLE repair_segment_by_run_id | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_schedule | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_schedule_by_cluster_and_keyspace | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_id | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; |