You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/09/24 04:10:33 UTC
[jira] Created: (CASSANDRA-1541) KEYS indexes recreated after first
restart
KEYS indexes recreated after first restart
------------------------------------------
Key: CASSANDRA-1541
URL: https://issues.apache.org/jira/browse/CASSANDRA-1541
Project: Cassandra
Issue Type: Bug
Reporter: Stu Hood
Assignee: Jonathan Ellis
Fix For: 0.7 beta 2
I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1541) KEYS indexes recreated after first
restart
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1541:
--------------------------------------
Attachment: 1541.txt
table.open is called before commitlog replay. patch adds flush to INDEX_CF in setIndexBuilt so the flag is visible before log replay next restart.
> KEYS indexes recreated after first restart
> ------------------------------------------
>
> Key: CASSANDRA-1541
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1541
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7 beta 2
> Reporter: Stu Hood
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
> Attachments: 1541.txt
>
>
> I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (CASSANDRA-1541) KEYS indexes
recreated after first restart
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916973#action_12916973 ]
Stu Hood edited comment on CASSANDRA-1541 at 10/1/10 1:54 PM:
--------------------------------------------------------------
+1
(required a bit of manual rebasing, but the spirit is correct).
was (Author: stuhood):
+1
> KEYS indexes recreated after first restart
> ------------------------------------------
>
> Key: CASSANDRA-1541
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1541
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7 beta 2
> Reporter: Stu Hood
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
> Attachments: 1541.txt
>
>
> I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1541) KEYS indexes recreated after
first restart
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916973#action_12916973 ]
Stu Hood commented on CASSANDRA-1541:
-------------------------------------
+1
> KEYS indexes recreated after first restart
> ------------------------------------------
>
> Key: CASSANDRA-1541
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1541
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7 beta 2
> Reporter: Stu Hood
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
> Attachments: 1541.txt
>
>
> I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1541) KEYS indexes recreated after
first restart
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917191#action_12917191 ]
Hudson commented on CASSANDRA-1541:
-----------------------------------
Integrated in Cassandra #553 (See [https://hudson.apache.org/hudson/job/Cassandra/553/])
flush index built flag so we can read it before log replay
patch by jbellis; reviewed by Stu Hood for CASSANDRA-1541
> KEYS indexes recreated after first restart
> ------------------------------------------
>
> Key: CASSANDRA-1541
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1541
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7 beta 2
> Reporter: Stu Hood
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
> Attachments: 1541.txt
>
>
> I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1541) KEYS indexes recreated after first
restart
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1541:
--------------------------------------
Fix Version/s: 0.7.0
(was: 0.7 beta 2)
> KEYS indexes recreated after first restart
> ------------------------------------------
>
> Key: CASSANDRA-1541
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1541
> Project: Cassandra
> Issue Type: Bug
> Reporter: Stu Hood
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
>
> I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.