Pull request for better handling of master/slave and load balancing when connecting to multiple hosts
В списке pgsql-jdbc по дате отправления:
| От | Mikko Tiihonen |
|---|---|
| Тема | Pull request for better handling of master/slave and load balancing when connecting to multiple hosts |
| Дата | |
| Msg-id | 1414802059544.34620@nitorcreations.com обсуждение исходный текст |
| Список | pgsql-jdbc |
https://github.com/pgjdbc/pgjdbc/pull/209
It is a rewrite of the original request from 2011 by chenhj@cn.fujitsu.com.
If multiple hosts are specified in the jdbc connection url then:
By default the functionality stays the same compared to previous versions.
To run the unit tests one needs to configure a replication slave and configure slaveServer and slavePort properties in addition to the normal server and port.
I have a few questions about how to best detect the master/slave node:
-Mikko
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера