You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2021/04/23 09:44:39 UTC

[GitHub] [cassandra] adelapena commented on a change in pull request #980: CASSANDRA-16567 (3.0): Fix test ViewTest.testCompoundPartitionKey

adelapena commented on a change in pull request #980:
URL: https://github.com/apache/cassandra/pull/980#discussion_r619087948



##########
File path: src/java/org/apache/cassandra/db/view/View.java
##########
@@ -206,15 +206,20 @@ public ReadQuery getReadQuery()
 
     public synchronized void build()
     {
-        if (this.builder != null)

Review comment:
       The check is right below, in the `stopBuild()` method. I have just moved the entire `if` block to that separate method to be able to call it separately from `ColumnFamilyStore#truncateBlocking()` via `TableViews#stopBuild()`.




-- 
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:
users@infra.apache.org



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