Skip to content

Conversation

dizzzz
Copy link
Member

@dizzzz dizzzz commented Oct 6, 2025

sync of Make unique query history keys for monex #5881

@dizzzz dizzzz requested a review from a team as a code owner October 6, 2025 18:40
@line-o
Copy link
Member

line-o commented Oct 6, 2025

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>

@line-o
Copy link
Member

line-o commented Oct 6, 2025

@line-o line-o added the needs Junit test Java test required to reproduce label Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs Junit test Java test required to reproduce
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants