Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We change the RemoteLogManager.RLMCopyTask#candidateLogSegments's logic for decide one segment if need to upload to remote: 

Image RemovedImage Added

You can see the uploading will be delayed if the configure remote.copy.lazy.enable is true. And After the change, the remote tiered storage redundancy will be reduced with delayed upload.
You can refer to the test case and result: https://github.com/apache/kafka/pull/20913#issuecomment-3547156286

...