Skip to content

Conversation

vkarpov15
Copy link
Collaborator

Fix #14738

Summary

Looks like we missed a spot when implementing transactionAsyncLocalStorage, we're not adding session option to insertMany(). I reviewed and don't see any other places in Model where we aren't setting session

Examples

Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should this be added to #14742 before it is merged?

@hasezoey hasezoey added this to the 8.5.1 milestone Jul 11, 2024
@vkarpov15
Copy link
Collaborator Author

Yep, will do

@vkarpov15 vkarpov15 merged commit 70e8e19 into master Jul 12, 2024
vkarpov15 added a commit that referenced this pull request Jul 12, 2024
@hasezoey hasezoey deleted the vkarpov15/gh-14738 branch July 12, 2024 16:50
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.

transactionAsyncLocalStorage not honored in bulk operations like insertMany
2 participants