Pradeep Chhetri
14d4dc45f5
Minor fix for some stats ( #97 )
2022-07-27 22:59:33 -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
Lev Kokotov
7dfe59a91a
Fix stats dymanic reload ( #87 )
2022-06-25 12:22:46 -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
df85139281
Update README. Comments. Version bump. ( #60 )
...
* update readme
* comments
* just a version bump
2022-03-10 01:33:29 -08:00
Lev Kokotov
341ebf4123
docs and remove Option ( #58 )
...
* docs and remove Option
* lint
2022-03-07 23:05:40 -08: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
99d65fc475
Check server versions on startup & refactor ( #48 )
...
* Refactor and check server parameters
* warnings
* fix validator
2022-02-26 11:01:52 -08:00
Lev Kokotov
206fdc9769
Fix some stats ( #47 )
...
* fix some stats
* use constant
* lint
2022-02-26 10:03:11 -08:00
Lev Kokotov
f74101cdfe
admin: SHOW STATS ( #46 )
...
* admin: show stats
* warning
* tests
* lint
* type mod
2022-02-25 18:20:15 -08:00
Lev Kokotov
af1716bcd7
Flush stats ( #38 )
...
* flush stats
* stats
* refactor
2022-02-22 18:10:30 -08:00
Lev Kokotov
f21a3d8d8c
Add server login stat; refactor for better naming ( #34 )
2022-02-21 17:28:50 -08:00
Lev Kokotov
44b5e7eeee
use logger lib; minor refactor; sv_* stats ( #29 )
2022-02-20 22:47:08 -08:00
Lev Kokotov
3b795464a8
Fix client states reporting ( #27 )
...
* Fix client states reporting
* clean
2022-02-20 12:40:09 -08:00
Lev Kokotov
d4c1fc87ee
Reloadable config ( #26 )
...
* Reloadable config
* readme
* live config reload
* test matrix
2022-02-19 13:57:35 -08:00
Lev Kokotov
05b4cccb97
More statistics ( #20 )
...
* cleaner stats
* remove shard selection there
2022-02-15 08:18:01 -08:00
Lev Kokotov
8e5e28a139
Some stats ( #19 )
2022-02-14 10:00:55 -08:00