private void applyMigrationOperation(String name, KRaftMigrationOperation migrationOp) {
        applyMigrationOperation(name, migrationOp, false);
    }
Apply a function which transforms our internal migration state.

@param name         A descriptive name of the function that is being applied
@param migrationOp  A function which performs some migration operations and possibly transforms our internal state
metadata/src/main/java/org/apache/kafka/metadata/migration/KRaftMigrationDriver.java