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

Sylvain Lebresne commented on CASSANDRA-11075:
----------------------------------------------

bq.  I think we are still some distance away from making SASI a "default" 
implementation

Absolutely. I created the ticket because there was some discussion about it and 
I wanted us to have a clear place for such discussion, but I totally agree that 
there is no rush for this and would prefer that we take our time to do this 
right. And we certainly won't move ahead with it until you are yourself 
comfortable with it.

bq. If you want you can assign this ticket to me since I'm working on all of 
this anyway

Will do but again, I didn't meant that anyone should start working on this 
immediately. In fact, I think a first step is to discuss what data we need to 
convince ourselves that it's the good move, after which we need to discuss what 
is the upgrade path.

bq.  #1 - SASI currently handles all of the cases of native indexes expect 
collections and #2 - SASI doesn't require read-before-write

Great, thanks for the info.

> Consider making SASI the default index implementation
> -----------------------------------------------------
>
>                 Key: CASSANDRA-11075
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11075
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>
> We now have 2 secondary index implementation in tree: the old native ones and 
> SASI. Moving forward, that feels like one too much to maintain, especially 
> since it seems that SASI is an overall better implementation.
> So we should gather enough data to decide if SASI is indeed always better (or 
> at least sufficiently better than we're convinced no-one would want to stick 
> with the native implementation), and if that's the case, we should consider 
> making it the default (and ultimately get rid of the current implementation).
> So first, we should at least:
> # double check that SASI handles all cases that the native implementation 
> handles. A good start would probably be run all our dtest and utests on a 
> version where SASI is hard-coded as default.
> # compare the performance of SASI and native indexes. In particular our 
> native indexes, in all their weaknesses, have the advantage of not doing a 
> read-before-write. Haven't looked at SASI much so I don't know if it's the 
> case but anyway, we need numbers on both reads and writes.
> Once we have that, if we do decide to make SASI the default, then we need to 
> figure out what is the upgrade path (and whether we add extra syntax for SASI 
> specific options).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to