Merge pull request #46344 from ClickHouse/rs/stabilize-full_text_seaerch_test

Try to stabilize test 02346_full_text_search.sql
This commit is contained in:
Robert Schulze 2023-02-15 10:47:00 +01:00 committed by GitHub
commit ec33204c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -684,6 +684,12 @@ void DataPartStorageOnDiskBase::clearDirectory(
request.emplace_back(fs::path(dir) / "delete-on-destroy.txt", true);
request.emplace_back(fs::path(dir) / "txn_version.txt", true);
/// Inverted index
request.emplace_back(fs::path(dir) / "skp_idx_af.gin_dict", true);
request.emplace_back(fs::path(dir) / "skp_idx_af.gin_post", true);
request.emplace_back(fs::path(dir) / "skp_idx_af.gin_seg", true);
request.emplace_back(fs::path(dir) / "skp_idx_af.gin_sid", true);
disk->removeSharedFiles(request, !can_remove_shared_data, names_not_to_remove);
disk->removeDirectory(dir);
}