HANDLE_RESPONSE

2024-03-07 08:37:59  Updated

This topic describes the HANDLE_RESPONSE diagnostic point.

The HANDLE_RESPONSE diagnostic point records information about packets returned by the OBServer node. The following table describes the diagnostic information at the HANDLE_RESPONSE diagnostic point.

Field Description Remarks
is_partition_hit Indicates whether the partition is hit. N/A
state The connection status between OceanBase Database Proxy (ODP) and the OBServer node. Generally, the value is CONNECTION_ALIVE. Valid values:
  • ACTIVE_TIMEOUT: The connection times out.
  • CONNECTION_ALIVE: The connection is normal.
  • CONNECTION_CLOSED: The connection is closed.
  • CONNECTION_ERROR: A connection error occurs.
  • CONNECT_ERROR: Connection establishment fails.
  • RESPONSE_ERROR: The OBServer node returns an error packet.
  • INACTIVE_TIMEOUT: The connection times out.
  • ANALYZE_ERROR: The packet returned by the OBServer node cannot be parsed.
  • CMD_COMPLETE: The command is executed.
  • TRANSACTION_COMPLETE: The transaction is executed.
  • DEAD_CONGESTED: The OBServer node is unavailable.
  • ALIVE_CONGESTED: The OBServer node is unavailable.
  • DETECT_CONGESTED: The OBServer node is unavailable.
  • INTERNAL_ERROR: An internal error occurs in ODP.
error The error code returned by the OBServer node. N/A

Note

You can determine whether inaccurate routing is caused by ODP or the OBServer node based on state and error.

Contact Us