fix: catch exception from LoadWithStrategy(#46380) (#46381)

related: #46380

Signed-off-by: MrPresent-Han <chun.han@gmail.com>
Co-authored-by: MrPresent-Han <chun.han@gmail.com>
This commit is contained in:
Chun Han 2025-12-17 11:37:17 +08:00 committed by GitHub
parent 28061ec2f4
commit f0265dde18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -704,6 +704,8 @@ SegmentGrowingImpl::load_column_group_data_internal(
}
}
}
// access underlying feature to get exception if any
load_future.get();
for (auto& [field_id, field_data] : field_data_map) {
load_field_data_common(field_id,

View File

@ -1364,6 +1364,8 @@ GetFieldDatasFromStorageV2(std::vector<std::vector<std::string>>& remote_files,
}
field_data_list.push_back(field_data);
}
// access underlying feature to get exception if any
load_future.get();
}
return field_data_list;
}