trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mashengchen <...@git.apache.org>
Subject [GitHub] trafodion pull request #1369: TRAFODION-2877 can't restart DCSServer when sw...
Date Fri, 05 Jan 2018 05:28:18 GMT
Github user mashengchen commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1369#discussion_r159811900
  
    --- Diff: dcs/src/main/java/org/trafodion/dcs/master/ServerManager.java ---
    @@ -240,15 +240,14 @@ public ScriptContext call() throws Exception {
                             }
                         }
                     } else {
    -                    if (LOG.isDebugEnabled())
    -                        LOG.debug("No restart for "
    -                                + znodePath
    -                                + "\nbecause DcsServer start time ["
    -                                + DateFormat.getDateTimeInstance().format(
    -                                        new Date(serverStartTimestamp))
    -                                + "] was before DcsMaster start time ["
    -                                + DateFormat.getDateTimeInstance().format(
    -                                        new Date(startupTimestamp)) + "]");
    +                    LOG.info("No restart for "
    --- End diff --
    
    You are right, I should change the log, thanks.


---

Mime
View raw message