[
https://issues.apache.org/jira/browse/CASSANDRA-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842807#action_12842807
]
Gary Dusbabek commented on CASSANDRA-840:
-----------------------------------------
>What problem is the table locking trying to solve?
Two threads modifying a keyspace at the same time. The lock is held during the
entire mutation, not just to get access to the Table object. I'm not opposed
to removing the openLock from Table.open() for performance reasons, but I
thought it made sense from a concurrency standpoint (we were synchronizing on
Table.class anyway). We might wish to chose performance here and assume people
deserve what they get when they attempt row mutations while a keyspace is in
flux.)
> Add the ability to add/remove/rename column families on a single node.
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-840
> URL: https://issues.apache.org/jira/browse/CASSANDRA-840
> Project: Cassandra
> Issue Type: Sub-task
> Components: Core
> Reporter: Gary Dusbabek
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.7
>
> Attachments: v1-0001-store-cfid-map-in-CLH.txt,
> v1-0002-establish-ordering-of-cfids.txt,
> v1-0003-add-a-cf-on-a-single-node.txt,
> v1-0004-drop-a-cf-on-a-single-node.txt,
> v1-0005-rename-a-cf-on-a-single-node.txt,
> v1-0006-alternate-locking-approach.txt
>
>
> We need the ability to manipulate the KS/CF definitions structures in
> DatabaseDescriptor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.