Skip to content
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

Update comment for NondeterministicFastCommit #412

Conversation

fxamacker
Copy link
Member

@fxamacker fxamacker commented May 24, 2024

This PR updates comments to mention that encoded slabs are still deterministic, so array and map iterations will remain deterministic. Only the sequence of changed slabs getting committed is nondeterministic.

NondeterministicFastCommit is used by migration programs that don't require commit sequence of slabs to be deterministic while still preserving deterministic encoding of slab data (e.g. iteration of arrays and maps remain deterministic).

NondeterministicFastCommit was added by:


  • Targeted PR against main branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@fxamacker fxamacker added the documentation Improvements or additions to documentation label May 24, 2024
@fxamacker fxamacker requested a review from a team May 24, 2024 14:57
@fxamacker fxamacker self-assigned this May 24, 2024
Make it clearer that encoded slabs are still deterministic, so
array and map iterations will remain deterministic.

Only the sequence of changed slabs getting committed is
nondeterministic.

This is useful for migration programs that don't require
commit sequence of slabs to be deterministic while
still preserving deterministic encoding of slabs
(e.g. iteration of arrays and maps remain deterministic).
@fxamacker fxamacker force-pushed the fxamacker/update-comment-for-nondeterministicfastcommit branch from 8db2824 to 393e179 Compare May 24, 2024 15:01
@fxamacker fxamacker merged commit b79c29e into feature/array-map-inlining May 24, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants