Skip to content

Commit

Permalink
s/log: removed the line informing user about outstanding locks
Browse files Browse the repository at this point in the history
Removed the line that informed the user about outstanding locks keeping
the segment alive as now the lock is cleared before the segment is
closed.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
  • Loading branch information
mmaslankaprv committed Nov 25, 2024
1 parent 3a9d721 commit 09feb36
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/v/storage/disk_log_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2534,12 +2534,6 @@ ss::future<> disk_log_impl::remove_segment_permanently(
_probe->delete_segment(*s);
// background close
s->tombstone();
if (s->has_outstanding_locks()) {
vlog(
stlog.info,
"Segment has outstanding locks. Might take a while to close:{}",
s->reader().filename());
}

return _readers_cache->evict_segment_readers(s)
.then([s](readers_cache::range_lock_holder cache_lock) {
Expand Down

0 comments on commit 09feb36

Please sign in to comment.