Automatically remove unused game-file versions
This commit is contained in:
+17
-4
@@ -408,8 +408,20 @@ automatic updates install it between host operations.
|
||||
Phase transitions are reported promptly and periodic heartbeats carry progress;
|
||||
controller round trips do not stall every transferred chunk.
|
||||
Corrupt or incomplete content never becomes Ready. Cache inventory is reconciled
|
||||
on heartbeats, including vanished caches. Previous immutable uploads remain usable
|
||||
when their exact manifest is verified.
|
||||
on heartbeats, including vanished caches. The latest published version of each game
|
||||
is always retained. With agent 1.4.7 or newer, an older host copy is automatically
|
||||
removed once no live instance reservation on that host references it. Stopped,
|
||||
provisioning, and rebuilding instances still pin their version. The agent also
|
||||
refuses deletion if any Docker container (including stopped containers) mounts
|
||||
those files. Cleanup includes partial downloads and retries after interruption.
|
||||
|
||||
The controller removes an older version's files after every host has reported its
|
||||
copy absent and no instance or unresolved operation references that version.
|
||||
Offline hosts keep their last reported copies pinned until they reconnect.
|
||||
Upload metadata, manifests, and operation history remain visible; removed files
|
||||
cannot be downloaded again without a new upload. Cleanup runs on heartbeats,
|
||||
successful publication, and the controller background worker, without needing
|
||||
an open Game Files page.
|
||||
|
||||
The controller and reverse proxy must accept 8 MiB upload requests and folder
|
||||
manifests up to 32 MiB. Compose sets `BODY_SIZE_LIMIT=Infinity`; application routes
|
||||
@@ -418,8 +430,9 @@ limit of at least 32 MiB (for example `client_max_body_size 32m` in nginx).
|
||||
Existing uploads, host caches and server references remain usable. Previously
|
||||
named libraries are grouped under T5 or T6, and the most recently published
|
||||
upload for each game becomes its latest files. Their immutable IDs and stored
|
||||
content are preserved; no reupload is needed. Legacy source-host imports retain
|
||||
their existing IDs and can complete through their original workflow.
|
||||
content still in use are preserved; unused older files are cleaned up automatically.
|
||||
Legacy source-host imports retain their existing IDs and can complete through
|
||||
their original workflow.
|
||||
|
||||
Reservations include host ID, local bind address, protocol and port. Wildcard
|
||||
binds conflict with concrete addresses on the same host. UDP and TCP reservations
|
||||
|
||||
Reference in New Issue
Block a user