Commit Graph

11 Commits

Author SHA1 Message Date
NikitaUnisikhin 6519d71b84
fix (#603) 2024-04-25 13:43:59 +05:00
Andrey Borodin cbdd76c522
Pool wait test (#548)
* Add pool wait test

* Fix

* Cleanup test conf

* Harder consts
2023-11-23 14:49:18 +04:00
kirill reshke 0287a17ba5
Config override client pg options (#399)
* Alter route cmd

* Read override options from cnf

* Tests and fixs

* fixes

* Fix memory leak
2022-01-10 10:31:04 +05:00
kirill reshke 6fa3f94b6e
Improve pgoptions parsing & add more tests (#393) 2021-12-27 13:42:14 +05:00
kirill reshke 419037c4ae
Remove usage of non-thread-save function (getopt) usage (#395)
* Remove usage of non-thread-save function (getopt) usage

* Fix fmt

* Fix include popt

* shell tests for pgoptions
2021-12-26 02:18:30 +05:00
Тимофей Шляпников d6e2c61087
Add roles in console DB (#371)
* Ldapless

* Ldapless

* Console are now considering roles

* For pull from origin

* Done, but not tested

* Works, but do not drop connections to console

* Update to origin

* Added drop connections with lowered role via reload

* Format and rename

* Fix makefile & dev.conf

* Fix makefile & dev.conf

* Fix lagpolling tests

* Fix tests

* Fix tests

* Add tests & fix .conf

* Add tests & fix .conf

* Add tests & fix .conf

Co-authored-by: tim-shlyap <tim-shlyap@yandex-team.ru>
2021-12-16 04:08:42 +05:00
kirill reshke 56057468c0
Add auth query basic tests & add test with restart for lag polling (#387)
* Add auth query basic tests

* Remove unused file ini.sql

* Refactor lag polling tests
2021-12-10 11:13:58 +05:00
kirill reshke ba6513323f
Add storage watchdog with standby lag polling support (#380)
* Move auth query server querying logic to separate file

* Refactor query code to support not only "auth_query" like queries

* Move storage logic to separate file & add storage watchdog

* Force several settings on starts

* Fix simple query parsing

* Fixed bugs

* Fix config reload

* Add tests

* Move cathcup logic to separate func

* Fix tests[2]

Co-authored-by: Andrey Borodin <amborodin@acm.org>
2021-12-08 15:54:43 +05:00
Pratik Balar 84f7ce6458 fix: lint and format sh, set xtrace where necessary...
- Ignore grep in grep
- trim spaces
2021-11-25 14:47:09 +05:30
reshke dc44b323d1 return error if ldap connection establishment failed, rebind ldap
connection in case of server failture
2021-04-29 12:51:07 +05:00
reshke 74623edfb5 LDAP auth in od 2021-04-28 17:54:56 +05:00