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

DROP queries are hanged if powa is enabled #53

Closed
anikin-aa opened this issue Feb 9, 2023 · 5 comments
Closed

DROP queries are hanged if powa is enabled #53

anikin-aa opened this issue Feb 9, 2023 · 5 comments
Assignees
Labels

Comments

@anikin-aa
Copy link

anikin-aa commented Feb 9, 2023

Hi !

We are facing next issue during using POWA and PostgreSQL 15:

  1. Deploy PostgreSQL + POWA related extensions in shared_preload_libraries
  2. Create some test data
  3. Issue drop database query
  4. It will hang, with next PostgreSQL logs:
[2023-01-30 15:01:16.758 UTC][source=postgresql]STATEMENT:  drop database testdb_kmlbp_0;
[2023-01-30 15:01:21.760 UTC][source=postgresql]LOG:  still waiting for backend with PID 3173 to accept ProcSignalBarrier

process with 3173 is POWA:

postgres   3173  0.0  0.2 333920 54248 ?        Ss   14:30   0:01 postgres: patroni: powa idle

I am using local mode of powa with the bgworker

I've found similar issue for timescaledb, may be it related somehow timescale/timescaledb#4838

@rjuju rjuju self-assigned this Feb 9, 2023
@rjuju rjuju added the bug label Feb 9, 2023
@rjuju rjuju transferred this issue from powa-team/powa Feb 9, 2023
@anikin-aa
Copy link
Author

@rjuju , i will try to prepare local test case during the day if it's still needed

@rjuju
Copy link
Member

rjuju commented Feb 9, 2023

Thanks, but it shouldn't be necessary as the error message you mentioned clarified the problem.

I just pushed 085d379 which should solve the problem. If you can test a local build, could you confirm that it also solves the problem for you?

@anikin-aa
Copy link
Author

ok, will try during the day and share results

@anikin-aa
Copy link
Author

anikin-aa commented Feb 10, 2023

@rjuju , yes, it's working with your latest changes ! Thank you !

@rjuju
Copy link
Member

rjuju commented Feb 10, 2023

Great news, thanks for the feedback!

@rjuju rjuju closed this as completed Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants