NSAmelchev commented on code in PR #11694:
URL: https://github.com/apache/ignite/pull/11694#discussion_r1934078930
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ExchangeFailureMessage.java:
##########
@@ -91,27 +92,42 @@ public Collection<String> cacheNames() {
return cacheNames;
}
+ /** */
+ public Map<UUID, Exception> exchangeErrors() {
+ return exchangeErrors;
+ }
+
/**
- * @return Cache start error.
+ * @return Cache updates to be executed on exchange.
*/
- public IgniteCheckedException error() {
- return cause;
+ public ExchangeActions exchangeRollbackActions() {
+ return exchangeRollbackActions;
}
/**
- * @return Cache updates to be executed on exchange.
+ * @param exchangeRollbackActions Cache updates to be executed on exchange.
*/
- public ExchangeActions exchangeActions() {
- return exchangeActions;
+ public void exchangeRollbackActions(ExchangeActions
exchangeRollbackActions) {
+ assert exchangeRollbackActions != null &&
!exchangeRollbackActions.empty() : exchangeRollbackActions;
Review Comment:
!F.isEmpty ?
--
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]