Skip to content

New loader and processor logic #533

Closed
@wzrdtales

Description

@wzrdtales

Description

To enable several new feature lines, the loader and processor logic is going to be rewritten.

Implementation

Current behavior is as easy:

Cmd->get online state->get local files->filter out online files->process file

New behavior will be

Cmd->get online state->get meta state->infect driver with processor->check meta state->get local files->filter out online files->get file version->select executor->process file->process and record each instruction via processor

The main difference is a new additional state and that we don't execute migrations/seeds anymore, but execute instructions via the core instead of the driver. This allows us to record executed actions, execute atomic actions, continue aborted actions, rollback even from interrupted processes. Additionally we start to make use of the file version contained in the _meta block.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions