maedhroz commented on code in PR #3955: URL: https://github.com/apache/cassandra/pull/3955#discussion_r1990078620
########## 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: Yeah, for some historical reason `CassandraIndex` looks like... ``` return status == Status.BUILD_SUCCEEDED || status == Status.UNKNOWN || status == Status.FULL_REBUILD_STARTED; ``` ...whereas SAI won't say it's queryable during a full rebuild. -- 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