NSAmelchev commented on code in PR #10732:
URL: https://github.com/apache/ignite/pull/10732#discussion_r1206608760
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxStateImpl.java:
##########
@@ -390,9 +369,7 @@ public class IgniteTxStateImpl extends
IgniteTxLocalStateAdapter {
/** {@inheritDoc} */
@Override public void onTxEnd(GridCacheSharedContext cctx,
IgniteInternalTx tx, boolean commit) {
- for (int i = 0; i < activeCacheIds.size(); i++) {
- int cacheId = activeCacheIds.get(i);
-
+ for (int cacheId : activeCacheIds()) {
Review Comment:
I mean the `onTxEnd` callback. It seems to be called on every tx.
--
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]