Add new feature to enable specifying SQL patterns lists that should not be load-balanced.
Even though currently we can do this by adding the
/*NO LOAD BALANCE*/ comment to queries, this requires
modifying application codes and this is not always
possible.
This feature enables specifying SQL patterns lists
that should not be load-balanced.
-------------
New parameter
-------------
black_query_pattern_list = ''
You can specify a semicolon separated list of SQL patterns
that should be sent to primary node only.
SQL that matched patterns specified in this list are not load balanced.
Only Maste Slave mode is supported.
You can use regular expression to match SQL patterns,
to which ^ and $ are automatically added.
When using characters such as "'", ";" or "*" in SQL patterns,
you need to escape them using "\".