[JBoss JIRA] (ISPN-5830) Manage state transfer actions
by Pedro Zapata (JIRA)
[ https://issues.jboss.org/browse/ISPN-5830?page=com.atlassian.jira.plugin.... ]
Pedro Zapata reassigned ISPN-5830:
----------------------------------
Assignee: Vladimir Blagojevic
> Manage state transfer actions
> -----------------------------
>
> Key: ISPN-5830
> URL: https://issues.jboss.org/browse/ISPN-5830
> Project: Infinispan
> Issue Type: Sub-task
> Components: Console
> Reporter: Pedro Zapata
> Assignee: Vladimir Blagojevic
> Labels: jdg7
>
> As an administrator, I want to control Cross site state transfer (when replica sites go offline and come back online) conveniently from the Management Console.
> At its core, this is a cache level operation. However, we need a Cache container level operation that will transfer state for all cache that are replicated to the affected data-center(s).
> The following actions will be added to the Cache container action menu
> - Take site offline
> - Bring site online
> Another 2 additional options will also be added:
> - Force state transfer
> - Stop state transfer
> Those options will be only enabled if cross site replication is enabled
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5829) Configuration view for node
by Pedro Zapata (JIRA)
[ https://issues.jboss.org/browse/ISPN-5829?page=com.atlassian.jira.plugin.... ]
Pedro Zapata reassigned ISPN-5829:
----------------------------------
Assignee: Vladimir Blagojevic
> Configuration view for node
> ---------------------------
>
> Key: ISPN-5829
> URL: https://issues.jboss.org/browse/ISPN-5829
> Project: Infinispan
> Issue Type: Sub-task
> Components: Console
> Reporter: Pedro Zapata
> Assignee: Vladimir Blagojevic
> Labels: jdg7
>
> As an administrator, I want to configure a node, review and revise as necessary the transport/discovery protocols, server hinting values.
> The only properties that will be configurable are:
> - Host to run (know which hosts are empty and which ones have server running).
> - JVM configuration.
> - Port offset
> - Server hinting properties.
> - Remote endpoint external address / point - optional
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5831) Create cache container level operations for managing state transfer
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-5831:
----------------------------------
Summary: Create cache container level operations for managing state transfer
Key: ISPN-5831
URL: https://issues.jboss.org/browse/ISPN-5831
Project: Infinispan
Issue Type: Feature Request
Components: Core
Reporter: Pedro Zapata
We need cache container level operations bringing sites online/offline and managing state transfer operations.
Currently, this operations are cache based but we are interested in the management console UI to perform them at the cache container level.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5830) Manage state transfer actions
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-5830:
----------------------------------
Summary: Manage state transfer actions
Key: ISPN-5830
URL: https://issues.jboss.org/browse/ISPN-5830
Project: Infinispan
Issue Type: Sub-task
Components: Console
Reporter: Pedro Zapata
As an administrator, I want to control Cross site state transfer (when replica sites go offline and come back online) conveniently from the Management Console.
At its core, this is a cache level operation. However, we need a Cache container level operation that will transfer state for all cache that are replicated to the affected data-center(s).
The following actions will be added to the Cache container action menu
- Take site offline
- Bring site online
Another 2 additional options will also be added:
- Force state transfer
- Stop state transfer
Those options will be only enabled if cross site replication is enabled
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5691) Server should enable writeSkew for some configurations by default
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-5691?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-5691:
------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.1.0.Alpha2
Resolution: Done
> Server should enable writeSkew for some configurations by default
> -----------------------------------------------------------------
>
> Key: ISPN-5691
> URL: https://issues.jboss.org/browse/ISPN-5691
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Fix For: 8.1.0.Alpha2, 8.1.0.Final, 7.2.6.Final
>
>
> By default, optimistic locking caches do not enable write skew. This was already spotted in ISPN-3655.
> In an embedded environment, the user can always enable write skew in its configuration, but this cannot be enabled in server mode.
> Widlfly does enable write skew programmatically depending on the configuration:
> {quote}
> > hey, quick q: can you configure writeSkew on infinispan wildfly
> config?
> <pferraro> we always enable write skew for synchronous, optimistic,
> repeatable-read caches, and disable otherwise
> > pferraro: ah, you do it in the integration code?
> <pferraro> yes
> {quote}
> We need to be doing the same in server configuration, otherwise we run the risk of having issues with conditional operations under failure situations (see ISPN-2956)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5787) Issues with aggregation queries using Date objects
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5787?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-5787:
--------------------------------
Fix Version/s: 8.1.0.Alpha2
8.0.2.Final
> Issues with aggregation queries using Date objects
> --------------------------------------------------
>
> Key: ISPN-5787
> URL: https://issues.jboss.org/browse/ISPN-5787
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.0.1.Final, 8.1.0.Alpha1
> Reporter: Jakub Markos
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Alpha2, 8.0.2.Final
>
>
> I found 2 problems, not sure if they have a common cause:
> 1.
> This query
> {code}
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select("date")
> .having("date").between(makeDate("2013-02-15"), makeDate("2013-03-15")).toBuilder()
> .groupBy("date")
> .build();
> List<Object[]> list = q.list();
> {code}
> fails with
> {code}
> org.hibernate.hql.ParsingException: HQL000002: The query SELECT _gen0.date FROM org.infinispan.query.dsl.embedded.testdomain.hsearch.TransactionHS _gen0 WHERE (date >= Fri Feb 15 01:00:00 CET 2013) AND (date <= Fri Mar 15 01:00:00 CET 2013) is not valid; Parser error messages: [[statement, statementElement, selectStatement, queryExpression, querySpec, whereClause, logicalExpression, expression, logicalOrExpression, logicalAndExpression, negatedExpression, equalityExpression, relationalExpression, concatenation, additiveExpression, multiplyExpression, unaryExpression, atom]: line 1:116 mismatched token: [@35,116:118='Feb',<75>,1:116]; expecting type RIGHT_PAREN].
> {code}
> The query works after removing the groupBy. It also partially works in remote mode (running in RemoteQueryDslConditionsTest) - the query is parsed, but still doesn't return the result as a Date object.
> 2.
> This query
> {code}
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select(Expression.count("date"), Expression.min("date"))
> .having("description").eq("Hotel").toBuilder()
> .groupBy("id")
> .build();
> List<Object[]> list = q.list();
> {code}
> returns in the 2nd column the internal representation of the Date (i.e. 20130227000000000) instead of an object. Selecting only the minimum, select(Expression.min("date")), the query returns a Date object.
> Both queries are supposed to be run inside the QueryDslConditionsTest test class.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5787) Issues with aggregation queries using Date objects
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5787?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-5787:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3739
> Issues with aggregation queries using Date objects
> --------------------------------------------------
>
> Key: ISPN-5787
> URL: https://issues.jboss.org/browse/ISPN-5787
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.0.1.Final, 8.1.0.Alpha1
> Reporter: Jakub Markos
> Assignee: Adrian Nistor
>
> I found 2 problems, not sure if they have a common cause:
> 1.
> This query
> {code}
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select("date")
> .having("date").between(makeDate("2013-02-15"), makeDate("2013-03-15")).toBuilder()
> .groupBy("date")
> .build();
> List<Object[]> list = q.list();
> {code}
> fails with
> {code}
> org.hibernate.hql.ParsingException: HQL000002: The query SELECT _gen0.date FROM org.infinispan.query.dsl.embedded.testdomain.hsearch.TransactionHS _gen0 WHERE (date >= Fri Feb 15 01:00:00 CET 2013) AND (date <= Fri Mar 15 01:00:00 CET 2013) is not valid; Parser error messages: [[statement, statementElement, selectStatement, queryExpression, querySpec, whereClause, logicalExpression, expression, logicalOrExpression, logicalAndExpression, negatedExpression, equalityExpression, relationalExpression, concatenation, additiveExpression, multiplyExpression, unaryExpression, atom]: line 1:116 mismatched token: [@35,116:118='Feb',<75>,1:116]; expecting type RIGHT_PAREN].
> {code}
> The query works after removing the groupBy. It also partially works in remote mode (running in RemoteQueryDslConditionsTest) - the query is parsed, but still doesn't return the result as a Date object.
> 2.
> This query
> {code}
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select(Expression.count("date"), Expression.min("date"))
> .having("description").eq("Hotel").toBuilder()
> .groupBy("id")
> .build();
> List<Object[]> list = q.list();
> {code}
> returns in the 2nd column the internal representation of the Date (i.e. 20130227000000000) instead of an object. Selecting only the minimum, select(Expression.min("date")), the query returns a Date object.
> Both queries are supposed to be run inside the QueryDslConditionsTest test class.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-5829) Configuration view for node
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-5829:
----------------------------------
Summary: Configuration view for node
Key: ISPN-5829
URL: https://issues.jboss.org/browse/ISPN-5829
Project: Infinispan
Issue Type: Sub-task
Components: Console
Reporter: Pedro Zapata
As an administrator, I want to configure a node, review and revise as necessary the transport/discovery protocols, server hinting values.
The only properties that will be configurable are:
- Host to run (know which hosts are empty and which ones have server running).
- JVM configuration.
- Port offset
- Server hinting properties.
- Remote endpoint external address / point - optional
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years