[Bugfix](light-shema-change) fix _finish_clone dead lock (#11823)
In engine_clone_task.cpp, it use tablet->tablet_schema() to create rowset, but in the method, it need a lock that already locked in engine_clone_task.cpp:514. It use cloned_tablet_meta->tablet_schema() originally, but modified in #11131. It need to revert to use cloned_tablet_meta->tablet_schema().
This commit is contained in:
@ -401,7 +401,7 @@ public class RollupJobV2 extends AlterJobV2 implements GsonPostProcessable {
|
||||
AlterReplicaTask rollupTask = new AlterReplicaTask(rollupReplica.getBackendId(), dbId, tableId,
|
||||
partitionId, rollupIndexId, baseIndexId, rollupTabletId, baseTabletId,
|
||||
rollupReplica.getId(), rollupSchemaHash, baseSchemaHash, visibleVersion, jobId,
|
||||
JobType.ROLLUP, defineExprs, descTable, null);
|
||||
JobType.ROLLUP, defineExprs, descTable, tbl.getSchemaByIndexId(baseIndexId));
|
||||
rollupBatchTask.addTask(rollupTask);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user