OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Binlog Service

V4.3.6
  • Overview
  • Compatibility
  • Deployment guide
  • Configuration Information
    • Metadata
    • Local configurations
  • Control Commands
    • Overview
    • Node management
    • Task management
    • Instance management
    • Session management
    • File management
  • Monitoring and alerting
  • Troubleshooting
  • User Manual
    • Install obcdc
    • Update and upgrade
    • Performance tuning
  • Release Notes
    • Version history
    • obbinlog V4.3.6
    • obbinlog V4.3.5
    • obbinlog V4.3.2
    • obbinlog V4.3.1
    • obbinlog V4.3.0
    • obbinlog V4.2.10
    • obbinlog V4.2.5
    • obbinlog V4.2.4
    • obbinlog V4.2.3
    • obbinlog V4.2.1
    • obbinlog V4.2.0
    • obbinlog Community Edition V4.0.1

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Binlog Service
  3. V4.3.6

Troubleshooting

Last Updated:2026-09-03 10:36:38

Troubleshooting procedure
FAQ
The Node resources are insufficient error is returned when CREATE BINLOG is executed
The error start lsn from all server fail is returned in libobcdc while no new binlogs are generated by the binlog instance
The Failed to match gtid ... error is returned after the binlog instance is recovered or restarted

Troubleshooting procedure

Before troubleshooting, verify that the versions of OceanBase Database and OceanBase Database Proxy (ODP) map the version of obbinlog. For the version mapping information of obbinlog, see Release notes.

The following figure shows the troubleshooting procedure for common issues.

Binlog FAQ

If no exception information is found or you cannot resolve the issue based on the FAQ section, check for similar questions in the Q&A forum of the OceanBase community or submit a question if no similar question is found. When you submit a question, you must provide the following information to facilitate troubleshooting by OceanBase Technical Support:

  1. Version numbers of OceanBase Database, ODP, and obbinlog
  2. Related status information obtained during troubleshooting by yourself
  3. Original log files containing exception information

FAQ

The Node resources are insufficient error is returned when CREATE BINLOG is executed

View the logproxy.log file in the log/ directory and check the resource usage of the binlog cluster. Here is an example:

[error] selection_strategy.cpp(519): [ResourcesFilter] The resource threshold of node [89842bbc393b3d1afea947f3267895d(10.10.10.1:2983)] does not meet requirements, used cpu: 6.7903543 >= 0.8 || used memory: 0.6238438 >= 0.85 || used disk: 0.12204241 >= 0.7000000000000001 

In the preceding example, the CPU check condition used cpu: 6.7903543 >= 0.8 is true, namely, the system considers that the CPU utilization exceeds the threshold 0.8. As a result, the binlog task creation failed.

The binlog server is deployed in a container and the obtained CPU information is inaccurate. Therefore, the obtained CPU utilization is higher than the actual value.

If you encounter a similar situation, you can modify the threshold in the metadata table config_template as needed or directly disable resource usage check. For more information about metadata tables, see Metadata.

-- Example: Change the CPU utilization threshold to 0.9.
UPDATE config_template SET value='90' WHERE key_name='node_cpu_limit_threshold_percent';

-- Example: Disable resource usage check.
UPDATE config_template SET value='false' WHERE key_name='enable_resource_check';

After the modification, you need to restart the binlog server and then execute the CREATE BINLOG statement again.

# Restart without using supervisord
./run.sh stop
./run.sh start

# Restart by using supervisord
supervisorctl restart binlog

The error start lsn from all server fail is returned in libobcdc while no new binlogs are generated by the binlog instance

This error usually occurs because the data dictionary is reclaimed. In this case, you can decrease the interval for generating a data dictionary, such as 1 hour in this example.

Adjust the data dictionary generation interval for the current tenant (non-sys tenant):

ALTER SYSTEM SET dump_data_dictionary_to_log_interval = '1h';

Adjust the data dictionary generation interval for all tenants by connecting to the sys tenant:

ALTER SYSTEM SET dump_data_dictionary_to_log_interval = '1h' TENANT all_user; 

The Failed to match gtid ... error is returned after the binlog instance is recovered or restarted

This error usually occurs when binlog files are inconsistent with the binlog index file. Binlog files and the binlog index file are stored in the run/${instance_name}/data/ directory. The binglog index file mysql-bin.index contains the offset information of all binlog files.

/home/ds/oblogproxy/run/ob4g1x9cpve0qo/data/mysql-bin.001352      1352    {hash:11302655175424709514, inc:938515546, addr:"10.10.10.10:2882", t:1690537006395697}=68058433       {hash:11268779827260349032, inc:938515541, addr:"10.10.10.10:2882", t:1690537006386235}=68058432      1690537005389969        414233659

The preceding record in the index file indicates that the maximum offset of the binlog file mysql-bin.001352 is 414233659, as shown in the last column, and that the corresponding timestamp is 1690537005389969, as shown in the second-to-last column.

To correct binlog files and the binlog index file, go to the run/${instance_name}/data/ directory and then perform the following operations:

  1. Check whether the mysql-bin.index.tmp file exists in the directory. If it does and its last record is later than the one in the mysql-bin.index file, overwrite mysql-bin.index with mysql-bin.index.tmp. Back up the existing mysql-bin.index file before this operation.

  2. Obtain the latest binlog file and offset based on the last record in the mysql-bin.index file.

  3. Split the latest binlog file. Back up the binlog file before this operation.

    cp mysql-bin.001352 mysql-bin.001352-bak
    split -b 414233659 mysql-bin.001352
    # By default, the generated files are named `xaa` and `xab`.
    mv xaa mysql-bin.001352
    
  4. Try to recover or restart the binlog instance again.

Previous topic

Monitoring and alerting
Last

Next topic

Install obcdc
Next
on this page
Troubleshooting procedure
FAQ
The Node resources are insufficient error is returned when CREATE BINLOG is executed
The error start lsn from all server fail is returned in libobcdc while no new binlogs are generated by the binlog instance
The Failed to match gtid ... error is returned after the binlog instance is recovered or restarted