Standby fails to switch back to primary with ERROR 4012 (HY000): Timeout despite consistent log positions
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- databases, distributed-systems
Research direction
The issue names no source files, tests, or entry points. Start by reproducing the standby-to-primary switch on seekdb 4.3.5.3 and inspect the timeout path for ERROR 4012; done means the role switch succeeds when log positions are consistent.
Written by the indexing model from the issue text.
Description
Environment
- Server version: OceanBase 4.3.5.3 seekdb (r1.2.0.0)
- Build: 1-e536cfa77c25c6fde5e541fcdee9ead835a41d43 Mar 13 2026
- Hardware: cpu 8 memeo...
Description
When attempting to switch a standby database back to the primary role, the operation fails with the error ERROR 4012 (HY000): Timeout. This occurs even though there is no data heterogeneity and the log positions between the primary and standby are confirmed to be consistent.
Impact
The standby database cannot be promoted to primary, affecting high availability and failover capabilities.
Additional Context
This issue is specific to the seekdb version of OceanBase.
Creator: cms-cms
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 342
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 53
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oceanbase/seekdb
-
dima type: task
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
dima type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
dima type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
dima type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
dima type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
All issues in oceanbase/seekdb
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·