Commit f9af6fb
Vadim Belov
Prevent duplicate chunk hashes with different compression
Ensure that uploaded chunk hashes cannot be stored with different compression algorithms for the same storage module. If a hash already exists with a different algorithm, throw an exception to prevent inconsistent storage.1 parent 02c4ec2 commit f9af6fb
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
455 | 455 | | |
456 | | - | |
457 | | - | |
| 456 | + | |
| 457 | + | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
459 | 464 | | |
460 | 465 | | |
461 | 466 | | |
| |||
0 commit comments