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 2022/01/26 18:46:43 UTC

[GitHub] [cassandra] dcapwell commented on a change in pull request #1429: CASSANDRA-17295: Make vtables accessible via internode messaging

dcapwell commented on a change in pull request #1429:
URL: https://github.com/apache/cassandra/pull/1429#discussion_r792939610



##########
File path: src/java/org/apache/cassandra/db/virtual/AbstractVirtualTable.java
##########
@@ -52,7 +53,9 @@ protected AbstractVirtualTable(TableMetadata metadata)
         if (!metadata.isVirtual())
             throw new IllegalArgumentException("Cannot instantiate a non-virtual table");
 
-        this.metadata = metadata;
+        this.metadata = metadata.unbuild()
+                                .id(TableId.forSystemTable(metadata.keyspace, metadata.name))

Review comment:
       needed to make consistent cross-cluster




-- 
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-unsubscribe@cassandra.apache.org

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