Skip to content

Commit cebfeff

Browse files
authored
Upload if incremental without checking s3 (#1116)
1 parent f0b7e88 commit cebfeff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

priam/src/main/java/com/netflix/priam/backup/AbstractFileSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public AbstractBackupPath uploadAndDeleteInternal(
184184
long uploadedFileSize;
185185

186186
// Upload file if it not present at remote location.
187-
if (path.getType() != BackupFileType.SST_V2 || !checkObjectExists(remotePath)) {
187+
if (path.getType() != BackupFileType.SST_V2 || path.isIncremental() || !checkObjectExists(remotePath)) {
188188
backupNotificationMgr.notify(path, UploadStatus.STARTED);
189189
uploadedFileSize =
190190
new BoundedExponentialRetryCallable<Long>(

0 commit comments

Comments
 (0)