Skip to content

Commit

Permalink
add checkpoint file in toupload list
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Kumawat <2025sandeepkumawat@gmail.com>
  • Loading branch information
skumawat2025 committed Apr 11, 2024
1 parent 69c33bb commit 353d6f8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ private void uploadBlob(
WritePriority writePriority
) throws IOException {

if (fileSnapshot instanceof FileSnapshot.CheckpointFileSnapshot){
logger.info("Checkpoint file = {} is stored as metadata of Translog file", fileSnapshot.getName());
listener.onResponse(fileSnapshot);
return;
}
Map<String, String> metadata = prepareFileMetadata(fileSnapshot);

try {
Expand Down

0 comments on commit 353d6f8

Please sign in to comment.