Since CSOT there was a change on how commands are created with regards to MaxTimeMS. This has changed the shape of the commands sent when using explainable operations.
The maxTimeMS is no longer included in the command being explained but rather is sent on the explain command itself.
Scenarios to consider:
1. maxTimeMS is used - it should be included on the command being explained. It shouldn't be set on the explain command sent to the server.
2. timeoutMS is used - it should be included on both the command being explained and the explain command that is sent to the server.
Note this is related but different to: JAVA-5579
- is related to
-
JAVA-5579 Specify how maxTimeMS can be set for explain helpers
- Backlog