[JBoss JIRA] (ISPN-5794) Hot Rod should use functional map to do version-based replace
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-5794:
--------------------------------------
Summary: Hot Rod should use functional map to do version-based replace
Key: ISPN-5794
URL: https://issues.jboss.org/browse/ISPN-5794
Project: Infinispan
Issue Type: Enhancement
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 8.2.0.Final
Hot Rod should do version-based replace using the functional map API so that atomicity can be guaranteed and avoid odd behaviour like ISPN-4972
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ISPN-5793) Expose massindexer status and progress over mbean/dmr
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-5793:
-------------------------------------
Summary: Expose massindexer status and progress over mbean/dmr
Key: ISPN-5793
URL: https://issues.jboss.org/browse/ISPN-5793
Project: Infinispan
Issue Type: Enhancement
Reporter: Tristan Tarrant
Assignee: Gustavo Fernandes
Fix For: 8.1.0.Final
It would be useful for the console/cli to expose the ongoing status/progress of any indexing happening on a cache. This would need to happen both on the massIndexer Mbean and on the server dmr
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ISPN-5791) Query DSL : Projecting a Date field multiple times will render it as string
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5791?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-5791:
--------------------------------
Fix Version/s: 8.1.0.Alpha2
> Query DSL : Projecting a Date field multiple times will render it as string
> ---------------------------------------------------------------------------
>
> Key: ISPN-5791
> URL: https://issues.jboss.org/browse/ISPN-5791
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 8.0.1.Final, 8.1.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Alpha2
>
>
> Adding this in QueryDslConditionsTest fails. The second date projection is a String instead of being a Date. First projection is OK. The problem is gone if cache is not indexed, which makes me think it is more of a problem in CacheQuery.
> {code}
> public void testDuplicateDateProjection() throws Exception {
> QueryFactory qf = getQueryFactory();
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select("id", "date", "date")
> .having("description").eq("Hotel")
> .toBuilder().build();
> List<Object[]> list = q.list();
> assertEquals(1, list.size());
> assertEquals(1, list.size());
> assertEquals(3, list.get(0).length);
> assertEquals(3, list.get(0)[0]);
> assertEquals(makeDate("2013-02-27"), list.get(0)[1]);
> assertEquals(makeDate("2013-02-27"), list.get(0)[2]);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ISPN-5791) Query DSL : Projecting a Date field multiple times will render it as string
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5791?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on ISPN-5791:
-------------------------------------
It turns out having duplicate projections on anything that is not a string leads to this kind of problem. The cause is in hibernate-search in DocumentBuilderHelper which does not seem to support multiple projections of same property. It only applies bridges to the first occurrence, the rest remain unhandled so they appear to be rendered as strings.
> Query DSL : Projecting a Date field multiple times will render it as string
> ---------------------------------------------------------------------------
>
> Key: ISPN-5791
> URL: https://issues.jboss.org/browse/ISPN-5791
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 8.0.1.Final, 8.1.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
>
> Adding this in QueryDslConditionsTest fails. The second date projection is a String instead of being a Date. First projection is OK. The problem is gone if cache is not indexed, which makes me think it is more of a problem in CacheQuery.
> {code}
> public void testDuplicateDateProjection() throws Exception {
> QueryFactory qf = getQueryFactory();
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select("id", "date", "date")
> .having("description").eq("Hotel")
> .toBuilder().build();
> List<Object[]> list = q.list();
> assertEquals(1, list.size());
> assertEquals(1, list.size());
> assertEquals(3, list.get(0).length);
> assertEquals(3, list.get(0)[0]);
> assertEquals(makeDate("2013-02-27"), list.get(0)[1]);
> assertEquals(makeDate("2013-02-27"), list.get(0)[2]);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months