connection_diagnosis_option specifies an option that allows you to enable diagnostics for the current connection by using a bit.
Note
This parameter is introduced since OceanBase Database Proxy (ODP) V4.2.2. Since ODP V4.2.3, the default value is changed from 1 to 3.
| Attribute | Description |
|---|---|
| Parameter type | Integer |
| Default value | 3 |
| Value range | [0, 3] |
| Effective only after ODP restart | No |
The parameter value is in the binary format.
Bit 0 specifies whether to record connection diagnostics logs.
Bit 1 specifies whether to build an error packet when internal errors occur.