Skip to content

Add WriteBatch SliceParts APIs with user-defined timestamp #13685

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sherriiiliu
Copy link
Contributor

@sherriiiliu sherriiiliu commented Jun 11, 2025

Current WriteBatch SliceParts APIs does not accept user-defined timestamp, and the following description of current APIs is not true.

  // The following Put(..., const Slice& key, ...) API can also be used when
  // user-defined timestamp is enabled as long as `key` points to a contiguous
  // buffer with timestamp appended after user key. The caller is responsible
  // for setting up the memory buffer pointed to by `key`.

This patch adds new APIs for SliceParts that accept user-defined timestamp as this PR

@sherriiiliu sherriiiliu force-pushed the sherriiiliu/add_ts_with_sliceparts_api branch from 522079b to 4e53726 Compare June 13, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants