codingapi / codingapi/tx-lcn

使用AbstractDynamicAddRoutingDataSource LCN模式不能回滚

Open
#447 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

  • I have searched the issues of this repository and believe that this is not a duplicate.
1. Bug Description

使用动态数据源后LCN模式在回滚的是时候找不到对应的datasource

2. Environment:
  • JDK version: 1.8
  • OS: RedHat 7.2
  • TX-LCN version: 5.0.2.RELEASE
  • Others: Druid

请问可以在哪里设置lcn绑定的connection所属的datasource

Contributor guide

No contributing guide indexed for this repository

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 at AbstractDynamicAddRoutingDataSource and trace the LCN rollback path under the listed JDK, TX-LCN, RedHat, and Druid environment. Reproduce the failure with a dynamic data source and determine where the bound connection loses its data source; done means rollback locates the correct data source without the reported error.

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
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.