showuon opened a new pull request, #13779:
URL: https://github.com/apache/kafka/pull/13779

   UnifiedLog relied on the `remoteStorageSystemEnable` to identify if the 
broker is enabling remote storage, but we never pass this value from the config 
into UnifiedLog. So it'll always be false.
   
   In this PR, I did:
   1. pass `remoteStorageSystemEnable` to `UnifiedLog`
   2. remove `remoteLogManager` from the class member of `UnifiedLog` since 
only `UnifiedLog#fetchOffsetByTimestamp` needs `remoteLogManager`, and this can 
be passed when called from `ReplicaManager`.
   
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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]

Reply via email to