Skip to content

Commit

Permalink
c/controller_backend: use correct fn to move offset translator state
Browse files Browse the repository at this point in the history
Previously due to a typo raft::details::move_persistent_state was called
twice. Fixes redpanda-data#4466
  • Loading branch information
ztlpn committed Apr 29, 2022
1 parent ddebd78 commit 3152509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/cluster/controller_backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ ss::future<std::error_code> controller_backend::process_partition_update(
previous_shard);
co_await raft::details::move_persistent_state(
requested.group, *previous_shard, ss::this_shard_id(), _storage);
co_await raft::details::move_persistent_state(
co_await raft::offset_translator::move_persistent_state(
requested.group, *previous_shard, ss::this_shard_id(), _storage);

auto ec = co_await create_partition(
Expand Down

0 comments on commit 3152509

Please sign in to comment.