Skip to content

Commit 5a65f0b

Browse files
committed
Clarify techno babble
1 parent 3fb3f10 commit 5a65f0b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

posts/2022-02-14-crates-io-snapshot-branches.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ commit](https://internals.rust-lang.org/t/cargos-crate-index-upcoming-squash-int
1111
to minimize the history Cargo needs to download. When the index is squashed, we save snapshots
1212
to preserve the history of crate publishes.
1313

14-
Currently, those snapshots are stored as branches in the main index Git repository. This uses server resources because of the recompression of objects that are
15-
delta-compressed against objects that are only referenced in branches not fetched by the client. We
16-
will be deleting the snapshot branches from this repository to ensure that all objects referenced in the master branch
17-
will only be compressed against other objects in the master branch, ensuring that the current clone
18-
behavior will be much more efficient on the server side.
14+
Currently, those snapshots are stored as branches in the main index Git repository. Those branches
15+
are using server resources though, as the server still has to consider their contents whenever
16+
Cargo asks for the master branch. We will be deleting the snapshot branches from this repository to
17+
ensure that all objects referenced in the master branch will only be compressed against other
18+
objects in the master branch, ensuring that the current clone behavior will be much more efficient
19+
on the server side.
1920

2021
Here's how this might affect you:
2122

0 commit comments

Comments
 (0)