Skip to content

Commit

Permalink
fix comments and IWYU
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Dec 12, 2024
1 parent 503a498 commit 0b0489f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/replica/replica_backup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/shell/commands/duplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void stat_dups(const ls_app_dups_map &app_states, uint32_t progress_gap, list_du
}

for (const auto &[partition_id, partition_state] : dup.partition_states) {
// A duplication could be "finished" only in the status of `DS_LOG`.
// Only in the status of `DS_LOG`could a duplication be considered as "finished".
if (dup.status == duplication_status::DS_LOG) {
if (partition_state.last_committed_decree < partition_state.confirmed_decree) {
// This is unlikely to happen.
Expand Down

0 comments on commit 0b0489f

Please sign in to comment.