Class ProcessInstanceByProcessDefinitionMigration
java.lang.Object
io.camunda.zeebe.engine.state.migration.to_8_3.ProcessInstanceByProcessDefinitionMigration
- All Implemented Interfaces:
MigrationTask
This migration is used to initially fill the PROCESS_INSTANCE_KEY_BY_DEFINITION_KEY ColumnFamily.
It will go over all the element instances, check if they are of the BpmnElementType PROCESS, and
if they are insert them into the ColumnFamily.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns identifier for the migration task.voidrunMigration(MutableProcessingState processingState) Implementations of this method perform the actual migrationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.engine.state.migration.MigrationTask
needsToRun
-
Constructor Details
-
ProcessInstanceByProcessDefinitionMigration
public ProcessInstanceByProcessDefinitionMigration()
-
-
Method Details
-
getIdentifier
Description copied from interface:MigrationTaskReturns identifier for the migration task.The identifier is used for logging.
In the future, it might also be used to store the migrations that were run in persistent state
- Specified by:
getIdentifierin interfaceMigrationTask- Returns:
- identifier for the migration task
-
runMigration
Description copied from interface:MigrationTaskImplementations of this method perform the actual migration- Specified by:
runMigrationin interfaceMigrationTask- Parameters:
processingState- the mutable Zeebe state
-