Commit 7ba59e8
Unified cross-region transfer budget (10GB) (#3627)
- Merge `mirror_fs.py` into `marin_fs.py` — single file for all
cross-region filesystem logic
- Replace the old 100MB per-file `CrossRegionReadError` and per-instance
`MirrorCopyLimitExceeded` with a shared, thread-safe `TransferBudget`
(10GB process-global limit)
- Both `CrossRegionGuardedFS` (direct reads) and `MirrorFileSystem`
(mirror copies) draw from the same budget
- Remove `_is_gcs` field from `CrossRegionGuardedFS` — redundant since
entry points already only wrap GCS
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Russell Power <rjpower@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8774c0c commit 7ba59e8
File tree
5 files changed
+424
-498
lines changed- experiments
- lib/iris
- src/iris
- tests
5 files changed
+424
-498
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
0 commit comments