Comments (2)
Hello,
I'm interested (as said on medium) and give it a try today. I've got this warning: Server returned with session state altered, discarding state
I don't change anyhting to our application, and I've got this message either with default_role=any or default_role=primary
pgcat is setup in front of aws rds, I don't know if this matters. I'm using pool_mode=session and tried the transaction mode also.
In our application, it seems that the sql request have been transfered to the replica:
[ERROR] Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE sessions SET enddate = ?, services = ? WHERE sid = ? AND login = ?' with ...: SQLSTATE[25006]: Read only sql transaction: 7 ERROR: cannot execute UPDATE in a read-only transaction
Is that a bug ? I've used the last docker image found: ghcr.io/levkk/pgcat:5961d1daee8c66cd4f9a6c70aaa0caaefe9d28ef
from pgcat.
Can I use PGCAT for load balancing of PGSQL clusters!
from pgcat.
Related Issues (20)
- Fails to compile with space in path
- The docs don't link to the APT Repository for pgcat HOT 2
- PGCat not using idle connections, instead spawns new ones. HOT 3
- ERROR pgcat::server: Unknown code: N HOT 1
- PGcat detection from code HOT 1
- Feature request: per-statement-type counters
- Error when prepared Statement in transaction mode
- Ubuntu 24.04 Packages
- support sql admin pool and server
- Invalid SQL Statement in rust integrration test
- "No pool configured for database" when trying to connect to pgcat instance HOT 2
- SELECT ... FOR UPDATE is routed to REPLICA HOT 1
- pgcat decreases TPS from unproxied posgresql 16 by 4x to 5x (docker-compose reproducer) HOT 3
- Questions Regarding pgcat Error Metrics
- Outdated Documentation
- Need to improve documentation how to correctly configure to use one user to auth others
- pool_size reset automatically to 25 if you set value more than 1000 HOT 1
- [Question] Pgcat not found in Artifact Hub
- Does PGCAT support environment variables in the pgcat.toml file HOT 1
- FR - caching results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgcat.