Skip to content
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

Open
snazy opened this issue Jun 21, 2013 · 6 comments
Open

RFE: support for row locking #90

snazy opened this issue Jun 21, 2013 · 6 comments

Comments

@snazy
Copy link

snazy commented Jun 21, 2013

Nice to have: exclusive locks for rows - as described in astyanax's "distributed row lock"

@deanhiller
Copy link
Owner

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.

@snazy
Copy link
Author

snazy commented Jun 21, 2013

Cassandra 2.0 will be fine - it was just an idea for playORM

@hsn10
Copy link
Contributor

hsn10 commented Jun 24, 2013

can't you expose astyanax locking until cassandra 2.0 will arrive?

@deanhiller
Copy link
Owner

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 :(.

@hsn10
Copy link
Contributor

hsn10 commented Jun 25, 2013

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

@deanhiller
Copy link
Owner

ah, sounds pretty cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants