Skip to content

Commit

Permalink
Merge pull request #5406 from Lazin/backport/5392
Browse files Browse the repository at this point in the history
backport: Use correct flag in archival service
  • Loading branch information
Lazin committed Jul 8, 2022
2 parents 9e82b1d + 56eec94 commit 5f8e091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/archival/service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ scheduler_service_impl::create_archivers(std::vector<model::ntp> to_create) {
auto part = _partition_manager.local().get(ntp);
if (log.has_value() && part && part->is_elected_leader()
&& (part->get_ntp_config().is_archival_enabled()
|| config::shard_local_cfg().cloud_storage_enable_remote_read())) {
|| config::shard_local_cfg().cloud_storage_enable_remote_write())) {
auto svc = ss::make_lw_shared<ntp_archiver>(
log->config(), _conf, _remote.local(), part);
return ss::repeat(
Expand Down

0 comments on commit 5f8e091

Please sign in to comment.