diff options
author | Abbas | 2011-06-24 17:59:57 +0000 |
---|---|---|
committer | Abbas | 2011-06-24 17:59:57 +0000 |
commit | ff7be6e332b36fc7aad99876bf107e258264a7f1 (patch) | |
tree | e72854c2ad18eade7812ab2146c54512e0a31617 /src/backend/utils/adt/tsquery_gist.c | |
parent | d56caa5e2ac517b83595586987794337c9dea357 (diff) |
This patch adds a system in XC to cancel a running query, and flush network buffers of any results data nodes might have sent before cancelling the query.
This was required to fix certain issues where coordinator encounters an error while processing rows from data nodes and quits row processing.
It then issues a new query and finds an old row description in the network buffer. This can and was crashing the server.
To cancel a query a new pooler command 'h' is added.
This command is sent to the pooler by the coordinator and the pooler issues PQcancel to the respective data nodes.
Cancel request is sent every time coordinator raises an error of level more than ERROR.
This commit fixes bug 3306801
Diffstat (limited to 'src/backend/utils/adt/tsquery_gist.c')
0 files changed, 0 insertions, 0 deletions