Skip to content

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Aug 3, 2023

What changes were proposed in this pull request?

This PR rethrow the real exception when function fails in transaction

Why are the changes needed?

Transaction caller needs to handle the real exception
Fix: #165

Does this PR introduce any user-facing change?

Transaction caller should handle the exception which generated by Executable

How was this patch tested?

UT modified.

@mchades mchades requested review from jerryshao and yuqi1129 August 3, 2023 08:03
@github-actions
Copy link

github-actions bot commented Aug 3, 2023

Code Coverage Report

Overall Project 51.5% -0.13% 🟢
Files changed 54.39% 🔴

Module Coverage
core 47.49% -0.35% 🔴
Files
Module File Coverage
core EntityStore.java 100% 🟢
KvEntityStore.java 63.86% 🟢
RocksDBKvBackend.java 53.59% -6.22% 🔴
KvBackend.java 0% 🟢

@jerryshao
Copy link
Contributor

@yuqi1129 please help to review this pr.

@yuqi1129
Copy link
Contributor

yuqi1129 commented Aug 3, 2023

LGTM

@yuqi1129 yuqi1129 merged commit 723a7e5 into apache:main Aug 3, 2023
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.

[Improvement] Real exception should be thrown when transaction fails
3 participants