NorskManager.abortMigration() method

Abort an in-flight migration. Manager dispatches NodeControllerMigrationAbort to both the source and target workers (the source resumes output, the target tears its migration state down). migrationId lets a worker ignore an abort that belongs to a predecessor of the migration it is in.

Signature:

abortMigration(jobId: JobId, sourceRole: string, targetRole: string, reason: string, migrationId: string): Promise<void>;

Parameters

Parameter Type Description

jobId

JobId

sourceRole

string

targetRole

string

reason

string

migrationId

string

Returns:

Promise<void>