Created
February 7, 2014 23:18
-
-
Save warmans/8873949 to your computer and use it in GitHub Desktop.
Kairos Consistency Fix
This file contains hidden or 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
confConsLevel.setDefaultReadConsistencyLevel(HConsistencyLevel.ONE); | |
confConsLevel.setDefaultWriteConsistencyLevel(HConsistencyLevel.ANY); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ANY = write to any node (including coordinator via handoff)
ONE = read from at least one node that has the data (ANY makes no sense here as only some nodes have the data)