Comments (3)
I had the same idea when adding automatic schema migration in the codebase, and thought we should create the keyspace automatically.
I concluded that this was not a good idea for a couple reasons :
- ops need to set the replication strategy explicitly to avoid consistency issues as Reaper uses LOCAL_QUORUM by default (and that's overall a C* best practice, especially as we do not own the clusters that Reaper will get installed on)
- Technically, this would require to hack the way dropwizard-cassandra works in order to create a keyspace with our arbitrary number of replicas. Currently, I found now way to do this properly unless I created multiple connections to the cluster.
Given that the benefits are really up to debate, I'd rather not add hacky stuff in the code to perform the KS creation.
from cassandra-reaper.
Given that the benefits are really up to debate, I'd rather not add hacky stuff in the code to perform the KS creation.
Agreed.
This works with in-house code where you can, through environment profiles in the configuration, define the keyspace RF per environment.
In open source we don't know what the RF should be for a user, and should just leave keyspace creation logic alone.
from cassandra-reaper.
Sounds arguments against. I'll go ahead and close this.
from cassandra-reaper.
Related Issues (20)
- Disallow a full/incremental to start if another one is running HOT 3
- Builds are broken due to a missing ruby dependency
- Typo/spelling issues
- web UI can not login when Authentication is activate HOT 3
- API REST repair_run segmentCountPerNode HOT 2
- (Re-)Deployment fails with "com.datastax.driver.core.exceptions.AlreadyExistsException: Table reaper_db.running_repairs already exists" exception HOT 5
- Fix testSSLHotReload so it can be run locally
- Change Request: Build RPM Packages with SHA256 digests enabled.
- Failed creating a merkle tree for [repair #c0c157f0-e14a-11ee-b320-bdc4e5fd08de on reaper_current/running_repairs, [(-8896895687978311387,-8888847627918162438], (-881535601694419919,-867088063190097011], (1356177826732174702,1357186491253880239], (6263469266031338450,6279809997892748801]]], /<IP>:7000 HOT 3
- Add an option to persist the memory storage data using a local store
- setting `blacklistTwcsTables: false` does not include twcs tables in subsequent runs HOT 3
- Add env variable to Docker image for Memory Storage backend location
- Support Keystore configuration for communicating with multiple Management API deployments
- Fix High/Critical CVEs
- Fix Snakeyaml CVEs
- Fix Guava CVEs
- Fix Docker image library CVEs
- Can we have count of segments failed as part of prometheusmetrics
- Segment count for incremental repairs remains 1 per node regardless of the segment count specified (3.2.0 + )
- Issues running the container with a read only root FS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra-reaper.