nevdmitry commented on code in PR #3186:
URL: https://github.com/apache/ignite-3/pull/3186#discussion_r1485825204
##########
modules/compute/src/main/java/org/apache/ignite/internal/compute/queue/QueueExecutionImpl.java:
##########
@@ -46,6 +48,8 @@ class QueueExecutionImpl<R> implements QueueExecution<R> {
private final CompletableFuture<R> result = new CompletableFuture<>();
+ private final Lock changePriorityLock = new ReentrantLock();
Review Comment:
there is no need to use read write lock here, no read operations, only
write. I've updated patch
--
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]