[ 
https://issues.apache.org/jira/browse/CASSANDRA-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259303#comment-16259303
 ] 

ASF GitHub Bot commented on CASSANDRA-14055:
--------------------------------------------

GitHub user ludovic-boutros opened a pull request:

    https://github.com/apache/cassandra/pull/174

    CASSANDRA-14055: Index redistribution breaks SASI index

    During index redistribution process, a new view is created.
    During this creation, old indexes should be released.
    
    But, new indexes are "attached" to the same SSTable as the old indexes.
    
    This leads to the deletion of the last SASI index file and breaks the index.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ludovic-boutros/cassandra fix/CASSANDRA-14055

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra/pull/174.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #174
    
----
commit 532ed86090c27e51c745c57678cd19ff4b606a0c
Author: lbout...@flatironsjouve.com <lbout...@flatironsjouve.com>
Date:   2017-11-20T14:39:41Z

    CASSANDRA-14055: Index redistribution breaks SASI index

----


> Index redistribution breaks SASI index
> --------------------------------------
>
>                 Key: CASSANDRA-14055
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14055
>             Project: Cassandra
>          Issue Type: Bug
>          Components: sasi
>            Reporter: Ludovic Boutros
>              Labels: patch
>             Fix For: 3.11.x
>
>         Attachments: CASSANDRA-14055.patch, CASSANDRA-14055.patch
>
>
> During index redistribution process, a new view is created.
> During this creation, old indexes should be released.
> But, new indexes are "attached" to the same SSTable as the old indexes.
> This leads to the deletion of the last SASI index file and breaks the index.
> The issue is in this function : 
> [https://github.com/apache/cassandra/blob/9ee44db49b13d4b4c91c9d6332ce06a6e2abf944/src/java/org/apache/cassandra/index/sasi/conf/view/View.java#L62]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to