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


##########
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:
   You're right. I don't think we'd want to count the cases where we aren't 
doing a full/initial build.



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