-
Couldn't load subscription status.
- Fork 1.1k
Closed
Labels
type: enhancementA general enhancementA general enhancement
Milestone
Description
Starting from version 6, Mongo has server parameter allowDiskUseByDefault which is true by default. In Spring allowDiskUse for aggregation pipelines is false by default (because of using boolean) which means Spring always implicitly overrides Mongo default beheviour. Queries have no such issue. I think Spring should not set any parameters silently overriding Mongo default behaviour
public class AggregationOptions implements ReadConcernAware, ReadPreferenceAware {
...
private final boolean allowDiskUse;
...
}Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement