175 QueryPlanKilled: Query plan killed during execution
MongoDBWhat does it mean?
The plan of a running query became invalid because the underlying data/collection changed, and it was killed. The query was aborted because it could not continue safely.
Why does it happen?
While the query was running (especially with an open cursor), the collection was dropped, an index it was using was dropped, or a rename/reconfiguration occurred. Underlying changes during long-running getMore calls are the typical trigger.
How to fix it
Restart the query/cursor (retry). Make sure no destructive DDL (drop, dropIndex, rename) is run on the collection or index while queries are running; schedule such maintenance outside query traffic. Shorten long-running reads and make sure required indexes are permanent.
More from this engine
- 189 PrimarySteppedDownPrimary stepped down while operation was in progress
- 24 LockTimeoutOperation exceeded time limit waiting for a lock
- 7 HostNotFoundCould not find host
- 11602 InterruptedDueToReplStateChangeOperation interrupted due to a replication state change
- 136 CappedPositionLostCapped collection position lost
- 28 PathNotViableCannot use the part of the path to traverse the element
- 216 ElectionInProgressElectionInProgress