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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to