cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12969) Index: index can significantly slow down boot
Date Sun, 05 Feb 2017 16:15:41 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Yeschenko updated CASSANDRA-12969:
------------------------------------------
    Fix Version/s:     (was: 3.12)

> Index: index can significantly slow down boot
> ---------------------------------------------
>
>                 Key: CASSANDRA-12969
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12969
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL
>            Reporter: Corentin Chary
>            Assignee: Corentin Chary
>             Fix For: 4.0
>
>         Attachments: 0004-index-do-not-re-insert-values-in-IndexInfo.patch
>
>
> During startup, each existing index is opened and marked as built by adding an entry
in "IndexInfo" and forcing a flush. Because of that we end up flushing one sstable per index.
On systems on HDD this can take minutes for nothing.
> Thw following patch allows to avoid creating useless new sstables if the index was already
marked as built and will greatly reduce the startup time (and improve availability during
restarts).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message