Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New loader and processor logic #533

Closed
wzrdtales opened this issue Jan 11, 2018 · 0 comments
Closed

New loader and processor logic #533

wzrdtales opened this issue Jan 11, 2018 · 0 comments
Assignees
Milestone

Comments

@wzrdtales
Copy link
Member

wzrdtales commented Jan 11, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant