Added support for router option 'synced' in read write split router. If router option is specified, backend server must be in 'joined' state to be eligible backend candidate.

This commit is contained in:
VilhoRaatikka
2014-03-19 22:29:02 +02:00
parent 5ef657d833
commit fcf7d37114
3 changed files with 31 additions and 14 deletions

View File

@ -55,6 +55,7 @@ typedef enum rses_property_type_t {
typedef enum backend_type_t {
BE_UNDEFINED=-1,
BE_MASTER,
BE_JOINED = BE_MASTER,
BE_SLAVE,
BE_COUNT
} backend_type_t;