Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added grace-period for incomplete uploads to avoid backups stopping d…
…ue to the Apache WebDAV issues. This fixes #1243.
- Loading branch information
Showing
8 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Duplicati/Library/Main/Database/Database schema/3. Add grace delete period.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
CREATE TABLE "RemoteVolume_Temp" ( | ||
"ID" INTEGER PRIMARY KEY, | ||
"OperationID" INTEGER NOT NULL, | ||
"Name" TEXT NOT NULL, | ||
"Type" TEXT NOT NULL, | ||
"Size" INTEGER NULL, | ||
"Hash" TEXT NULL, | ||
"State" TEXT NOT NULL, | ||
"VerificationCount" INTEGER NOT NULL, | ||
"DeleteGraceTime" INTEGER NOT NULL | ||
); | ||
|
||
INSERT INTO "RemoteVolume_Temp" SELECT "ID", "OperationID", "Name", "Type", "Size", "Hash", "State", "VerificationCount", 0 FROM "RemoteVolume"; | ||
DROP TABLE "RemoteVolume"; | ||
ALTER TABLE "RemoteVolume_Temp" RENAME TO "RemoteVolume"; | ||
|
||
UPDATE "Version" SET "Version" = 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0de9adc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Duplicati. There might be relevant details there:
https://forum.duplicati.com/t/client-verification-file-contains-expired-files/13459/2