Repository navigation
feat(registry): Added maybe_chunkify... - #4751
Merged
daniel-wong-dfinity-org merged 6 commits intoApr 22, 2025
Merged
Conversation
daniel-wong-dfinity-org
force-pushed
the
chunkify-large-registry-records-daniel-wong
branch
6 times, most recently
from
April 10, 2025 08:48
04f1bfe to
ac216eb
Compare
daniel-wong-dfinity-org
changed the base branch from
master
to
chunkify_composite_mutation-daniel-wong
April 10, 2025 10:13
daniel-wong-dfinity-org
force-pushed
the
chunkify-large-registry-records-daniel-wong
branch
from
April 10, 2025 10:20
ac216eb to
73e6313
Compare
daniel-wong-dfinity-org
force-pushed
the
chunkify_composite_mutation-daniel-wong
branch
from
April 10, 2025 10:21
59d54d0 to
639924a
Compare
daniel-wong-dfinity-org
force-pushed
the
chunkify-large-registry-records-daniel-wong
branch
from
April 10, 2025 10:22
73e6313 to
406e7e1
Compare
daniel-wong-dfinity-org
left a comment
Contributor
Author
There was a problem hiding this comment.
Diff notes.
daniel-wong-dfinity-org
marked this pull request as ready for review
April 10, 2025 13:21
Contributor
There was a problem hiding this comment.
If this pull request affects the behavior of any canister owned by
the Governance team, remember to update the corresponding
unreleased_changes.md file(s).
To acknowldge this reminder (and unblock the PR), dismiss this
code review by going to the bottom of the pull request page, and
supply one of the following reasons:
-
Done.
-
No canister behavior changes.
daniel-wong-dfinity-org
dismissed
github-actions[bot]’s stale review
April 10, 2025 13:23
No canister behavior change.
The new behavior is behind a flag, and as per usual, it is disabled (except in tests that exercise the new behavior).
max-dfinity
reviewed
Apr 10, 2025
max-dfinity
reviewed
Apr 10, 2025
maybe_chunkify...maybe_chunkify...
daniel-wong-dfinity-org
force-pushed
the
chunkify_composite_mutation-daniel-wong
branch
from
April 12, 2025 07:01
639924a to
d2a4c20
Compare
daniel-wong-dfinity-org
force-pushed
the
chunkify-large-registry-records-daniel-wong
branch
from
April 12, 2025 07:08
3cee8d1 to
0eb4e4c
Compare
max-dfinity
approved these changes
Apr 14, 2025
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Apr 14, 2025
) This is not used yet. # References Epic: [NNS1-3645] [NNS1-3645]: https://dfinity.atlassian.net/browse/NNS1-3645 [👈 Previous PR][prev] | [Next PR 👉][next] [prev]: #4758 [next]: #4751
Base automatically changed from
chunkify_composite_mutation-daniel-wong
to
master
April 14, 2025 23:06
daniel-wong-dfinity-org
force-pushed
the
chunkify-large-registry-records-daniel-wong
branch
from
April 22, 2025 09:35
0eb4e4c to
fccc433
Compare
daniel-wong-dfinity-org
enabled auto-merge
April 22, 2025 09:35
daniel-wong-dfinity-org
deleted the
chunkify-large-registry-records-daniel-wong
branch
April 22, 2025 10:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
... and have it be called from
changelog_insert.The new behavior is behind a flag, and as per usual, in release builds, it is disabled.
maybe_chunkifytakes aRegistryAtomicMutateRequest, and converts it to an equivalentHighCapacityRegistryAtomicMutateRequest.When the input is "too large" (and this feature is enabled), instead of having the value inlined, it is stored in stable memory, and the inline value is replaced with a "pointer" to the stable memory.
References
Closes NNS1-3681.
👈 Previous PR