summaryrefslogtreecommitdiffstats
path: root/src/remake/api.rs
Commit message (Collapse)AuthorAgeFilesLines
* compact remake fixes base at the committv26 hours1-17/+29
| | | | | | | Instead of fixing base heads at when proposed, compact fixes them when committing. This shrinks the window where writes can be lost if their author restarts to the switch delay; during replace and import remakes writes can still be lost during the voting period.
* allow superseding expired remakestv27 hours1-23/+188
|
* add votes registertv28 hours1-4/+25
|
* put remake content into blobstv31 hours1-12/+16
|
* introduce majority voting on remakestv36 hours1-42/+27
|
* allow import remake using the raw documenttv42 hours1-6/+85
|
* add the import kind of remaketv42 hours1-2/+8
|
* rename cluster to swarm everywhere!tv4 days1-2/+2
|
* make remake switch delay configurabletv4 days1-1/+33
|
* add the replace kind of remaketv5 days1-1/+11
| | | | | | | | | | | | | | POST /admin/remakes accepts specs with replace kind, e.g.: { "kind": "replace", "baseHeads": ["..."], "spec": { "document": { "accounts": { ... } }, "rules": [ { "from": "users", "to": "accounts" }, { "from": "users/admin", "drop": true }, { "from": "", "to": "" } ] } }
* allow choosing the base in remakestv5 days1-4/+53
| | | | | | | | | POST /admin/remakes accepts "baseHeads": ["<hex>", ...], for example the heads of an earlier GET /store?heads=true. Every head must be in the coordinating node's document, otherwise the request gets a 400. Without it, the base is the current heads. This works for any kind.
* turn compaction into a kind of remaketv5 days1-2/+55
|
* rename compaction to remaketv5 days1-0/+474