Addition of cache for server responses. This allows cached responses to be sent

if there is no master avaiable when MaxScale starts
This commit is contained in:
Mark Riddoch
2015-01-28 08:44:13 +00:00
parent b758dc1a4a
commit 0a9509168b
5 changed files with 178 additions and 1 deletions

View File

@ -207,6 +207,7 @@ typedef struct {
time_t lastReply;
uint64_t n_fakeevents; /*< Fake events not written to disk */
uint64_t n_artificial; /*< Artificial events not written to disk */
int n_badcrc; /*< No. of bad CRC's from master */
uint64_t events[0x24]; /*< Per event counters */
uint64_t lastsample;
int minno;