Skip to content

Commit

Permalink
Merge pull request redpanda-data#13096 from vbotbuildovich/backport-p…
Browse files Browse the repository at this point in the history
…r-13079-v23.2.x-422

[v23.2.x] cloud_storage: replace empty dir type with fragmented vector
  • Loading branch information
andrwng authored Aug 30, 2023
2 parents 8047a99 + 7f0c9f0 commit a3cc764
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v/cloud_storage/recursive_directory_walker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ss::future<walk_result> recursive_directory_walker::walk(
// Object to accumulate data as we walk directories
walk_accumulator state(start_dir, tracker, std::move(collect_filter));

std::vector<ss::sstring> empty_dirs;
fragmented_vector<ss::sstring> empty_dirs;

while (!state.empty()) {
auto target = state.pop();
Expand Down
2 changes: 1 addition & 1 deletion src/v/cloud_storage/recursive_directory_walker.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct walk_result {
uint64_t cache_size{0};
size_t filtered_out_files{0};
fragmented_vector<file_list_item> regular_files;
std::vector<ss::sstring> empty_dirs;
fragmented_vector<ss::sstring> empty_dirs;
};

class recursive_directory_walker {
Expand Down

0 comments on commit a3cc764

Please sign in to comment.