[fix](schema_hash) Fix bug that introduced by removing schema_hash (#9449)
This commit is contained in:
@ -1637,8 +1637,8 @@ void TaskWorkerPool::_submit_table_compaction_worker_thread_callback() {
|
||||
compaction_type = CompactionType::CUMULATIVE_COMPACTION;
|
||||
}
|
||||
|
||||
TabletSharedPtr tablet_ptr = StorageEngine::instance()->tablet_manager()->get_tablet(
|
||||
compaction_req.tablet_id, compaction_req.schema_hash);
|
||||
TabletSharedPtr tablet_ptr =
|
||||
StorageEngine::instance()->tablet_manager()->get_tablet(compaction_req.tablet_id);
|
||||
if (tablet_ptr != nullptr) {
|
||||
auto data_dir = tablet_ptr->data_dir();
|
||||
if (!tablet_ptr->can_do_compaction(data_dir->path_hash(), compaction_type)) {
|
||||
|
||||
Reference in New Issue
Block a user