You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeffrey Wang (JIRA)" <ji...@apache.org> on 2011/04/16 06:58:06 UTC

[jira] [Created] (CASSANDRA-2490) DatabaseDescriptor.defsVersion should be volatile

DatabaseDescriptor.defsVersion should be volatile
-------------------------------------------------

                 Key: CASSANDRA-2490
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2490
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.3
            Reporter: Jeffrey Wang


(Probably affects other versions, but I am on 0.7.3).

DatabaseDescriptor.defsVersion should be protected by volatile since it is written to and read by multiple threads from unsynchronized methods. This can manifest itself in schema agreement never occurring due to a node broadcasting the wrong schema version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2490) DatabaseDescriptor.defsVersion should be volatile

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020630#comment-13020630 ] 

Hudson commented on CASSANDRA-2490:
-----------------------------------

Integrated in Cassandra-0.7 #435 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/435/])
    make DD.defsVersion volatile
patch by Jeffrey Wang; reviewed by jbellis for CASSANDRA-2490


> DatabaseDescriptor.defsVersion should be volatile
> -------------------------------------------------
>
>                 Key: CASSANDRA-2490
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2490
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Jeffrey Wang
>            Assignee: Jeffrey Wang
>            Priority: Minor
>             Fix For: 0.7.5
>
>
> (Probably affects other versions, but I am on 0.7.3).
> DatabaseDescriptor.defsVersion should be protected by volatile since it is written to and read by multiple threads from unsynchronized methods. This can manifest itself in schema agreement never occurring due to a node broadcasting the wrong schema version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CASSANDRA-2490) DatabaseDescriptor.defsVersion should be volatile

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-2490.
---------------------------------------

    Resolution: Fixed

> DatabaseDescriptor.defsVersion should be volatile
> -------------------------------------------------
>
>                 Key: CASSANDRA-2490
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2490
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Jeffrey Wang
>            Assignee: Jeffrey Wang
>            Priority: Minor
>             Fix For: 0.7.5
>
>
> (Probably affects other versions, but I am on 0.7.3).
> DatabaseDescriptor.defsVersion should be protected by volatile since it is written to and read by multiple threads from unsynchronized methods. This can manifest itself in schema agreement never occurring due to a node broadcasting the wrong schema version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2490) DatabaseDescriptor.defsVersion should be volatile

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2490:
--------------------------------------

             Reviewer: jbellis
             Priority: Minor  (was: Major)
    Affects Version/s:     (was: 0.7.3)
                       0.7.0
        Fix Version/s: 0.7.5
             Assignee: Jeffrey Wang

committed volatile change in r1094011. thanks!

> DatabaseDescriptor.defsVersion should be volatile
> -------------------------------------------------
>
>                 Key: CASSANDRA-2490
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2490
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Jeffrey Wang
>            Assignee: Jeffrey Wang
>            Priority: Minor
>             Fix For: 0.7.5
>
>
> (Probably affects other versions, but I am on 0.7.3).
> DatabaseDescriptor.defsVersion should be protected by volatile since it is written to and read by multiple threads from unsynchronized methods. This can manifest itself in schema agreement never occurring due to a node broadcasting the wrong schema version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira