[JBoss JIRA] (ISPN-6935) Use Collection instead of Set
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-6935?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-6935:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Use Collection instead of Set
> -----------------------------
>
> Key: ISPN-6935
> URL: https://issues.jboss.org/browse/ISPN-6935
> Project: Infinispan
> Issue Type: Sub-task
> Components: Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 9.0.0.Beta1
>
>
> Currently the xManyCommand commands hold the keys in a set internally. During marshalling and splitting the set (when the command goes remote), we use {{HashSet}}. However, this has drawbacks:
> a) if the set passed to command uses different means of equality than {{Object.hashCode()}} and {{Object.equals()}} we may lose some keys in the derived set - we don't inject dataContainer's keyEquivalence to the commands
> b) as these sets are usually just iterated through (contains() is rare) it's less effective to use complex data structures as {{HashSet}} - plain {{ArrayList}} is sufficient.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ISPN-6846) Script filter_failed_logs.sh doesn't work with the new test suite listeners
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6846?page=com.atlassian.jira.plugin.... ]
Dan Berindei reopened ISPN-6846:
--------------------------------
I updated the script to support both the new and the old style of reporting failed tests, but it is always always choosing the old style because it's only looking at the first 100 lines of the log.
The script is unlikely to be used with another branch, so it doesn't really need to support the old style.
> Script filter_failed_logs.sh doesn't work with the new test suite listeners
> ---------------------------------------------------------------------------
>
> Key: ISPN-6846
> URL: https://issues.jboss.org/browse/ISPN-6846
> Project: Infinispan
> Issue Type: Bug
> Components: Build process
> Affects Versions: 9.0.0.Alpha2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 9.0.0.Alpha4
>
>
> CI uses {{filter_failed_logs.sh}} to find and filter the logs of failed tests in the Trace build. Unfortunately the script wasn't updated by ISPN-6364 (or ISPN-6609), so it doesn't find any failures.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ISPN-7047) Cloud cache store can check if container exists too early
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-7047:
-------------------------------------
Summary: Cloud cache store can check if container exists too early
Key: ISPN-7047
URL: https://issues.jboss.org/browse/ISPN-7047
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 8.2.4.Final
Reporter: Vojtech Juranek
Assignee: Vojtech Juranek
When container doesn't exits and cloud cache store creates new one, it check immediately if container is created. It can happen (observed several times on AWS S3), that container was created, but cache store failed with exception that it's not able to create cache store, as it checks S3 too early.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months