Skip to content

feat(meta-service): add FetchAddU64 command to txn - #18243

Merged
drmingdrmer merged 1 commit into
databendlabs:mainfrom
drmingdrmer:323-fetch-add
Jun 25, 2025
Merged

feat(meta-service): add FetchAddU64 command to txn#18243
drmingdrmer merged 1 commit into
databendlabs:mainfrom
drmingdrmer:323-fetch-add

Conversation

@drmingdrmer

@drmingdrmer drmingdrmer commented Jun 24, 2025

Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

feat(meta-service): add FetchAddU64 command to txn

FetchAddU64 fetch the u64 value of a key and add provided delta to
it, in one RPC.

The response FetchAddU64Response returns the key, the value before
update and the value after update.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Other

Related Issues


This change is Reviewable

@github-actions github-actions Bot added the pr-feature this PR introduces a new feature to the codebase label Jun 24, 2025
@drmingdrmer
drmingdrmer marked this pull request as ready for review June 24, 2025 16:33
`FetchAddU64` fetch the `u64` value of a key and add provided delta to
it, in one RPC.

The response `FetchAddU64Response` returns the key, the value before
update and the value after update.
@drmingdrmer
drmingdrmer merged commit 25148cc into databendlabs:main Jun 25, 2025
@drmingdrmer
drmingdrmer deleted the 323-fetch-add branch June 25, 2025 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant