You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The apply execution plan for apply needs to include:
Upgrade Action for all items.
Items that need to be cleaned.
Items that need to be ensured.
Not sure if this should be part of DiffCmd. Diff for "what's different between environments", and "what's different between versions of this environment", is different to diff for "what will happen when apply is run".
This may turn into a CmdQueue, and later on be executed by a CmdQueueCmd:
An ApplyPlan contains:
Item instances to clean.
Item instances to create.
Order that those item instances are cleaned or created.
Some new items should be created before cleaning old items, e.g. newer servers should be created before taking away the older servers, then DNS switchover, then clean.
Some items cannot be created until the older items are cleaned, e.g. new servers should reuse existing IP addresses that are currently associated with existing servers.
CmdQueue: Queue of:
StatesDiscoverCmd: Make sure the current state is the same as what the user has made a decision upon.
EnsureCmd: Create items for minimizing downtime.
CleanCmd: Clean items that are blocking new items from being created.
EnsureCmd: Create items that are now unblocked.
CleanCmd: Clean items that are no longer needed.
The text was updated successfully, but these errors were encountered:
Enables deterministic execution, and history.
The apply execution plan for
apply
needs to include:Not sure if this should be part of
DiffCmd
. Diff for "what's different between environments", and "what's different between versions of this environment", is different to diff for "what will happen whenapply
is run".This may turn into a
CmdQueue
, and later on be executed by aCmdQueueCmd
:An
ApplyPlan
contains:Item instances to clean.
Item instances to create.
Order that those item instances are cleaned or created.
CmdQueue
: Queue of:StatesDiscoverCmd
: Make sure the current state is the same as what the user has made a decision upon.EnsureCmd
: Create items for minimizing downtime.CleanCmd
: Clean items that are blocking new items from being created.EnsureCmd
: Create items that are now unblocked.CleanCmd
: Clean items that are no longer needed.The text was updated successfully, but these errors were encountered: