smiklosovic commented on code in PR #2842:
URL: https://github.com/apache/cassandra/pull/2842#discussion_r1442210439


##########
src/java/org/apache/cassandra/service/StartupChecks.java:
##########
@@ -417,20 +417,20 @@ public void execute(StartupChecksOptions options) throws 
StartupException
         }
     };
 
-    public static final StartupCheck initSigarLibrary = new StartupCheck()
+    public static final StartupCheck checkProcessEnvironment = new 
StartupCheck()
     {
         @Override
         public void execute(StartupChecksOptions options)
         {
             if (options.isDisabled(getStartupCheckType()))
                 return;
-            SigarLibrary.instance.warnIfRunningInDegradedMode();
+            new SystemInfo().isDegraded().ifPresent( s -> 
logger.warn("Cassandra server running in degraded mode. " + s));

Review Comment:
   @Claudenw was not the deal to keep info log there? 
https://github.com/apache/cassandra/pull/2842#discussion_r1441646580



-- 
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