Mmuzaf commented on code in PR #2046:
URL: https://github.com/apache/cassandra/pull/2046#discussion_r1164451582
##########
src/java/org/apache/cassandra/service/ClientState.java:
##########
@@ -101,13 +102,13 @@
static
{
QueryHandler handler = QueryProcessor.instance;
- String customHandlerClass =
System.getProperty("cassandra.custom_query_handler_class");
+ String customHandlerClass = CUSTOM_QUERY_HANDLER_CLASS.getString();
if (customHandlerClass != null)
{
try
{
handler = FBUtilities.construct(customHandlerClass,
"QueryHandler");
- logger.info("Using {} as query handler for native protocol
queries (as requested with -Dcassandra.custom_query_handler_class)",
customHandlerClass);
+ logger.info("Using {} as query handler for native protocol
queries (as requested with -D" + CUSTOM_QUERY_HANDLER_CLASS.getKey() + ')',
customHandlerClass);
Review Comment:
Fixed.
##########
src/java/org/apache/cassandra/service/StorageService.java:
##########
@@ -387,8 +401,7 @@ public Collection<Range<Token>>
getPrimaryRangesWithinDC(String keyspace)
private volatile boolean isBootstrapMode;
/* we bootstrap but do NOT join the ring unless told to do so */
- private boolean isSurveyMode = Boolean.parseBoolean(System.getProperty
- ("cassandra.write_survey", "false"));
Review Comment:
Fixed :-(
--
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]