Created
May 30, 2015 03:14
-
-
Save spacejam/3d0fdaa72fc50f251748 to your computer and use it in GitHub Desktop.
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
create KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 3}; -- pick replication factor of size of cluster | |
create table test.test ( thing text PRIMARY KEY); | |
-- on each host | |
CONSISTENCY ALL; | |
INSERT INTO test.test (thing) VALUES ('A'); | |
-- does this complete? if not, you may have a partition x_x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment