[YSQL] Backend terminates without notifying client of session termination #2479
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Projects
Jira Link: DB-2472
When running a SELECT count(*) query against a table with a large number of rows, the PG backend process can terminate and fail to notify the client that the session is complete or abended. All that appears in the log is:
I had determined the backend PID by running the following query:
I then explored all nodes for this process and found it:
I had run a number of
pstack 7377
commands against the backend pid to determine if there was a call where it was getting hung up:The connection had been launched from a client machine that resolved the host through a NLB. Not sure if that is significant.
Here is the stack trace of ysqlsh after I aborted the with CTRL-BREAK:
The text was updated successfully, but these errors were encountered: