Description
The $_internalConvertBucketIndexStats stage used PauseExecution as a way to signal "skip this document" when an index stats conversion failed. But PauseExecution is not a general purpose skip mechanism, but rather a TeeBuffer-internal signal used solely by $facet to coordinate its sub-pipelines. When this stage is placed before $facet in a pipeline, TeeBuffer receives the unexpected PauseExecution from upstream and hits a hard invariant assertion, crashing mongod.
Problem types
Product status
8.3.0 (semver) before 8.3.3
8.2.0 (semver) before 8.2.10
8.0.0 (semver) before 8.0.10
7.0.0 (semver) before 7.0.35
References
jira.mongodb.org/browse/SERVER-123951