[
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.