Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Fix #15255

Summary

Right now we call $__undoReset() for every subdoc multiple times, because each $__undoReset() call recursively calls $__undoReset() on all of its subdocuments. So skip the recursive call for subdocuments.

Examples

@vkarpov15 vkarpov15 added this to the 8.10.1 milestone Feb 13, 2025
@vkarpov15 vkarpov15 merged commit 0a1cd39 into master Feb 14, 2025
75 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-15255 branch February 14, 2025 17:56
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.

Document $__undoReset performance on deeply nested documents

3 participants