Roxie metric allQueryActive sometimes is 4294967295
Description
Sometimes a testsocket \<control:metrics\> request returns:
Conclusion
None
Activity
Show:
Richard Chapman June 25, 2021 at 1:43 PM
Seems like it does go wrong (and stay wrong) when it hits "Too many active queries". I can reproduce that.
Gavin Halliday April 22, 2021 at 3:12 PM
The only way I can see it occurring is if there was an exception e.g. "Too many active queries", "Unsupported format specified:" which was thrown before the call to msgctx->noteQueryActive();. If so it would decrement the number of active queries - but it would stay wrong.
There are other paths that avoid the noteQueryActive() call that could also trigger it.
Mark Kelly April 14, 2021 at 8:08 PM
Normally the value is expected, such as 0,1,2 .... But sometimes it is 4294967295, but then the next check it is a normal value again.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Sometimes a testsocket \<control:metrics\> request returns: