[Remote Store] Refactor Translog metadata upload/download to write/read header and footer via VersionedCodecStreamWrapper #7228
Labels
enhancement
Enhancement or improvement to existing feature or request
Is your feature request related to a problem? Please describe.
Translog metadata files uploaded to remote store contain header(codec and version) and footer(checksum). This is done in TranslogTransferMetadata. While implementing the same for segment metadata files uploaded to remote store, we created new interfaced to abstract out header footer addition to input streams.
Describe the solution you'd like
Refactor Translog metadata files to use those interfaces (VersionedCodecStreamWrapper) instead of directly calling CodecUtils.
Describe alternatives you've considered
NA
Additional context
The text was updated successfully, but these errors were encountered: