Skip to content

Commit 84de3c5

Browse files
committed
Merge branch 'main' into v1.0-release
2 parents 9cb1955 + 490865e commit 84de3c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/en/guides/manage-cache.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,15 @@ When an upload terminates before the new content has been committed to the repos
251251

252252
So that you do not have to restart from the beginning, the `staging` directory acts as a workspace during uploads, storing metadata for successfully uploaded chunks. The `staging` directory has the following shape:
253253

254+
```
254255
<CACHE_DIR>
255256
├─ xet
256257
│ ├─ staging
257258
│ │ ├─ shard-session
258259
│ │ │ ├─ 906ee184dc1cd0615164a89ed64e8147b3fdccd1163d80d794c66814b3b09992.mdb
259260
│ │ │ ├─ xorb-metadata
260261
│ │ │ │ ├─ 1fe4ffd5cf0c3375f1ef9aec5016cf773ccc5ca294293d3f92d92771dacfc15d.mdb
262+
```
261263

262264
As files are processed and chunks successfully uploaded, their metadata is stored in `xorb-metadata` as a shard. Upon resuming an upload session, each file is processed again and the shards in this directory are consulted. Any content that was successfully uploaded is skipped, and any new content is uploaded (and its metadata saved).
263265

0 commit comments

Comments
 (0)