Introduce skeleton plugin process.

For external parsing there will be a separate process that handles
parse requests sent from MaxScale. From MaxScale's perspective there
will just be a specific query classifier plugin that upon startup
launches that external process and manages its lifetime. That is,
MaxScale proper will be completely oblivious of this arrangement.

The skeleton process introduced here does nothing; just sits in
a loop sleeping. The skeleton query classifier plugin currently
loads the MySQL embedded query classifier and performs parsing
using it. That way the external process based query classifier can
immediately be used.

Next step is to introduce process management into the picture without
actually moving the parsing anywhere.
This commit is contained in:
Johan Wikman
2016-02-11 08:41:22 +02:00
parent 8a814fbec4
commit 2e5bfc14f2
8 changed files with 276 additions and 0 deletions

View File

@ -1,4 +1,5 @@
add_subdirectory(qc_mysqlembedded)
add_subdirectory(qc_pp)
if(BUILD_TESTS)
add_subdirectory(test)