vldpyatkov commented on code in PR #13264:
URL: https://github.com/apache/ignite/pull/13264#discussion_r3481435818
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxLocal.java:
##########
@@ -4275,17 +4308,36 @@ public <K> IgniteInternalFuture<GridCacheReturn>
lockAllAsync(GridCacheContext c
return new GridEmbeddedFuture<>(
fut,
- new PLC1<GridCacheReturn>(ret, false) {
- @Override protected GridCacheReturn postLock(GridCacheReturn
ret) {
- if (log.isDebugEnabled())
- log.debug("Acquired transaction lock on keys: " +
keys);
+ new PLC1<GridCacheReturn>(ret, false,
!waitTimeoutExpiresFirst(waitTimeout, timeout)) {
+ @Override protected GridCacheReturn postLock(GridCacheReturn
ret) throws IgniteCheckedException {
+ assert fut.error() == null;
+
+ boolean success = Boolean.TRUE.equals(fut.get());
Review Comment:
The same; it is a code that is executed after the nested future is complete.
--
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]