What causes queries to disconnect?
The RemoteQueryProcessor
(query worker) disconnects from the RemoteQueryDispatcher
typically as a result of an exception error, or too much workload that prevents the worker from sending a heartbeat.
Common reasons for a disconnection include:
- The server runs out of heap and an
OutOfMemoryError
occurs, thus killing the JVM. - The JVM is stuck in GC for so long that it is unable to respond to dispatcher heartbeats for 60 seconds.
- A deployment issue results in a
NoSuchMethodError
. - An error occurred in internal JVM or a native code error occurred (aka a Hotspot error).