-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: support for row locking #90
Comments
cassandra 2.0 has this built in and we will expose it for cassandra 2.0 if that is alright???? what's your timeframe? Also, we will circle back and support it for hbase which already has it built in. cassandra is catching up to hbase with this feature. |
Cassandra 2.0 will be fine - it was just an idea for playORM |
can't you expose astyanax locking until cassandra 2.0 will arrive? |
it is a very large effort since a webserver farm would have multiple instances and would require something like zookeeper. we would gladly accept pull requests but we are backlogged on features as it is right now :(. |
you do not need zookeeper. in astyanax documentation and core you can see how to do it. Its sequence of write random lock cookie, read back cookie, if same as written cookie, then record is locked. See sources for ColumnPrefixDistributedRowLock |
ah, sounds pretty cool. |
Nice to have: exclusive locks for rows - as described in astyanax's "distributed row lock"
The text was updated successfully, but these errors were encountered: