Skip to content

branch-4.1: [fix](cloud) Hide KV_TXN_MAYBE_COMMITTED from clients #62244#62644

Merged
yiguolei merged 1 commit intobranch-4.1from
auto-pick-62244-branch-4.1
Apr 22, 2026
Merged

branch-4.1: [fix](cloud) Hide KV_TXN_MAYBE_COMMITTED from clients #62244#62644
yiguolei merged 1 commit intobranch-4.1from
auto-pick-62244-branch-4.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Cherry-picked from #62244

Problem Summary: Preserve MetaService retry handling for
KV_TXN_MAYBE_COMMITTED internally, but downgrade the final response code
to KV_TXN_COMMIT_ERR so older BE/FE clients do not treat the proto2
unknown enum as OK.

### Release note

None

### Check List (For Author)

- Test: Cloud unit test

- ./run-cloud-ut.sh --run
--filter='meta_service_test:MetaServiceTxnStoreRetryableTest.*' -j 8

- Behavior changed: Yes (MetaService no longer exposes
KV_TXN_MAYBE_COMMITTED to clients; it still retries internally and
returns KV_TXN_COMMIT_ERR externally)
@github-actions github-actions Bot requested a review from yiguolei as a code owner April 20, 2026 11:44
@yiguolei
Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.47% (26243/36720)
Line Coverage 54.33% (277463/510722)
Region Coverage 51.53% (230055/446450)
Branch Coverage 53.02% (99635/187914)

@yiguolei yiguolei closed this Apr 22, 2026
@yiguolei yiguolei reopened this Apr 22, 2026
@yiguolei yiguolei merged commit 4244061 into branch-4.1 Apr 22, 2026
39 of 44 checks passed
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.

3 participants