Commit f15ba14
committed
Flush uploaded hashes after backup; remove chunk exists check
Added a flush of pending uploaded hashes in the backup job's cleanup process to ensure all hashes are persisted after execution. Removed the logic that checked for chunk existence in storage and the database before uploading, so chunks are now always uploaded without prior existence verification. Errors during hash flush are logged but do not interrupt cleanup.1 parent 250fef5 commit f15ba14
1 file changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
355 | 364 | | |
356 | 365 | | |
357 | 366 | | |
358 | | - | |
359 | 367 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
| |||
0 commit comments