Bug 1024914 - JMX statistics for Queries partially doesn't work
Summary: JMX statistics for Queries partially doesn't work
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER5
: 6.2.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1017190
TreeView+ depends on / blocked
 
Reported: 2013-10-30 15:06 UTC by Martin Gencur
Modified: 2025-02-10 03:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:28:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3335 0 Critical Resolved JMX statistics for Queries partially doesn't work 2013-12-06 12:37:11 UTC

Description Martin Gencur 2013-10-30 15:06:30 UTC

Comment 2 JBoss JIRA Server 2013-11-25 16:22:27 UTC
Adrian Nistor <anistor> made a comment on jira ISPN-3335

This seems to be caused by a bug in the way MutableSearchFactory of Hibernate Search is reconfigured when new indexable classes are found in cache. A new copy of the factory is created and all configs are copied from the previous. The statistics object is not (including the enable statistics flag) - this was overlooked maybe. This can be immediately worked around in Infinispan by reimplementing the query statistics mbean to not rely on it being copied during search factory reconfiguration, as the original one does. But this is a messy workaround, so I'll file an issue on Hibernate Search and see when can they provide a proper fix.

Comment 3 JBoss JIRA Server 2013-11-25 16:22:35 UTC
Adrian Nistor <anistor> updated the status of jira ISPN-3335 to Coding In Progress

Comment 4 JBoss JIRA Server 2013-12-02 12:58:58 UTC
Adrian Nistor <anistor> made a comment on jira ISPN-3335

Created an issue on Hibernate Search: https://hibernate.atlassian.net/browse/HSEARCH-1461

For now we'll do our own workaround until Hibernate Search fixes it.

Comment 5 JBoss JIRA Server 2013-12-02 18:20:59 UTC
Adrian Nistor <anistor> made a comment on jira ISPN-3335

Added ISPN-3782 to track a proper fix later.

Comment 6 JBoss JIRA Server 2013-12-02 22:45:18 UTC
Adrian Nistor <anistor> made a comment on jira ISPN-3335

Integrated in master

Comment 7 Vojtech Juranek 2013-12-06 12:37:03 UTC
Verified with JDG_6.2.0.ER5

Comment 8 Red Hat Bugzilla 2025-02-10 03:28:51 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.