[JBoss JIRA] (WFLY-11535) Cluster fails to merge if instances started simultaneously
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/WFLY-11535?page=com.atlassian.jira.plugin... ]
Paul Ferraro commented on WFLY-11535:
-------------------------------------
[~ianrodgers] Thanks for the clarifications/updates.
> Cluster fails to merge if instances started simultaneously
> ----------------------------------------------------------
>
> Key: WFLY-11535
> URL: https://issues.jboss.org/browse/WFLY-11535
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 14.0.0.Final
> Environment: Keycloak 4.6.0 official docker image, AWS ECS cluster
> Reporter: Ian Rodgers
> Assignee: Paul Ferraro
> Priority: Major
> Attachments: standalone-ha.xml
>
>
> Our Keycloak docker cluster has four instances, clustered using Jgroups/Infinispan as per the standalone-ha.xml. If you start them all simultaneously the "Receive new cluster" logs indicate four separate clusters, each with a single member. They never get merged into the proper single cluster of four members. It seems to be the merging that has changed. The application then fails (we are not using sticky sessions, and each member is ignorant of the sessions on the other members).
> We can only start the cluster by first starting one instance, then when it is running, starting the other three. The logs then indicate the creation of a single cluster which subsequent instances join.
> This is consistent behaviour, and when we revert back to v.4.5.0, the issue goes away, Unfortunately we need 4.6.0 for an important fix.
> On 4.5.0 we get the message "Received new, MERGED cluster view for channel ejb: MergeView::" when it detects a number of subgroups to merge. This never appears in 4.6.0.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11495) WildFly 14-15 Create Query
by Scott Marlow (Jira)
[ https://issues.jboss.org/browse/WFLY-11495?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-11495:
-------------------------------------
Have you tried enabling the [Hibernate native API bytecode transformer?|http://docs.wildfly.org/15/Developer_Guide.html#hibernate-tr...]
> WildFly 14-15 Create Query
> --------------------------
>
> Key: WFLY-11495
> URL: https://issues.jboss.org/browse/WFLY-11495
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.1.Final, 15.0.0.Final
> Reporter: Majid Mostafavi
> Assignee: Scott Marlow
> Priority: Major
>
> Hi
> When I use this syntax for create lazy data loader
> CriteriaBuilder builder = entityManager.getCriteriaBuilder();
> CriteriaQuery<{color:#DE350B}X{color}> criteria = builder.createQuery({color:#DE350B}X{color}.class);
> Root<{color:#DE350B}XDTO{color}> xRoot = criteria.from(XDTO.class);
> .
> .
> .
> .
> criteria.where(predicate);
> Query queryResult=entityManager.createQuery(criteria);
> queryResult.setFirstResult(first);
> if (pageSize > 0){
> queryResult.setMaxResults(pageSize);
> }
> wildfly create query by this syntax
> select
> *
> from ( {color:#14892c}select dto item1, select dto item2 from Xroot {color} )
> where
> rownum <=
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months