cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1075) Thrift interface call to query whether all live nodes agree on the schema id
Date Wed, 19 May 2010 16:37:53 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869197#action_12869197
] 

Jonathan Ellis commented on CASSANDRA-1075:
-------------------------------------------

good catch, but synchronizedmap doesn't use itself as the mutex, so this still doesn't fix
the race of a new entry being added to versions (by a late reply) after it starts computing
results

replacing all uses of versions after ackedhosts is created, w/ ackedhosts, would fix everything
i think

then versions itself should be a CHM or NBHM just as a best practice instead of SM

> Thrift interface call to query whether all live nodes agree on the schema id
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1075
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1075
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Benjamin Black
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 0001-service-call-to-check-for-schema-agreement.patch, 0002-modify-system_-methods-to-return-UUID.patch
>
>
> Schema changes via the Thrift interface reach all nodes in a cluster at indeterminate
times.  It would be extremely useful to be able to query, via API, a single node in the cluster
and discover the current state of a transition to determine if all live nodes agree on the
schema.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message