anton-vinogradov commented on code in PR #11113:
URL: https://github.com/apache/ignite/pull/11113#discussion_r1432390366


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:
##########
@@ -2838,26 +2838,26 @@ private void afterRowFound(@Nullable CacheDataRow row, 
KeyCacheObject key) throw
 
         /** {@inheritDoc} */
         @Override public void destroy() throws IgniteCheckedException {
-            AtomicReference<IgniteCheckedException> exception = new 
AtomicReference<>();
+            AtomicReference<IgniteCheckedException> e = new 
AtomicReference<>();
 
             dataTree.destroy(row -> {
                 try {
                     rowStore.removeRow(row.link(), grp.statisticsHolderData());
                 }
-                catch (IgniteCheckedException e) {
+                catch (IgniteCheckedException e0) {
                     U.error(log, "Failed to remove row [link=" + row.link() + 
"]");
 
-                    IgniteCheckedException ex = exception.get();
+                    IgniteCheckedException ex = e.get();
 
                     if (ex == null)
-                        exception.set(e);
+                        e.set(e0);
                     else
-                        ex.addSuppressed(e);
+                        ex.addSuppressed(e0);
                 }
             }, false);
 
-            if (exception.get() != null)
-                throw new IgniteCheckedException("Failed to destroy store", 
exception.get());
+            if (e.get() != null)
+                throw new IgniteCheckedException("Failed to destroy store", 
e.get());

Review Comment:
   Could this be e(x)Ref & e(x)?



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