Mostafa Abdelraouf
5ac85eaadd
Fix Python tests and remove CircleCI-specific path ( #106 )
...
* Remove CircleCI-specific path in tests
* ..?
* Fix testsP
* Fix python test
* remove pip
* Maybe fail?
* return code?
* no &
* Fix tests
2022-08-02 15:52:22 -07:00
Mostafa Abdelraouf
1b648ca00e
Send proper server parameters to clients using admin db ( #103 )
...
* Send proper server parameters to clients using admin db
* clean up
* fix python test
* build
* Add python
* missing &
* debug ls
* fix tests
* fix tests
* fix
* Fix warning
* Address comments
2022-07-31 19:52:23 -07:00
Mostafa Abdelraouf
2ae4b438e3
Add support for multi-database / multi-user pools ( #96 )
...
* Add support for multi-database / multi-user pools
* Nothing
* cargo fmt
* CI
* remove test users
* rename pool
* Update tests to use admin user/pass
* more fixes
* Revert bad change
* Use PGDATABASE env var
* send server info in case of admin
2022-07-27 19:47:55 -07:00
dependabot[bot]
eff8e3e229
Bump activerecord from 7.0.2.2 to 7.0.3.1 in /tests/ruby ( #94 )
...
Bumps [activerecord](https://github.com/rails/rails ) from 7.0.2.2 to 7.0.3.1.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.3.1/activerecord/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v7.0.2.2...v7.0.3.1 )
---
updated-dependencies:
- dependency-name: activerecord
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 13:24:41 -07:00
Lev Kokotov
b93303eb83
Live reloading entire config and bug fixes ( #84 )
...
* Support reloading the entire config (including sharding logic) without restart.
* Fix bug incorrectly handing error reporting when the shard is set incorrectly via SET SHARD TO command.
selected wrong shard and the connection keep reporting fatal #80 .
* Fix total_received and avg_recv admin database statistics.
* Enabling the query parser by default.
* More tests.
2022-06-24 14:52:38 -07:00
Lev Kokotov
37e3a86881
Pass application_name to server ( #73 )
...
* Pass application_name to server
* fmt
2022-06-03 00:15:50 -07:00
Lev Kokotov
ccbca66e7a
Poorly behaved client fix ( #65 )
...
* Poorly behaved client fix
* yes officer
* fix tests
* no useless rescue
* Looks ok
2022-05-09 09:09:22 -07:00
Lev Kokotov
35828a0a8c
Per-shard statistics ( #57 )
...
* per shard stats
* aight
* cleaner
* fix show lists
* comments
* more friendly
* case-insensitive
* test all shards
* ok
* HUH?
2022-03-04 17:04:27 -08:00
Lev Kokotov
303fec063b
Ruby ( #30 )
...
* cop
* log
2022-02-20 23:33:04 -08:00
Lev Kokotov
a556ec1c43
More query router commands; settings last until changed again; docs ( #25 )
...
* readme
* touch up docs
* stuff
* refactor query router
* remove unused
* less verbose
* docs
* no link
* method rename
2022-02-19 08:57:24 -08:00
Lev Kokotov
bbacb9cf01
Explicit shard selection; Rails tests ( #24 )
...
* Explicit shard selection; Rails tests
* try running ruby tests
* try without lockfile
* aha
* ok
2022-02-18 09:43:07 -08:00
Lev Kokotov
4c8a3987fe
Refactor query routing into its own module ( #22 )
...
* Refactor query routing into its own module
* commments; tests; dead code
* error message
* safer startup
* hm
* dont have to be public
* wow
* fix ci
* ok
* nl
* no more silent errors
2022-02-16 22:52:11 -08:00
Lev Kokotov
c1476d29da
config tests
2022-02-10 09:07:10 -08:00
Lev Kokotov
daf120aeac
more tests
2022-02-10 08:35:25 -08:00
Lev Kokotov
fccfb40258
nl
2022-02-09 21:20:20 -08:00
Lev Kokotov
a9b2a41a9b
fixes to the banlist
2022-02-09 21:19:14 -08:00
Lev Kokotov
dfc05c3dca
sharding readme
2022-02-08 17:15:35 -08:00
Lev Kokotov
9657256adf
fixed health check; sharding setup and tests
2022-02-08 15:48:28 -08:00
Lev Kokotov
39a9dff26b
pg sharding works
2022-02-08 11:10:28 -08:00
Lev Kokotov
f8d6bd8d89
rename
2022-02-06 11:22:09 -08:00
Lev Kokotov
05250d9374
fix
2022-02-03 18:13:36 -08:00
Lev Kokotov
6e83556867
Ruby tests
2022-02-03 18:08:51 -08:00
Lev Kokotov
83daaf92d1
Less dirty servers & fix python
2022-02-03 18:02:50 -08:00