ekaterinadimitrova2 commented on code in PR #3955:
URL: https://github.com/apache/cassandra/pull/3955#discussion_r1982358997


##########
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
+                if (isIndexBuilding(index))

Review Comment:
   Hmmm, we probably need to use instead directly the full rebuild status here 
instead? Same as in `filterForQuery`



-- 
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

Reply via email to