-- The last thing a node said it owns. -- -- novox/hq 09-the-node-lifecycle: the host reports what it owns and the mesh keeps the last -- report. **This is a backup, never a source.** The host never reads it to decide anything; it is -- handed back only when a node has lost its own store, and a node that disagrees with it wins, -- because the node is the one that can see the machine. -- -- Its point is the orphans. A node that loses its state file currently strands whatever it had -- applied: nothing on the machine knows those resources were ever the mesh's doing, so nothing -- removes them. With this, a rebuilt node receives both the declaration and the record of what it -- previously owned, and can take away what is no longer declared. alter table node add column owned jsonb; -- When that report arrived. Separate from last_seen, which moves on any word from the node at -- all: a node can be plainly alive for weeks without applying anything, and reading one as the -- other would make a quiet node look like a stale one. alter table node add column owned_reported timestamptz;