Expand description
App history_reclaim (GET/POST /api/v1/agent/history/reclaim): a host or container agent asks for the
shared pane-history store’s free space to be given back at the next start, withdraws that request, or reads
where it stands. The window does the same with history.reclaim (History > Storage); nothing in
the request touches the host’s files from the agent’s side: srv writes the one marker beside its own store.
The request is recorded as the calling agent (the marker’s requested_by is its slug, and the HTTP layer
records the call under its token, never as the operator). It runs only at an srv start, so the operator
sees it pending in Storage and can cancel it there. Asking again keeps the first request.
Structs§
Functions§
- caller_
slug 🔒 - The slug of the agent the request’s token names.
- change 🔒
- Request, cancel or read the reclaim of the store at
db, asby. - handle_
history_ 🔒reclaim POST /api/v1/agent/history/reclaim:{ "action": "request" | "cancel" }.- handle_
history_ 🔒reclaim_ status GET /api/v1/agent/history/reclaim: where the request and the last reclaim stand; changes nothing.- refuse 🔒
- respond 🔒
- run_for 🔒
- The same request, cancel or read as the route, for a caller that is not on this machine (
app.history_reclaim):byis the actor the marker and the log name.actionisrequest,cancelorstatus. - status_
of 🔒 - The request and last result, as the answer says them.
- store_
db 🔒 - The shared store’s database file.