ekaterinadimitrova2 commented on code in PR #3955: URL: https://github.com/apache/cassandra/pull/3955#discussion_r1990063343
########## src/java/org/apache/cassandra/index/SecondaryIndexManager.java: ########## @@ -316,7 +317,13 @@ public void checkQueryability(Index.QueryPlan queryPlan) for (Index index : queryPlan.getIndexes()) { if (!isIndexQueryable(index)) + { + // In Astra index can be queryable during index build, thus we need to check both not queryable and building Review Comment: Actually, it seems it applies to any non-SAI index implementation. Looking into [`isQueryable()`](https://github.com/datastax/cassandra/blob/main/src/java/org/apache/cassandra/index/Index.java#L496-L499) (which is used to decide if we add to `queryableIndexes`) - it returns always true for non-SAI implementations. -- 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. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org 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