Skip to content

Commit

Permalink
Merge pull request redpanda-data#13079 from andrwng/cloud_storage-emp…
Browse files Browse the repository at this point in the history
…ty-dir-frag-vec

cloud_storage: replace empty dir type with fragmented vector
  • Loading branch information
andrwng authored Aug 30, 2023
2 parents aa30b2e + 6c59b7a commit 46be53a
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 46be53a

Please sign in to comment.