Skip to content

Commit

Permalink
c/m_manager: logging error applying members command to state machine
Browse files Browse the repository at this point in the history
Added log entry informing user about an issue that occurred when a
command was applied to the `members_table`

Signed-off-by: Michał Maślanka <michal@redpanda.com>
  • Loading branch information
mmaslankaprv committed Aug 1, 2024
1 parent fc702c8 commit 10c7548
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/v/cluster/members_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,14 @@ ss::future<std::error_code> members_manager::dispatch_updates_to_cores(
"expected result: {}, have: {}",
error,
results);
if (error) {
vlog(
clusterlog.warn,
"error applying command with type {} at offset {} - {}",
Cmd::type,
update_offset,
error.message());
}

co_return error;
}
Expand Down

0 comments on commit 10c7548

Please sign in to comment.