showuon commented on code in PR #16765:
URL: https://github.com/apache/kafka/pull/16765#discussion_r1706948847
##########
core/src/main/scala/kafka/log/UnifiedLog.scala:
##########
@@ -1478,7 +1485,7 @@ class UnifiedLog(@volatile var logStartOffset: Long,
// Segments are eligible for deletion when:
// 1. they are uploaded to the remote storage
// 2. log-start-offset was incremented higher than the largest offset
in the candidate segment
- if (remoteLogEnabled()) {
+ if (remoteLogEnabledAndRemoteCopyEnabled()) {
Review Comment:
Updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]