You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/10/21 21:52:16 UTC
[jira] Created: (CASSANDRA-1644) Commitlog.recover can delete the
commitlog segment instance() just created
Commitlog.recover can delete the commitlog segment instance() just created
--------------------------------------------------------------------------
Key: CASSANDRA-1644
URL: https://issues.apache.org/jira/browse/CASSANDRA-1644
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 0.7 beta 2
Reporter: Jonathan Ellis
Assignee: Jonathan Ellis
Priority: Blocker
Fix For: 0.7.0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1644) Commitlog.recover can delete the
commitlog segment instance() just created
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923616#action_12923616 ]
Gary Dusbabek commented on CASSANDRA-1644:
------------------------------------------
+1
> Commitlog.recover can delete the commitlog segment instance() just created
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-1644
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1644
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 2
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Blocker
> Fix For: 0.7.0
>
> Attachments: 1644.txt
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1644) Commitlog.recover can delete the
commitlog segment instance() just created
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1644:
--------------------------------------
Attachment: 1644.txt
> Commitlog.recover can delete the commitlog segment instance() just created
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-1644
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1644
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 2
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Blocker
> Fix For: 0.7.0
>
> Attachments: 1644.txt
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1644) Commitlog.recover can delete the
commitlog segment instance() just created
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923826#action_12923826 ]
Hudson commented on CASSANDRA-1644:
-----------------------------------
Integrated in Cassandra #573 (See [https://hudson.apache.org/hudson/job/Cassandra/573/])
fix commitlog recovery deleting the newly-created segment as well as the old ones
patch by jbellis; reviewed by gdusbabek for CASSANDRA-1644
> Commitlog.recover can delete the commitlog segment instance() just created
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-1644
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1644
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 2
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Blocker
> Fix For: 0.7.0
>
> Attachments: 1644.txt
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1644) Commitlog.recover can delete the
commitlog segment instance() just created
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923609#action_12923609 ]
Jonathan Ellis commented on CASSANDRA-1644:
-------------------------------------------
As the comment says:
+ // we used to try to avoid instantiating commitlog (thus creating an empty segment ready for writes)
+ // until after recover was finished. this turns out to be fragile; it is less error-prone to go
+ // ahead and allow writes before recover(), and just skip active segments when we do.
> Commitlog.recover can delete the commitlog segment instance() just created
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-1644
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1644
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 2
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Blocker
> Fix For: 0.7.0
>
> Attachments: 1644.txt
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.