jacek-lewandowski commented on code in PR #2064:
URL: https://github.com/apache/cassandra/pull/2064#discussion_r1072027365
##########
src/java/org/apache/cassandra/schema/Schema.java:
##########
@@ -224,6 +225,15 @@ public ColumnFamilyStore
getColumnFamilyStoreInstance(TableId id)
: null;
}
+ public ColumnFamilyStore getColumnFamilyStoreInstance(TableMetadata
metadata)
+ {
+ ColumnFamilyStore cfs = getColumnFamilyStoreInstance(metadata.id);
+ if (cfs == null || !metadata.isIndex())
Review Comment:
no, if it is null we want to return
--
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]