[JBoss JIRA] (ISPN-8484) Retried prepare times out while partition is in degraded mode
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-8484:
----------------------------------
Summary: Retried prepare times out while partition is in degraded mode
Key: ISPN-8484
URL: https://issues.jboss.org/browse/ISPN-8484
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.1.9.Final, 9.0.3.Final, 8.2.8.Final, 9.1.2.Final, 9.2.0.Alpha2
Reporter: Pedro Zapata
Assignee: Dan Berindei
Fix For: 8.1.10.Final, 8.2.9.Final, 9.2.0.Beta1, 9.1.3.Final
Since ISPN-5046, prepare commands are retried if one of the prepare targets has left the cluster. However, when the cache enters degraded mode, the prepare targets still include the owners in other partitions, and the prepare command is retried again.
Each retry automatically waits for cache topology {{<command topology> + 1}}. But the second retry is not really triggered by a topology change, so the retry blocks for {{remoteTimeout}} milliseconds before failing with a {{TimeoutException}}.
This situation actually happens in {{OptimisticTxPartitionAndMergeDuringPrepareTest}}, but the tests do not fail because it doesn't wait for an {{AvailabilityException}} specifically: they just take 15+ seconds each.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (ISPN-8483) Error when grouping by property that is a path
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-8483:
---------------------------------------
Summary: Error when grouping by property that is a path
Key: ISPN-8483
URL: https://issues.jboss.org/browse/ISPN-8483
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.2.0.Alpha2
Reporter: Gustavo Fernandes
Assignee: Adrian Nistor
If the GROUP BY clause is done on fields of internal entities of the entity queried on, the query fails.
Example, consider a 'Character' entity/message, which has an internal 'Wiki' message, both defined in protobuf. The following query:
{code:sql}
select count(c.name), c.wiki.place_of_birth from Character c group by c.wiki.place_of_birth
{code}
results in
{noformat}
ISPN014026: The expression 'wiki.place_of_birth' must be part of an aggregate function or it
should be included in the GROUP BY clause
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (ISPN-8483) Error when grouping by property that is a path
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8483?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8483:
------------------------------------
Component/s: Embedded Querying
Remote Querying
> Error when grouping by property that is a path
> ----------------------------------------------
>
> Key: ISPN-8483
> URL: https://issues.jboss.org/browse/ISPN-8483
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying, Remote Querying
> Affects Versions: 9.2.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Adrian Nistor
>
> If the GROUP BY clause is done on fields of internal entities of the entity queried on, the query fails.
> Example, consider a 'Character' entity/message, which has an internal 'Wiki' message, both defined in protobuf. The following query:
> {code:sql}
> select count(c.name), c.wiki.place_of_birth from Character c group by c.wiki.place_of_birth
> {code}
> results in
> {noformat}
> ISPN014026: The expression 'wiki.place_of_birth' must be part of an aggregate function or it
> should be included in the GROUP BY clause
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (ISPN-8482) Projection of enum field returns number instead of constant
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-8482:
---------------------------------------
Summary: Projection of enum field returns number instead of constant
Key: ISPN-8482
URL: https://issues.jboss.org/browse/ISPN-8482
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Affects Versions: 9.2.0.Alpha2
Reporter: Gustavo Fernandes
Assignee: Adrian Nistor
Consider the query below where Gender is mapped in protobuf as an {{enum}}:
{code:sql}
select p.gender, count(p.name) from Person p group by p.gender
{code}
The returned projection is numeric rather than MALE/FEMALE.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months