Declare every module's data; the backup holder measures it (hq ADR 0233)
Backup lines are derived from each module's data section instead of written by hand; the holder measures declared items, reads the array under them, and deletes a retired item only after a last restore point; the Go providers say each held consumer's size so an empty replacement is seen.
This commit is contained in:
@@ -29,6 +29,52 @@
|
||||
"why": "the document server over http; its public name is a route grant, and route-proxy reaches it on this published port"
|
||||
}
|
||||
],
|
||||
"data": {
|
||||
"own": [
|
||||
{
|
||||
"id": "data",
|
||||
"path": "${dir:data}",
|
||||
"class": "rebuildable",
|
||||
"why": "documents being edited; the documents themselves are the file store's"
|
||||
},
|
||||
{
|
||||
"id": "lib",
|
||||
"path": "${dir:lib}",
|
||||
"class": "rebuildable",
|
||||
"why": "the document server's working files"
|
||||
},
|
||||
{
|
||||
"id": "db",
|
||||
"path": "${dir:db}",
|
||||
"class": "rebuildable",
|
||||
"why": "the document server's own database of editing sessions"
|
||||
},
|
||||
{
|
||||
"id": "fonts",
|
||||
"path": "${dir:fonts}",
|
||||
"class": "rebuildable",
|
||||
"why": "fonts, installed again"
|
||||
},
|
||||
{
|
||||
"id": "logs",
|
||||
"path": "${dir:logs}",
|
||||
"class": "cache",
|
||||
"why": "logs"
|
||||
},
|
||||
{
|
||||
"id": "rabbitmq",
|
||||
"path": "${dir:rabbitmq}",
|
||||
"class": "cache",
|
||||
"why": "its queue's working set"
|
||||
},
|
||||
{
|
||||
"id": "redis",
|
||||
"path": "${dir:redis}",
|
||||
"class": "cache",
|
||||
"why": "its cache"
|
||||
}
|
||||
]
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"id": "state",
|
||||
|
||||
Reference in New Issue
Block a user