apache / apache/incubator-seata

Seata2.0.0 对于国产数据库Oceanbase 不支持。

Open
#8,210 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

Check Ahead
  • I have searched the issues of this repository and believe that this is not a duplicate.

  • I am willing to try to fix this bug myself.

Ⅰ. Issue Description

客户端服务开启Seata全局事务后,执行报错,具体错误信息:Caused by; org.apache.ibatis.exceptions.PersistenceException:
not found service provider for : io.seata,sqlparser,druid.sQLOperateRecognizerHolder

初步分析应该是客户端服务使用国产Oceanbase数据库( com.alipay.oceanbase.jdbc.Driver)驱动不支持导致。源码中没有Oceanbase的解析器

Ⅱ. Describe what happened

No response

Ⅲ. Describe what you expected to happen

No response

Ⅳ. How to reproduce it (as minimally and precisely as possible)

No response

Ⅴ. Anything else we need to know?

No response

Ⅵ. Environment

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported PersistenceException and trace how the SQL parser provider is selected for the OceanBase JDBC driver. Inspect the existing database parser integrations and their tests, then reproduce the failure with OceanBase; done means a Seata global transaction no longer reports a missing SQL parser provider for that driver.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.