Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the standby node is unable to view the citus_tables view when backing up the database. #7786

Open
wkz2797848480 opened this issue Dec 12, 2024 · 0 comments

Comments

@wkz2797848480
Copy link

How to reproduce
Database version: PostgreSQL 16.6 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5
Citus version: Citus 12.1.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5

Problem Description:

In a Patroni-based high-availability environment for Citus cluster backup, the standby node is unable to view the citus_tables view when backing up the database.

Executing commands on Coordinator/Worker nodes results in an error description:
postgres=# select * from citus_shard_sizes() css(shard_id, size);
ERROR: writing to worker nodes is not currently allowed
DETAIL: the database is read-only
postgres=# select * from citus_tables;
ERROR: writing to worker nodes is not currently allowed
DETAIL: the database is read-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant