pico-engine icon indicating copy to clipboard operation
pico-engine copied to clipboard

We would like to be able to move a pico from one pico engine to another

Open b1conrad opened this issue 2 years ago • 1 comments

The v0 engine had these primitives (see its engine module):

  • engine:exportPico
  • engine:importPico
  • engine:setPicoStatus
  • engine:getPicoStatus

Pico status included a Boolean flag isLeaving and a forwarding address of sorts, movedToHost.

Importing a pico required the specification of its parent in the receiving pico engine.

b1conrad avatar Apr 14 '22 14:04 b1conrad

A poor man's way of moving one pico from a pico engine containing many picos to a new pico engine which will only contain that one pico: copy the image (the db folder) from the current pico engine to the new pico engine. Then, delete all other picos, except for the picos along the parent path up to the Root pico. If a parent did something with a collection of its children (as in the fully-sharded-database experiment) then some of its rulesets could be removed.

b1conrad avatar Apr 14 '22 14:04 b1conrad