Files
MaxScale/server/include
Johan Wikman 85b3d7c465 Make the instance name available to filters
The section name of a filter in the MaxScale configuration
file is unique for each filter. Hence, by providing that name
to the filter instance creation function, it is possible to
act differently depending on which particular instance is
being created.

Case in point.

There can be multiple cache filters defined in the MaxScale
configuration file, each with a different set of rules, ttl
and even backing store.

Each cache will be backed by a separate storage that e.g.
in the case of RocksDB will correspond to a particular path.

In other words, for each cache instance corresponding to a
particular cache definition in the MaxScale configuration file,
we need to be able to create a unique path.

If the filter section name (in the MaxScale configuration file)
that anyways needs to be unique, is provided to the filter, then
that name can be used when forming the unique path.

The alternative is to require the DBA to provide some unique
parameter for each cache definition, which adds configuration
overhead and is errorprone.

Furthermore, by providing the name to filters, also error
messages can be customized for a particular section when
appropriate.
2016-08-29 09:33:34 +03:00
..
2016-08-18 12:55:45 +03:00
2014-02-05 14:49:05 +01:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-18 12:55:45 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-11 12:44:07 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-24 17:33:31 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-26 15:39:03 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00
2016-08-17 10:06:35 +03:00