sunhelly commented on a change in pull request #3297:
URL: https://github.com/apache/hbase/pull/3297#discussion_r638439826
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java
##########
@@ -986,14 +996,43 @@ public void shutdown() throws IOException {
i.logCloseRequested();
}
}
- rollWriterLock.lock();
+
+ ExecutorService shutdownExecutor = Executors.newFixedThreadPool(1,
Review comment:
Thanks. The WAL shutdown task should have priority to be executed, it
may be delayed if put to the same single thread pool as archive WAL. What do
you think?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]