Github user kevinxu021 commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1427#discussion_r172736393
--- Diff:
dcs/src/main/java/org/trafodion/dcs/master/listener/ListenerService.java ---
@@ -263,14 +264,20 @@ else if ((key.interestOps() & SelectionKey.OP_WRITE)
== SelectionKey.OP_WRITE) {
}
}
}
+ if (this.isInterrupted()) {
+ throw new InterruptedException();
+ }
//gc();
}
+ } catch (InterruptedException e) {
--- End diff --
Log what happens by info level at least.
---