exist
exist copied to clipboard
[bugfix] Sync Make unique query history keys for monex #5881
sync of Make unique query history keys for monex #5881
In todays community meeting we had a look at how to do that.
Basically, we need to check that the jmx:id is increasing after two consecutive calls to any XQuery
<jmx:RecentQueryHistory>
<jmx:row>
<jmx:key>
<jmx:id>0</jmx:id>
<jmx:key>String/2351709330981213714</jmx:key>
</jmx:key>
<jmx:value>
<jmx:idx>0</jmx:idx>
<jmx:mostRecentExecutionDuration>104</jmx:mostRecentExecutionDuration>
<jmx:mostRecentExecutionTime>1759775605266</jmx:mostRecentExecutionTime>
<jmx:recentInvocationCount>1</jmx:recentInvocationCount>
<jmx:requestURI/>
<jmx:sourceKey>String/2351709330981213714</jmx:sourceKey>
</jmx:value>
</jmx:row>
</jmx:RecentQueryHistory>
Test should be added somewhere near https://github.com/nverwer/exist/blob/ab0c76d84a92394488e48427c76d05a54e2632da/exist-core/src/test/java/org/exist/management/JmxRemoteTest.java
For Monday: shall we pull in? Or still a test needed?
If we were to pull it in we should have an issue open to create the test.