-
Notifications
You must be signed in to change notification settings - Fork 92
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
pgpool goes into hung state when it notices flush size is 0 pool_stream.c#L650 #79
Comments
Can you elaborate more? What do you exactly mean "hung"? |
pgloader successfully loads data from MSSQL's to PostgreSQL when connected directly to 5432 port of postgreSQL, but when connected via PGPOOL, it does not respond after
and here is that log after that "DEBUG: pool_flush_it: flush size: 0", it just does not move ahead
|
I see the problem: |
Here is the fix. |
Thanks for the patch, it helped ignoring the messages used in COPYin and moved on, but now, below error is coming
|
Seems like a pgloader problem. PostgreSQL complains invalid CREATE TABLE statement. |
Yes, looks like that, it is repeating when tried directly with PostgreSQL without pgpool. |
During COPY IN state (i.e. COPY FROM STDIN), frontend can send Flush or Sync messages. According to the F/B protocol specification, they should be ignored but Pgpool-II treated as an invalid message and this causes COPY hung. Discussion: #79 Backpatch-through: v4.1
During COPY IN state (i.e. COPY FROM STDIN), frontend can send Flush or Sync messages. According to the F/B protocol specification, they should be ignored but Pgpool-II treated as an invalid message and this causes COPY hung. Discussion: #79 Backpatch-through: v4.1
During COPY IN state (i.e. COPY FROM STDIN), frontend can send Flush or Sync messages. According to the F/B protocol specification, they should be ignored but Pgpool-II treated as an invalid message and this causes COPY hung. Discussion: #79 Backpatch-through: v4.1
During COPY IN state (i.e. COPY FROM STDIN), frontend can send Flush or Sync messages. According to the F/B protocol specification, they should be ignored but Pgpool-II treated as an invalid message and this causes COPY hung. Discussion: #79 Backpatch-through: v4.1
During COPY IN state (i.e. COPY FROM STDIN), frontend can send Flush or Sync messages. According to the F/B protocol specification, they should be ignored but Pgpool-II treated as an invalid message and this causes COPY hung. Discussion: #79 Backpatch-through: v4.1
During COPY IN state (i.e. COPY FROM STDIN), frontend can send Flush or Sync messages. According to the F/B protocol specification, they should be ignored but Pgpool-II treated as an invalid message and this causes COPY hung. Discussion: #79 Backpatch-through: v4.1
Hi @tatsuo-ishii, I see that the fix has been applied onto main, any tentative date of having a new release/tarball which includes this fix? |
Next minor releases are scheduled on November 21st. |
https://github.com/pgpool/pgpool2/blob/master/src/utils/pool_stream.c#L650
When the flush size is 0, then pgpool is going into hung
The text was updated successfully, but these errors were encountered: