Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: fix can't use select for update in oracle #1780

Merged

Conversation

l81893521
Copy link
Contributor

Ⅰ. Describe what this PR did

when use select for update in oracle, would cause the exception occur.

Ⅱ. Does this pull request fix one issue?

#1779

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-io
Copy link

codecov-io commented Oct 16, 2019

Codecov Report

Merging #1780 into develop will decrease coverage by 0.04%.
The diff coverage is 46.15%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #1780      +/-   ##
=============================================
- Coverage       55.1%   55.05%   -0.05%     
  Complexity      2355     2355              
=============================================
  Files            421      421              
  Lines          14250    14260      +10     
  Branches        1705     1708       +3     
=============================================
- Hits            7852     7851       -1     
- Misses          5678     5685       +7     
- Partials         720      724       +4
Impacted Files Coverage Δ Complexity Δ
...ta/rm/datasource/exec/SelectForUpdateExecutor.java 82.35% <46.15%> (-10.33%) 10 <1> (+2)
...server/store/file/FileTransactionStoreManager.java 59.21% <0%> (-0.99%) 29% <0%> (ø)
...in/java/io/seata/server/session/GlobalSession.java 84.54% <0%> (-0.49%) 67% <0%> (-1%)
...o/seata/server/coordinator/DefaultCoordinator.java 49.59% <0%> (-0.41%) 27% <0%> (-1%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07f5477...a70574d. Read the comment docs.

@slievrly slievrly changed the title bugfix: fix can not use select for update in oracle bugfix: fix can't use select for update in oracle Oct 16, 2019
Copy link
Contributor

@zjinlei zjinlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@xingfudeshi xingfudeshi merged commit 00738ac into apache:develop Oct 23, 2019
dangquocbang pushed a commit to dangquocbang/seata that referenced this pull request Oct 27, 2019
* 'develop' of https://github.com/seata/seata:
  Remove deprecated JVM arguments in Java 11 (apache#1824)
  style: adjust check style (apache#1820)
  optimize: format error log (apache#1806)
  optimize: update codecov.yml (apache#1815)
  optimize: adjust codecov configuration (apache#1811)
  fix unexcepted exception can roll back (apache#1796)
  optimize: reduce unnecessary synchronized (apache#1799)
  bugfix: connectionproxy prepareStatement not in global transaction (apache#1805)
  bugfix: fix can't use select for update in oracle (apache#1780)
  test:changing HashMap to LinkedHashMap for deterministic iterations (apache#1802)
  feature:gzip compressor (apache#1460)
@l81893521 l81893521 deleted the fix_oracle_can_not_use_select_for_update branch November 2, 2019 05:30
@slievrly slievrly added this to the 1.0 milestone Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants