adelapena commented on pull request #570:
URL: https://github.com/apache/cassandra/pull/570#issuecomment-632630312


   @bereng I can't see the links to CI. I'm running 
[ci-cassandra](https://ci-cassandra.apache.org/job/Cassandra-devbranch/133/) 
too. Anyway, it seems that we are mostly ready to commit.
   
   > I think what you do here makes perfect sense from the pov you have. 
Basically you try to infer as much as possible and rely on reasonable 
assumptions. I still think, call me stubborn :-) , I'd like my approach better. 
But as you mention this patch brings goodness and if in the future we need to 
move closer to my pov it's an easy change. So I am +1 on merging this. Having 
catched the missing flush, the extra testing around things, etc it's all good 
value.
   
   Now that we have the general mechanism to define queryability and 
writability on failure, we can open a followup ticket to more aggressively 
change the default behaviour of Cassandra indexes, possibly with some 
discussion in the mail list so we don't interfere with existing use cases. If 
necessary, it wouldn't be difficult to pass the `LoadType` to the CQL index 
options, so users can decide how their indexes will behave, choosing between 
availability and consistency. As for failing writes on badly built indexes 
instead of ignoring them, we should also have some discussion because it will 
quite aggressively affect the base table/keyspace availability, messing with 
repairs, compactions, etc. It will also might make sense to have some mechanism 
to make coordinators aware of which nodes are not available for reads and 
writes so they can avoid them. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to