tkalkirill commented on code in PR #6799:
URL: https://github.com/apache/ignite-3/pull/6799#discussion_r2439353719


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/compaction/Compactor.java:
##########
@@ -537,15 +537,19 @@ private void pauseCompactionIfNeeded() {
                 } catch (InterruptedException e) {
                     LOG.debug("Compactor pause was interrupted", e);
 
-                    interrupted = true;
+                    interruptedException = e;

Review Comment:
   The idea suggested that it is not good to do 
`Thread.currentThread().interrupt()` inside the synchronization block, I 
thought why not do it outside the synchronization.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to