Repository navigation
Commit d8e6ce7
committed
fix(serverless): omit failed big-file copies from VolumeCache manifest (SLS-367)
_copy_parallel now returns (copied, current) source-path sets so callers
can tell which files actually reached the volume. _do_sync records big_meta
only for the copied|current union, so a big file whose copy failed is no
longer written to the manifest as present -- preventing a later cold
hydrate from serving stale volume bytes for it.1 parent c876ec5 commit d8e6ce7
2 files changed
Lines changed: 85 additions & 12 deletions
File tree
- runpod/serverless/utils
- tests/test_serverless/test_utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
235 | 248 | | |
| 249 | + | |
236 | 250 | | |
237 | | - | |
| 251 | + | |
238 | 252 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
244 | 259 | | |
245 | 260 | | |
246 | 261 | | |
| |||
368 | 383 | | |
369 | 384 | | |
370 | 385 | | |
371 | | - | |
| 386 | + | |
| 387 | + | |
372 | 388 | | |
373 | 389 | | |
374 | 390 | | |
| |||
425 | 441 | | |
426 | 442 | | |
427 | 443 | | |
428 | | - | |
429 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
430 | 454 | | |
431 | 455 | | |
432 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
640 | 686 | | |
641 | 687 | | |
642 | 688 | | |
| |||
817 | 863 | | |
818 | 864 | | |
819 | 865 | | |
820 | | - | |
821 | | - | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
822 | 871 | | |
823 | 872 | | |
824 | 873 | | |
825 | 874 | | |
826 | 875 | | |
827 | | - | |
| 876 | + | |
0 commit comments