ARTEMIS-3084 Issue a warning instead of blocking forever in case of not completing closes

This commit is contained in:
Clebert Suconic 2021-01-29 13:23:51 -05:00
parent b05bea7db9
commit 03b0fcd2c2
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ public class AIOSequentialFile extends AbstractSequentialFile {
short retryPending = 0;
do {
pendingCallbacks.await(1, TimeUnit.SECONDS);
retryPending++;
}
while(pendingClose && retryPending < 60);
if (pendingClose) {