Skip to content

Commit

Permalink
GG-38909 Fixed SecurityException that prevented cancellation partitio…
Browse files Browse the repository at this point in the history
…n reconciliation session on a secure cluster (#3150)

(cherry picked from commit 27a58e1)
  • Loading branch information
sk0x50 committed May 8, 2024
1 parent 3a36f0e commit 6c4b248
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import org.apache.ignite.IgniteException;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.processors.cache.verify.checker.tasks.PartitionReconciliationProcessorTask.ReconciliationSessionId;
import org.apache.ignite.internal.processors.task.GridInternal;
import org.apache.ignite.internal.visor.VisorJob;
import org.apache.ignite.internal.visor.VisorOneNodeTask;
Expand Down Expand Up @@ -65,13 +66,7 @@ protected VisorPartitionReconciliationCancelJob(@Nullable Void arg, boolean debu

/** {@inheritDoc} */
@Override protected Void run(@Nullable Void arg) throws IgniteException {
ignite.compute()
.broadcastAsync(
() -> ignite.context()
.diagnostic()
.reconciliationExecutionContext()
.registerSession(STOP_SESSION_ID, 1))
.get();
ignite.compute().broadcastAsync(new ReconciliationSessionId(STOP_SESSION_ID, 1)).get();

return null;
}
Expand Down

0 comments on commit 6c4b248

Please sign in to comment.