Closed tim2CF closed 5 years ago
What is your DBConnection version? In any case, without an isolated mechanism to consistently reproduce the issue I am afraid there isn't much we can do.
version 2.1.0
Looking at the screen you pasted, I sort of wonder what is that message stuck in the queue. You should be able to see it with observer.
unfortunately looks like these processes are instantly restarting and query queue stuck https://ibb.co/rkzNFQw
It was too low max_connections
parameter from postgres side...
Happened because I reinstalled postgres recently. I just was expecting different more obvious error message for this case 😀
I’m trying to test some cluster features of my app with
ex_unit_clustered_case
package. Local cluster starts successfully, but when I’m trying to call some Ecto Repo functions in slave node, Repo always returns errorI started to investigate what is happening on cluster nodes at this moment using observer tool and found interesting processes on top:
Can it be some deadlock in this
receive
expression? https://github.com/elixir-ecto/db_connection/blob/9d2416a4b0e9f9f465e639e090027e9acc7d9d77/lib/db_connection/holder.ex#L237Maybe you have an idea how to fix it?