Cyrill commented on code in PR #3371:
URL: https://github.com/apache/ignite-3/pull/3371#discussion_r1519212739
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/FinishedReadOnlyTransactionTracker.java:
##########
@@ -70,25 +79,30 @@ public void broadcastClosedTransactions() {
}
Set<UUID> txToSend = finishedTransactions.stream()
+ .filter(transactionInflights::inflightsCompleted)
Review Comment:
Instead of having two collections an filtering one with another we could
make transactionInflights return the ready-for-cleanup transactions
--
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]