[JBoss JIRA] (ISPN-8799) Limit the default number of shards in the AffinityIndexManager
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8799?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8799:
------------------------------------
Description: By default this index manager will create as many Lucene indexes as Infinispan segments (256) which will penalize query performance. (was: By default this index manager will create as many Lucene indexes and Infinispan segments (256) which will penalize query performance.)
> Limit the default number of shards in the AffinityIndexManager
> --------------------------------------------------------------
>
> Key: ISPN-8799
> URL: https://issues.jboss.org/browse/ISPN-8799
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.Final
>
>
> By default this index manager will create as many Lucene indexes as Infinispan segments (256) which will penalize query performance.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8798) ByteString places too strict a constraint on cache name length
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/ISPN-8798?page=com.atlassian.jira.plugin.... ]
Paul Ferraro updated ISPN-8798:
-------------------------------
Description:
The hibernate 2nd level cache code can easily generate cache names that exceed the byte length restriction enforced by ByteString. Cache names are generated using the fully qualified class name of the entity, which are user defined, and in the case of WildFly, also includes the deployment name, which can be particularly long for EARs.
At the very least, we should use an unsigned byte which doubles the allowed size. Why not also consider using https://github.com/infinispan/infinispan/blob/master/commons/src/main/jav... to marshal/unmarshal the size of the byte[] containing the name? At worst, this costs an extra byte, but solves the size problem for even sizes larger than 255.
was:
The hibernate 2nd level cache code can easily generate cache names that exceed the byte length restriction enforced by ByteString. Cache names are generated using the fully qualified class name of the entity, which are user defined, and in the case of WildFly, also includes the deployment name, which can be particularly long for EARs.
Why not instead use https://github.com/infinispan/infinispan/blob/master/commons/src/main/jav... to marshal/unmarshal the size of the byte[] containing the name? At worst, this costs an extra byte, but solves the size problem.
> ByteString places too strict a constraint on cache name length
> --------------------------------------------------------------
>
> Key: ISPN-8798
> URL: https://issues.jboss.org/browse/ISPN-8798
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.5.Final, 9.2.0.CR2
> Reporter: Paul Ferraro
> Priority: Blocker
>
> The hibernate 2nd level cache code can easily generate cache names that exceed the byte length restriction enforced by ByteString. Cache names are generated using the fully qualified class name of the entity, which are user defined, and in the case of WildFly, also includes the deployment name, which can be particularly long for EARs.
> At the very least, we should use an unsigned byte which doubles the allowed size. Why not also consider using https://github.com/infinispan/infinispan/blob/master/commons/src/main/jav... to marshal/unmarshal the size of the byte[] containing the name? At worst, this costs an extra byte, but solves the size problem for even sizes larger than 255.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8798) ByteString places too strict a constraint on cache name length
by Paul Ferraro (JIRA)
Paul Ferraro created ISPN-8798:
----------------------------------
Summary: ByteString places too strict a constraint on cache name length
Key: ISPN-8798
URL: https://issues.jboss.org/browse/ISPN-8798
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.2.0.CR2, 9.1.5.Final
Reporter: Paul Ferraro
Priority: Blocker
The hibernate 2nd level cache code can easily generate cache names that exceed the byte length restriction enforced by ByteString. Cache names are generated using the fully qualified class name of the entity, which are user defined, and in the case of WildFly, also includes the deployment name, which can be particularly long for EARs.
Why not instead use https://github.com/infinispan/infinispan/blob/master/commons/src/main/jav... to marshal/unmarshal the size of the byte[] containing the name? At worst, this costs an extra byte, but solves the size problem.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8792) EntryWrappingInterceptorDoesNotBlockTest random failures
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8792?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-8792:
------------------------------
Description:
PrepareExpectingInterceptor (at the top of the stack) expects that the invocationstage is receives is not complete. When a remote get is completed before the interceptor gets the stage, the stage can get completed, too, and an assertion fires.
Subsequently the latch in the interceptor is not decremented and {{await}} throws a TimeoutException, failing the test.
> EntryWrappingInterceptorDoesNotBlockTest random failures
> --------------------------------------------------------
>
> Key: ISPN-8792
> URL: https://issues.jboss.org/browse/ISPN-8792
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.CR2
> Reporter: Radim Vansa
> Assignee: Radim Vansa
>
> PrepareExpectingInterceptor (at the top of the stack) expects that the invocationstage is receives is not complete. When a remote get is completed before the interceptor gets the stage, the stage can get completed, too, and an assertion fires.
> Subsequently the latch in the interceptor is not decremented and {{await}} throws a TimeoutException, failing the test.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month