Skip to content

Commit

Permalink
Merge pull request #9407 from jcsp/v23.1.x-tiered-storage-deletion-log
Browse files Browse the repository at this point in the history
[v23.1.x] cloud_storage: fix "Leaving S3 objects behind" message
  • Loading branch information
abhijat authored Mar 14, 2023
2 parents ec6a08b + 653a688 commit 85401df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/v/cluster/partition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,11 @@ ss::future<> partition::remove_remote_persistent_state(ss::abort_source& as) {
get_ntp_config().is_archival_enabled(),
get_ntp_config().is_read_replica_mode_enabled());
co_await _cloud_storage_partition->erase(as);
} else {
} else if (_cloud_storage_partition && tiered_storage) {
vlog(
clusterlog.info, "Leaving S3 objects behind for partition {}", ntp());
clusterlog.info,
"Leaving tiered storage objects behind for partition {}",
ntp());
}
}

Expand Down

0 comments on commit 85401df

Please sign in to comment.