Expand description
memory.global.put, memory.global.remove and memory.global.list: one Global Memory for
the fleet (task #12439, section 4.6). The rules for which write wins and what is never touched
are in backend::memory::fleet; these are the thin handlers the transport calls.
A write is attributed to the remote agent as slug@machine, never to the operator, and with
no uid: the callerโs uid is signed but not tied to its key, so it describes and never proves.
Constantsยง
- MAX_
PUT_ ๐PARAMS - The most params bytes
memory.global.puttakes: the 1 MiB an entryโs text may be, plus its JSON escaping and the other fields.
Functionsยง
- list ๐
- What this machine holds for the fleet, without any text: the ids, when each was written, a hash of its content and whether it was removed, so the caller can tell what to send.
- parse ๐
- put ๐
- remove ๐
- write ๐
- Run a store write off the async threads and tell the Memory pane when it changed something.