Skip to content

sui-rpc: add max_version to GetObjectRequest - #329

Draft
nickvikeras wants to merge 1 commit into
nickv/object-at-checkpointfrom
nickv/object-max-version
Draft

nickvikeras wants to merge 1 commit into
nickv/object-at-checkpointfrom
nickv/object-max-version

Conversation

@nickvikeras

@nickvikeras nickvikeras commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Vendor GetObjectRequest.max_version from MystenLabs/sui-apis#42 (f6c7c0b) and regenerate the bindings. max_version reads an object's newest version at or below a version and is mutually exclusive with version. at_checkpoint can now be combined with either one as a visibility bound: the selected version is NOT_FOUND if it was written after the checkpoint, with no fallback to an older version.

Stacked on #326.

MystenLabs/sui#28631

@nickvikeras
nickvikeras force-pushed the nickv/object-at-checkpoint branch 2 times, most recently from 115f896 to 02e9b91 Compare November 3, 2026 00:46
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch from b8e19de to a6dd625 Compare November 3, 2026 00:46
@nickvikeras
nickvikeras force-pushed the nickv/object-at-checkpoint branch from 02e9b91 to 6a6383b Compare November 3, 2026 04:34
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch from a6dd625 to d20d8aa Compare November 3, 2026 04:34
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch 3 times, most recently from 264c463 to cd77641 Compare November 13, 2026 02:38
@nickvikeras
nickvikeras force-pushed the nickv/object-at-checkpoint branch from 6a6383b to a9dcf1b Compare November 13, 2026 06:33
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch 2 times, most recently from c59bd9e to 8ed23ef Compare November 13, 2026 15:11
@nickvikeras
nickvikeras force-pushed the nickv/object-at-checkpoint branch from a9dcf1b to ee4898a Compare November 13, 2026 17:44
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch from 8ed23ef to b7bf7e0 Compare November 13, 2026 17:44
@nickvikeras
nickvikeras force-pushed the nickv/object-at-checkpoint branch from ee4898a to 1c0451c Compare November 13, 2026 18:00
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch 2 times, most recently from b5eb434 to 0fe37ac Compare November 14, 2026 21:49
Vendors sui-apis f6c7c0b's GetObjectRequest.max_version: read an object's newest version at or below a version, NOT_FOUND when there is none or the object was deleted or wrapped at it. It is mutually exclusive with `version` (servers reject requests that set both with INVALID_ARGUMENT). `at_checkpoint` combined with `version` or `max_version` bounds visibility: the selected version is NOT_FOUND if it was written after the checkpoint. `max_version` selects among every version the server has indexed, up to its version at the highest indexed checkpoint, with no fallback to an older version visible at the checkpoint.
@nickvikeras
nickvikeras force-pushed the nickv/object-max-version branch from 0fe37ac to 9d6cfab Compare November 15, 2026 16:20

This branch has not been deployed

No deployments
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.

1 participant