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

Ruslan Fomkin updated CASSANDRA-20447:
--------------------------------------
    Summary: Ignoring errors in SSTables writes leads to incorrect results for 
SASI  (was: Ignoring errors in SSTables write leads to incorrect results for 
SASI)

> Ignoring errors in SSTables writes leads to incorrect results for SASI
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-20447
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20447
>             Project: Apache Cassandra
>          Issue Type: Bug
>            Reporter: Ruslan Fomkin
>            Priority: Normal
>
> The fix for https://issues.apache.org/jira/browse/CASSANDRA-11383 catches any 
> exceptions and ignores them during SSTables disk writer.
> {code:java}
> try
>                  {
>                      File index = new File(segmentFile);
>                      return builder.finish(index) ? new OnDiskIndex(index, 
> columnIndex.getValidator(), null) : null;
>                  }
>                  catch (Exception | FSError e)
>                  {
>                      logger.error("Failed to build index segment {}", 
> segmentFile, e);
>                      return null;
>                  } {code}
> This covers the case when a user creates a SASI index with a long name, which 
> leads to a too long file name. Thus queries, which utilize the index, 
> produces incorrect result. See 
> https://issues.apache.org/jira/browse/CASSANDRA-20445
> There might be more issues hidden behind the ignoring of exceptions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to