MyXOF commented on a change in pull request #32: fix sonar issues
URL: https://github.com/apache/incubator-iotdb/pull/32#discussion_r251705734
##########
File path:
iotdb/src/main/java/org/apache/iotdb/db/engine/memcontrol/FlushPartialPolicy.java
##########
@@ -60,8 +63,9 @@ private Thread createWorkerThread() {
FileNodeManager.getInstance().forceFlush(BasicMemController.UsageLevel.SAFE);
try {
Thread.sleep(sleepInterval);
- } catch (InterruptedException ignored) {
- logger.warn("Flush worker interrupted!");
+ } catch (InterruptedException e) {
+ logger.warn("Flush worker interrupted!", e);
Review comment:
logger统一格式
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services