spring-projects / spring-data-mongodb

Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-mongodb/
Apache License 2.0
1.62k stars 1.09k forks source link

Retain order doing reactive save operations with multiple elements. #4824

Closed christophstrobl closed 1 week ago

christophstrobl commented 3 weeks ago

Resolves: #4804

fremarti commented 3 weeks ago

Imho flatMapSequentially should be replaced with concatMap in order to preserve the order of execution (see comment https://github.com/spring-projects/spring-data-mongodb/issues/4804#issuecomment-2451666256)