odyssey
odyssey copied to clipboard
Database name is cropped in "show pools" output (but not in "show clients")
Hi,
I have following databases in odyssey.conf:
database "dbmine" {
# skipped
}
database "dbmine_web" {
# skipped
}
database "dbmine_wrk" {
# skipped
}
I see connections to all these entries in show clients
output (in database
field). But show pools
command displays all databases as dbmine
, stripping suffixes.
Regards,
Hmm, I had observed similar bug few times but could not reproduce this. Did you reload config? Or how do you achieve this?
I tried:
- reloading config by sending -HUP to odyssey process
- restarting odyssey completely
- replacing underscores with dashes
No luck so far.
So do you observe problem constantly or absence of problem?
Constantly. Moreover, it looks that user
field is affected too (only first 6 characters). And this happens only for show pools
command's output.
Stats output (to file, like /var/log/odyssey.log) is affected too.
We also encountered this after switching from pgbouncer about 2 years ago