fix: [2.5] Remove noexcept from `CacheIndexToDiskInternal` (#41221)

Related to #41219

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/41222/head pkg/v2.5.9
congqixia 2025-04-10 17:18:26 +08:00 committed by GitHub
parent 2e8445c2ef
commit de6687e27d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ DiskFileManagerImpl::AddBatchIndexFiles(
void
DiskFileManagerImpl::CacheIndexToDiskInternal(
const std::vector<std::string>& remote_files,
const std::function<std::string()>& get_local_index_prefix) noexcept {
const std::function<std::string()>& get_local_index_prefix) {
auto local_chunk_manager =
LocalChunkManagerSingleton::GetInstance().GetChunkManager();

View File

@ -159,7 +159,7 @@ class DiskFileManagerImpl : public FileManagerImpl {
void
CacheIndexToDiskInternal(
const std::vector<std::string>& remote_files,
const std::function<std::string()>& get_local_index_prefix) noexcept;
const std::function<std::string()>& get_local_index_prefix);
private:
// local file path (abs path)