Kirill Sizov created IGNITE-27839:
-------------------------------------

             Summary: 
ItDisasterRecoveryResetPartitionsTest.shouldResetWithLostPartitions fails with 
Mandatory nodes were excluded from mapping
                 Key: IGNITE-27839
                 URL: https://issues.apache.org/jira/browse/IGNITE-27839
             Project: Ignite
          Issue Type: Bug
            Reporter: Kirill Sizov


{code:java}
org.opentest4j.AssertionFailedError: Unexpected exception thrown: 
org.apache.ignite.sql.SqlException: Mandatory nodes were excluded from mapping: 
[idrrpt_srwlp_3345]  at 
app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
  at 
app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
  at 
app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
  at 
app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
  at 
app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3259)  
at 
app//org.apache.ignite.internal.disaster.ItDisasterRecoveryResetPartitionsTest.shouldResetWithLostPartitions(ItDisasterRecoveryResetPartitionsTest.java:75)
  at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)  at 
[email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)  at 
[email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)Caused by: 
org.apache.ignite.sql.SqlException: IGN-SQL-8 Mandatory nodes were excluded 
from mapping: [idrrpt_srwlp_3345] TraceId:5cb7bce5  at 
[email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:963)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:897)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:680)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:832)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:658)
  at 
app//org.apache.ignite.internal.util.IgniteUtils.getInterruptibly(IgniteUtils.java:842)
  at 
app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.sync(IgniteSqlImpl.java:696)
  at 
app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.execute(IgniteSqlImpl.java:229)
  at 
app//org.apache.ignite.internal.sql.api.SecuredIgniteSql.lambda$execute$1(SecuredIgniteSql.java:70)
  at 
app//org.apache.ignite.internal.sql.api.SecuredIgniteSql.execute(SecuredIgniteSql.java:70)
  at 
app//org.apache.ignite.internal.sql.api.PublicApiThreadingIgniteSql.lambda$execute$2(PublicApiThreadingIgniteSql.java:74)
  at 
app//org.apache.ignite.internal.thread.PublicApiThreading.executeWithRole(PublicApiThreading.java:136)
  at 
app//org.apache.ignite.internal.thread.PublicApiThreading.execUserSyncOperation(PublicApiThreading.java:94)
  at 
app//org.apache.ignite.internal.sql.api.PublicApiThreadingIgniteSql.execute(PublicApiThreadingIgniteSql.java:74)
  at 
app//org.apache.ignite.internal.restart.RestartProofIgniteSql.lambda$execute$3(RestartProofIgniteSql.java:70)
  at 
app//org.apache.ignite.internal.restart.IgniteAttachmentLock.attached(IgniteAttachmentLock.java:51)
  at 
app//org.apache.ignite.internal.restart.RestartProofIgniteSql.execute(RestartProofIgniteSql.java:70)
  at app//org.apache.ignite.sql.IgniteSql.execute(IgniteSql.java:94)  at 
app//org.apache.ignite.internal.ClusterPerClassIntegrationTest.sql(ClusterPerClassIntegrationTest.java:577)
  at 
app//org.apache.ignite.internal.ClusterPerTestIntegrationTest.executeSql(ClusterPerTestIntegrationTest.java:223)
  at 
app//org.apache.ignite.internal.ClusterPerTestIntegrationTest.executeSql(ClusterPerTestIntegrationTest.java:217)
  at 
app//org.apache.ignite.internal.ClusterPerTestIntegrationTest.executeSql(ClusterPerTestIntegrationTest.java:213)
  at 
app//org.apache.ignite.internal.disaster.ItDisasterRecoveryResetPartitionsTest.lambda$shouldResetWithLostPartitions$3(ItDisasterRecoveryResetPartitionsTest.java:75)
  at 
app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
  ... 6 moreCaused by: java.util.concurrent.ExecutionException: 
org.apache.ignite.sql.SqlException: IGN-SQL-8 Mandatory nodes were excluded 
from mapping: [idrrpt_srwlp_3345] TraceId:5cb7bce5  at 
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
  at 
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
  at 
org.apache.ignite.internal.util.IgniteUtils.getInterruptibly(IgniteUtils.java:840)
  ... 26 moreCaused by: org.apache.ignite.sql.SqlException: IGN-SQL-8 Mandatory 
nodes were excluded from mapping: [idrrpt_srwlp_3345] TraceId:5cb7bce5  at 
app//org.apache.ignite.internal.lang.SqlExceptionMapperUtil.mapToPublicSqlException(SqlExceptionMapperUtil.java:50)
  at 
app//org.apache.ignite.internal.sql.engine.exec.fsm.ProgramExecutionState.notifyError(ProgramExecutionState.java:38)
  at 
app//org.apache.ignite.internal.sql.engine.exec.fsm.Program.finalizeActiveProgram(Program.java:142)
  at 
app//org.apache.ignite.internal.sql.engine.exec.fsm.Program.lambda$run$2(Program.java:100)
  at 
[email protected]/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
  at 
[email protected]/java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:887)
  at 
[email protected]/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2325)
  at 
app//org.apache.ignite.internal.sql.engine.exec.fsm.Program.run(Program.java:91)
  at 
app//org.apache.ignite.internal.sql.engine.exec.fsm.Query.runProgram(Query.java:137)
  at 
app//org.apache.ignite.internal.sql.engine.exec.fsm.QueryExecutor.executeQuery(QueryExecutor.java:210)
  at 
app//org.apache.ignite.internal.sql.engine.SqlQueryProcessor.queryAsync(SqlQueryProcessor.java:592)
  at 
app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.executeAsyncInternal(IgniteSqlImpl.java:365)
  at 
app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.executeAsync(IgniteSqlImpl.java:315)
  at 
app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.execute(IgniteSqlImpl.java:228)
  ... 24 more {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to