Standby switch reports persistent error 4012, internal table queries also fail with error 4012
Open
Nobody has claimed this yet.
dima
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 342
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 52
Description
Environment
- Version: observer (OceanBase seekdb 1.2.0.0)
- Revision: 1-e536cfa77c25c6fde5e541fcdee9ead835a41d43
- Build Branch: feat_rootservice_lite
- Build Time: Mar 13 2026 10:54:44
- Build Flags: RelW...
Description
When switching from the primary database to the standby, the operation fails and persistently reports error code 4012. Querying internal tables also results in the same error 4012.
Creator: 15640940228-ctrl
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.
Research direction
Start by reproducing the primary-to-standby switch and the internal-table queries on seekdb 1.2.0.0, collecting the diagnostics associated with error 4012. Trace where the standby operation and internal-table access report that error; done means both operations complete without persistent 4012 failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100