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

Add daemon plugin #44

Open
Shelnutt2 opened this issue Jan 6, 2018 · 1 comment
Open

Add daemon plugin #44

Shelnutt2 opened this issue Jan 6, 2018 · 1 comment

Comments

@Shelnutt2
Copy link
Owner

Add support for a daemon plugin which can manipulate a table in order to perform maintenance operations. Initially this will be limited to file consolidation.

Two strategies that need to be examined are having the daemon use the handler interface to interact with the table structure, similar to handler_socket plugin. The second strategy is to link directly to ha_crunch library and manipulate the table outside of mariadb handler structure. The main issue with the second method is locks still need to be acquired in order to safely consolidate the files.

@Shelnutt2
Copy link
Owner Author

The latest idea is to just use a background thread to launch the daemon process from the plugin init function. We can then clean up by implementing a de-init function. This needs additional testing to determine the feasibility and the best approach.

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

No branches or pull requests

1 participant