Skip to content

Commit

Permalink
c/partition_manager: added log entry when partition is removed
Browse files Browse the repository at this point in the history
Added a log entry when partition is removed to make debugging partition
shutdown issues easier.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
  • Loading branch information
mmaslankaprv committed Jul 19, 2024
1 parent 080ac33 commit 5f457ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v/cluster/partition_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ partition_manager::remove(const model::ntp& ntp, partition_removal_mode mode) {
"manager",
ntp));
}
vlog(clusterlog.debug, "removing partition {}", ntp);
partition_shutdown_state shutdown_state(partition);
_partitions_shutting_down.push_back(shutdown_state);
auto group_id = partition->group();
Expand Down

0 comments on commit 5f457ef

Please sign in to comment.