Updated on 2024-03-15 GMT+08:00

GAUSS-04331 -- GAUSS-04340

GAUSS-04331: "pooler: invalid command_type: %d"

SQLSTATE: XX000

Description: The command type is invalid.

Solution: This is an error set to prevent internal program logic errors during the development process. The development personnel must locate the error once it occurs.

GAUSS-04332: "pooler: Failed to call acquire_connection(), invalid return value: %d"

SQLSTATE: XX000

Description: The return value type is invalid.

Solution: This is an error set to prevent internal program logic errors during the development process. The development personnel must locate the error once it occurs.

GAUSS-04333: "pooler: invalid cn/dn node number, input cn: %d, dn: %d; current cn: %d, dn: %d"

SQLSTATE: 08006

Description: The parameter type is invalid.

Solution: This is an error set to prevent internal program logic errors during the development process. The development personnel must locate the error once it occurs.

GAUSS-04334: "pooler: failed to acquire connection from datanode %u for thread %lu"

SQLSTATE: 08006

Description: Failed to obtain the connection.

Solution: Execute the query again.

GAUSS-04335: "pooler: Communication failure, failed to send session commands or invalid incoming data."

SQLSTATE: 08000

Description: A connection error occurs. The communication with the DN fails.

Solution: Execute the query again.

GAUSS-04336: "pooler: Failed to duplicate fd, error: %s"

SQLSTATE: XX000

Description: An internal system error occurs. The number of handles opened in the process is probably restricted.

Solution: Change the system settings to increase the number of handles that can be opened by processes.

GAUSS-04337: "pooler: failed to acquire connection from coordinator %u for thread %lu"

SQLSTATE: 08006

Description: Failed to obtain the connection.

Solution: Execute the query again.

GAUSS-04338: "Distribute Query unable to connect %s:%d, %s. Detail: %s"

SQLSTATE:XX000

Description: The peer DN cannot be connected.

Solution: Check whether a node is faulty or whether the network connection is normal, and then troubleshoot accordingly.

GAUSS-04339: "pooler: Failed to reset agent!"

SQLSTATE: XX000

Description: The memory context is incorrect.

Solution: Execute the query again.

GAUSS-04340: "role '%s' is being used by other users"

SQLSTATE: 55006

Description: The operation "clean connection ... check" cannot be performed when other users are using the connection.

Solution: Do not perform the "clean connection ... check" operation on the user that is being connected.