[JBoss JIRA] (ISPN-12288) Upgrade to Hibernate Search 6.0.0.Beta10
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12288?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes reassigned ISPN-12288:
----------------------------------------
Assignee: Gustavo Fernandes
> Upgrade to Hibernate Search 6.0.0.Beta10
> ----------------------------------------
>
> Key: ISPN-12288
> URL: https://issues.redhat.com/browse/ISPN-12288
> Project: Infinispan
> Issue Type: Task
> Components: Embedded Querying, Remote Querying
> Affects Versions: 12.0.0.Dev02
> Reporter: Yoann Rodière
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 12.0.0.Dev03
>
> Attachments: javabean-property-access.diff
>
>
> https://in.relation.to/2020/09/07/hibernate-search-6-0-0-Beta10/
> Relevant changes:
> * {{maxDepth}} was renamed to {{includeDepth}}; this may affect the mapping code for Remote Query in particular. PR: https://github.com/hibernate/hibernate-search/pull/2337
> * If Infinispan calls {{SearchResult#totalHitCount()}} anywhere, then it should now call {{total().hitCount()}} instead. {{totalHitCount}} is deprecated.
> * Some SPI interfaces related to the type model have changed and Infinispan implementation may not compile anymore. I recommend changing the Infinispan implementation the same way we changed another mapper bundled with Search (see the attached diff). An added benefit: with these changes, embedded mode will support annotations on both methods and fields (which was supported in 5 but was dropped during the migration to Search 6).
> * {{IndexFieldDescriptor}} now exposes a {{multiValuedInRoot()}} method, which I was told would be very useful to Infinispan, which currently has to go through some hoops to compute that value based on the multi-valued-ness of a field **and its parents**.
> * Timeouts are now forwarded to the entity loader. If Infinispan defines an entity loader when loading hits as entities instead of projections (and it probably should), some changes may be necessary in this area. PR: https://github.com/hibernate/hibernate-search/pull/2333
> Optionally, the new ["total hit count threshold"|https://in.relation.to/2020/09/07/hibernate-search-6-0-0-Beta10/#total-hit-count-threshold] could be used to improve performance in Infinispan, but that should probably be addressed a follow-up ticket.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months
[JBoss JIRA] (ISPN-12288) Upgrade to Hibernate Search 6.0.0.Beta10
by Yoann Rodière (Jira)
Yoann Rodière created ISPN-12288:
------------------------------------
Summary: Upgrade to Hibernate Search 6.0.0.Beta10
Key: ISPN-12288
URL: https://issues.redhat.com/browse/ISPN-12288
Project: Infinispan
Issue Type: Task
Components: Embedded Querying, Remote Querying
Affects Versions: 12.0.0.Dev02
Reporter: Yoann Rodière
Fix For: 12.0.0.Dev03
Attachments: javabean-property-access.diff
https://in.relation.to/2020/09/07/hibernate-search-6-0-0-Beta10/
Relevant changes:
* {{maxDepth}} was renamed to {{includeDepth}}; this may affect the mapping code for Remote Query in particular. PR: https://github.com/hibernate/hibernate-search/pull/2337
* If Infinispan calls {{SearchResult#totalHitCount()}} anywhere, then it should now call {{total().hitCount()}} instead. {{totalHitCount}} is deprecated.
* Some SPI interfaces related to the type model have changed and Infinispan implementation may not compile anymore. I recommend changing the Infinispan implementation the same way we changed another mapper bundled with Search (see the attached diff). An added benefit: with these changes, embedded mode will support annotations on both methods and fields (which was supported in 5 but was dropped during the migration to Search 6).
* {{IndexFieldDescriptor}} now exposes a {{multiValuedInRoot()}} method, which I was told would be very useful to Infinispan, which currently has to go through some hoops to compute that value based on the multi-valued-ness of a field **and its parents**.
* Timeouts are now forwarded to the entity loader. If Infinispan defines an entity loader when loading hits as entities instead of projections (and it probably should), some changes may be necessary in this area. PR: https://github.com/hibernate/hibernate-search/pull/2333
Optionally, the new ["total hit count threshold"|https://in.relation.to/2020/09/07/hibernate-search-6-0-0-Beta10/#total-hit-count-threshold] could be used to improve performance in Infinispan, but that should probably be addressed a follow-up ticket.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months
[JBoss JIRA] (ISPN-12280) Failfast if lsof is not present in unix
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12280?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12280:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 12.0.0.Dev03
Resolution: Done
> Failfast if lsof is not present in unix
> ---------------------------------------
>
> Key: ISPN-12280
> URL: https://issues.redhat.com/browse/ISPN-12280
> Project: Infinispan
> Issue Type: Enhancement
> Components: Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> Some tests require lsof be present in order to work properly
> Example:
> {noformat}
> 13:24:51.246 [INFO] Infinispan JCACHE (JSR-107) TCK Runner Remote ...... SUCCESS [05:58 min]
> 13:24:51.246 [INFO] Server Integration ................................. SUCCESS [ 11.991 s]
> 13:24:51.246 [INFO] Integration tests - WildFly Module Integration Tests SUCCESS [ 58.984 s]
> {noformat}
> when not present
> {noformat}
> [ERROR] Errors:
> [ERROR] BaseHotRodQueryIT.testRemoteQuery ? HotRodClient org.infinispan.server.hotrod....
> [ERROR] BaseHotRodQueryIT.testUninverting ? HotRodClient org.infinispan.server.hotrod....
> [ERROR] HotRodClientIT.testCacheManager ? HotRodClient org.infinispan.server.hotrod.Ca...
> [ERROR] HotRodQueryIT.testRemoteQuery ? HotRodClient org.infinispan.server.hotrod.Cach...
> [ERROR] HotRodQueryIT.testUninverting ? HotRodClient org.infinispan.server.hotrod.Cach...
> [ERROR] InfinispanRemoteWithQueryIT.testRemoteQuery ? HotRodClient org.infinispan.serv...
> [ERROR] InfinispanRemoteWithQueryIT.testUninverting ? HotRodClient org.infinispan.serv...
> {noformat}
> It will take times to find out that the root cause is because lsof is missing
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months
[JBoss JIRA] (ISPN-12287) Console 0.9.Final
by Katia Aresti (Jira)
Katia Aresti created ISPN-12287:
-----------------------------------
Summary: Console 0.9.Final
Key: ISPN-12287
URL: https://issues.redhat.com/browse/ISPN-12287
Project: Infinispan
Issue Type: Component Upgrade
Components: Server
Affects Versions: 12.0.0.Dev02
Reporter: Katia Aresti
Assignee: Katia Aresti
Include the latest 0.9.Final in the server
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months
[JBoss JIRA] (ISPN-12271) Allow different servers for server integration test suite
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-12271?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-12271:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 12.0.0.Dev03
Assignee: Diego Lovison
Resolution: Done
> Allow different servers for server integration test suite
> ---------------------------------------------------------
>
> Key: ISPN-12271
> URL: https://issues.redhat.com/browse/ISPN-12271
> Project: Infinispan
> Issue Type: Enhancement
> Components: Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> The current implementation is running the tests only with Wildfly.
> The goal is to reuse as many tests as we can and change the server before running the test.
> For example:
> * mvn clean verify -pl integrationtests/server-integration/third-party-server -s maven-settings.xml -Dinfinispan.server.integration.launch=tomcat -Dtomcat.zip=/path/to/apache-tomcat.zip
> * mvn clean verify -pl integrationtests/server-integration/third-party-server -s maven-settings.xml -Dinfinispan.server.integration.launch=wildfly
> * mvn clean verify -pl integrationtests/server-integration/wildfly-modules
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months