Lev Kokotov
d412238f47
Implement SCRAM-SHA-256 for server authentication (PG14) ( #76 )
...
* Implement SCRAM-SHA-256
* test it
* trace
* move to community for auth
* hmm
v0.2.0-beta1
2022-06-18 18:36:00 -07:00
dependabot[bot]
7782933f59
Bump regex from 1.5.4 to 1.5.5 ( #75 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
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-06-06 19:59:50 -07:00
Lev Kokotov
bac4e1f52c
Only set application_name if it's different ( #74 )
...
* Only set application_name if it's different
* keep server named pgcat until something else changes
2022-06-05 09:48:06 -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
61db13f614
Fix memory leak in client/server mapping ( #71 )
v0.1.0-beta3
2022-05-18 16:24:03 -07:00
Lev Kokotov
fe32b5ef17
Reduce traffic on the stats channel ( #69 )
2022-05-17 13:05:25 -07:00
Lev Kokotov
54699222f8
Possible fix for clients waiting stat leak ( #68 )
2022-05-14 21:35:33 -07:00
Lev Kokotov
ccbca66e7a
Poorly behaved client fix ( #65 )
...
* Poorly behaved client fix
* yes officer
* fix tests
* no useless rescue
* Looks ok
v0.1.0-beta2
2022-05-09 09:09:22 -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
509e4815a3
Update README.md
2022-03-08 17:48:26 -08:00
Lev Kokotov
5338ff2323
Update README.md
2022-03-08 17:46:46 -08:00
Lev Kokotov
1ea0a7f332
Update README.md
2022-03-08 17:45:54 -08:00
Lev Kokotov
d1b86d363d
Update README.md
2022-03-08 17:38:51 -08:00
Lev Kokotov
b309ead58f
Handle SIGTERM. Add docker-compose.yml ( #59 )
...
* docker-compsoe
* remove statsd config
* readme
2022-03-08 17:18:48 -08:00
Lev Kokotov
341ebf4123
docs and remove Option ( #58 )
...
* docs and remove Option
* lint
v0.1.0-beta
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
1e8fa110ae
Fix pgbouncerhero ( #54 )
2022-03-02 14:46:31 -08:00
Lev Kokotov
d4186b7815
More admin ( #53 )
...
* more admin
* more admin
* show lists
* tests
2022-03-01 22:49:43 -08:00
Lev Kokotov
aaeef69d59
Refactor admin ( #52 )
2022-03-01 08:47:19 -08:00
Lev Kokotov
b21e0f4a7e
admin SHOW DATABASES ( #51 )
...
* admin SHOW DATABASES
* test
* correct replica count
2022-02-28 17:22:28 -08:00
Lev Kokotov
eb1473060e
admin: SHOW CONFIG ( #50 )
...
* admin: SHOW CONFIG
* test
2022-02-28 08:14:39 -08:00
Lev Kokotov
26f75f8d5d
admin RELOAD ( #49 )
...
* admin RELOAD
* test
2022-02-27 10:21:24 -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
8e0682482d
query routing docs ( #45 )
2022-02-25 14:27:33 -08:00
Lev Kokotov
6db51b4a11
Use Toxiproxy for failover testing ( #44 )
...
* Toxiproxy
* up-to-date config
* debug
* hm
* more
* mroe
* more
* hmm
* aha
* less logs
* cleaner
* hmm
* we test these now
* update readme
2022-02-24 20:55:19 -08:00
Lev Kokotov
a784883611
Allow to set shard and set sharding key without quotes ( #43 )
...
* Allow to set shard and set sharding key without quotes
* cover it
* dont look for these in the middle of another query
* friendly regex
* its own response to set shard key
2022-02-24 12:16:24 -08:00
Lev Kokotov
5972b6fa52
Switch to parking_lot RwLock & Mutex. Use trace! for protocol instead of debug! ( #42 )
...
* RwLock & parking_lot::Mutex
* upgrade to trace
2022-02-24 08:44:41 -08:00
Lev Kokotov
b3c8ca4b8a
Another example of a sharding function ( #41 )
...
* Another example of a sharding function
* tests
2022-02-23 11:50:34 -08:00
Lev Kokotov
dce72ba262
Add debug logging ( #39 )
...
* Add debug for easier debugging
* fmt
* a couple more messages
2022-02-22 19:26:08 -08:00
Lev Kokotov
af1716bcd7
Flush stats ( #38 )
...
* flush stats
* stats
* refactor
2022-02-22 18:10:30 -08:00
Lev Kokotov
3f16123cc5
Config docs ( #37 )
...
* config docs
* space
* space
* shards
v0.1.0-alpha
2022-02-21 23:57:25 -08:00
Lev Kokotov
f6f5471aa0
Update README.md
2022-02-21 20:43:40 -08:00
Lev Kokotov
a6fc935040
Can pass config path as argument ( #36 )
...
* show better errors for config parsing
* lint
2022-02-21 20:41:32 -08:00
Lev Kokotov
754381fc6c
Update Dockerfile
2022-02-21 17:49:32 -08:00
Lev Kokotov
b1e9a406fb
Update README.md
2022-02-21 17:48:08 -08:00
Lev Kokotov
f21a3d8d8c
Add server login stat; refactor for better naming ( #34 )
2022-02-21 17:28:50 -08:00
Lev Kokotov
f805b43a08
test session mode and config reload for real ( #33 )
...
* test session mode and config reload for real
* period
* run them at the end
* typo
* wrong dir
2022-02-21 00:16:33 -08:00
Lev Kokotov
86941d62e4
Reset query router setting to default ( #32 )
2022-02-21 00:00:50 -08:00
Lev Kokotov
aceb2ace24
Update issue templates
2022-02-20 23:52:50 -08:00
Lev Kokotov
303fec063b
Ruby ( #30 )
...
* cop
* log
2022-02-20 23:33:04 -08:00
Lev Kokotov
64574211c6
Update CONTRIBUTING.md
2022-02-20 22:49:30 -08:00
Lev Kokotov
44b5e7eeee
use logger lib; minor refactor; sv_* stats ( #29 )
2022-02-20 22:47:08 -08:00
Lev Kokotov
108f5715c0
License as MIT ( #28 )
...
* License as MIT
* license
* s
2022-02-20 13:49:30 -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
4ca50b9a71
Update README.md
2022-02-19 08:59:20 -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