You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2010/02/08 22:23:27 UTC
[jira] Created: (CASSANDRA-779) Bootstrapping is not threadsafe
Bootstrapping is not threadsafe
-------------------------------
Key: CASSANDRA-779
URL: https://issues.apache.org/jira/browse/CASSANDRA-779
Project: Cassandra
Issue Type: Bug
Affects Versions: 0.6
Reporter: Gary Dusbabek
Assignee: Gary Dusbabek
Fix For: 0.6
The bootstrapper thread (called from the main thread which has acquired the lock for SS via SS.init) currently makes a few calls into SS that require its lock.
Those methods need to be thread-safe, but do not need the same lock required by SS.init.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-779) Bootstrapping is not threadsafe
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834870#action_12834870 ]
Hudson commented on CASSANDRA-779:
----------------------------------
Integrated in Cassandra #357 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/357/])
> Bootstrapping is not threadsafe
> -------------------------------
>
> Key: CASSANDRA-779
> URL: https://issues.apache.org/jira/browse/CASSANDRA-779
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Gary Dusbabek
> Assignee: Gary Dusbabek
> Fix For: 0.6
>
> Attachments: 0001-fix-bootstrapping-deadlock.patch
>
>
> The bootstrapper thread (called from the main thread which has acquired the lock for SS via SS.init) currently makes a few calls into SS that require its lock.
> Those methods need to be thread-safe, but do not need the same lock required by SS.init.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-779) Bootstrapping is not threadsafe
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831132#action_12831132 ]
Jonathan Ellis commented on CASSANDRA-779:
------------------------------------------
+1 on the patch. I'm not sure what the point of having the separate BS thread is, either. Maybe it made more sense a dozen refactors ago. :)
> Bootstrapping is not threadsafe
> -------------------------------
>
> Key: CASSANDRA-779
> URL: https://issues.apache.org/jira/browse/CASSANDRA-779
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Gary Dusbabek
> Assignee: Gary Dusbabek
> Fix For: 0.6
>
> Attachments: 0001-fix-bootstrapping-deadlock.patch
>
>
> The bootstrapper thread (called from the main thread which has acquired the lock for SS via SS.init) currently makes a few calls into SS that require its lock.
> Those methods need to be thread-safe, but do not need the same lock required by SS.init.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-779) Bootstrapping is not threadsafe
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Dusbabek updated CASSANDRA-779:
------------------------------------
Attachment: 0001-fix-bootstrapping-deadlock.patch
> Bootstrapping is not threadsafe
> -------------------------------
>
> Key: CASSANDRA-779
> URL: https://issues.apache.org/jira/browse/CASSANDRA-779
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Gary Dusbabek
> Assignee: Gary Dusbabek
> Fix For: 0.6
>
> Attachments: 0001-fix-bootstrapping-deadlock.patch
>
>
> The bootstrapper thread (called from the main thread which has acquired the lock for SS via SS.init) currently makes a few calls into SS that require its lock.
> Those methods need to be thread-safe, but do not need the same lock required by SS.init.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.