Disable the explain button while an explain is running
The Explain Plan option does not allow ending the operation.
When selecting the explain button, no interface animation is displayed that indicates the "running" state of the operation. Also, the tool ignores the "maxTimeMS" parameter and continues the operation even after the elapsed time.
Steps to Reproduce
Select the Explain Plan option > select a field to filter in the database > fill in a "maxTimeMS" value > click explain.
Continuously clicking the explain button generates several similar operations without option to stop it.
Expected Results
Prevent starting multiple explain operations when there is still one in progress. Allow stop on an Explain Plan operation.
Consider the maxTimeMS in the Explain Plan option.
Actual Results
Explain operations cannot be interrupted by the user and he doesn't know if something is actually being executed.
Additional Notes
Compass readonly version 1.35.0
We made explain plans cancellable. The new functionality is available in the most recent beta and will be rolled out in the next GA release.
-
Sergio commented
@Massimiliano Thank you!