smiklosovic commented on code in PR #2113:
URL: https://github.com/apache/cassandra/pull/2113#discussion_r1092102906
##########
src/java/org/apache/cassandra/db/view/ViewBuilder.java:
##########
@@ -66,7 +66,7 @@
private final ColumnFamilyStore baseCfs;
private final View view;
private final String ksName;
- private final UUID localHostId =
SystemKeyspace.getOrInitializeLocalHostId();
+ private final UUID localHostId = SystemKeyspace.getLocalHostId();
Review Comment:
I do not think that this class should be responsible for initialization of
host id, it should just read it. I do not even think there might be such a case
when initialization here would be necessary.
--
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]