[JBoss JIRA] (ISPN-11512) The mass indexer should iterate over the cache only once
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/ISPN-11512?page=com.atlassian.jira.plugi... ]
Nistor Adrian updated ISPN-11512:
---------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Merged in master. The PR for 10.1.x is still pending
> The mass indexer should iterate over the cache only once
> --------------------------------------------------------
>
> Key: ISPN-11512
> URL: https://issues.redhat.com/browse/ISPN-11512
> Project: Infinispan
> Issue Type: Enhancement
> Components: Indexing
> Affects Versions: 10.1.5.Final, 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 11.0.0.Final
>
>
> {{DistributedExecutorMassIndexer}} starts an {{IndexWorker}} for each indexed type and submits them to all the nodes in parallel. Each {{IndexWorker}} runs a blocking iteration over the cache, and when the cache has a store, that iteration is very expensive.
> Each iteration will load and deserialize all the entries in the store. Most stores don't implement {{AbstractSegmentedStoreConfiguration}}, so Infinispan wraps them in a {{ComposedSegmentedLoadWriteStore}}, which iterates over each segment in parallel on the persistence/blocking executor. Since the default number of segments is 256 and the persistence/blocking executor has 4*cpu_count/150 max threads, it doesn't take a lot of parallel iterations to fill the blocking executor's threads and prevent the cache from doing other, more urgent, work.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-11555) Off-heap state transfer does not preserve the timestamp of entries
by Wolf-Dieter Fink (Jira)
Wolf-Dieter Fink created ISPN-11555:
---------------------------------------
Summary: Off-heap state transfer does not preserve the timestamp of entries
Key: ISPN-11555
URL: https://issues.redhat.com/browse/ISPN-11555
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.18.Final, 10.1.5.Final, 11.0.0.Dev03
Reporter: Wolf-Dieter Fink
Assignee: Dan Berindei
Fix For: 11.0.0.Dev04
The ISPN-4075 fix made state transfer preserve the timestamp of mortal/transient entries with OBJECT and BINARY storage, but not with OFF_HEAP storage.
{{OffHeapEntryFactoryImpl.create()}} doesn't even receive the entry's created/last access timestamps, instead it always writes {{timeService.wallClockTime()}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-11534) Deprecate DefaultCacheManager constructors with default configuration
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11534?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11534:
--------------------------------
Status: Open (was: New)
> Deprecate DefaultCacheManager constructors with default configuration
> ---------------------------------------------------------------------
>
> Key: ISPN-11534
> URL: https://issues.redhat.com/browse/ISPN-11534
> Project: Infinispan
> Issue Type: Bug
> Components: API, Core
> Affects Versions: 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> {{DefaultCacheManager}} no longer has a default cache by default. In order to use the constructors with a default {{Configuration}} parameter, the user also has to define a default cache name in the {{GlobalConfiguration}}, but that is surprising.
> We should remove these constructors, as the user can use the {{ConfigurationBuilderHolder}} constructor to define a default cache (and other caches as well) before starting the cache manager.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-11554) Off-heap state transfer does not preserve the timestamp of entries
by Dan Berindei (Jira)
Dan Berindei created ISPN-11554:
-----------------------------------
Summary: Off-heap state transfer does not preserve the timestamp of entries
Key: ISPN-11554
URL: https://issues.redhat.com/browse/ISPN-11554
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 11.0.0.Dev03, 10.1.5.Final, 9.4.18.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.0.Dev04
The ISPN-4075 fix made state transfer preserve the timestamp of mortal/transient entries with OBJECT and BINARY storage, but not with OFF_HEAP storage.
{{OffHeapEntryFactoryImpl.create()}} doesn't even receive the entry's created/last access timestamps, instead it always writes {{timeService.wallClockTime()}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month
[JBoss JIRA] (ISPN-11554) Off-heap state transfer does not preserve the timestamp of entries
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11554?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11554:
--------------------------------
Status: Open (was: New)
> Off-heap state transfer does not preserve the timestamp of entries
> ------------------------------------------------------------------
>
> Key: ISPN-11554
> URL: https://issues.redhat.com/browse/ISPN-11554
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.4.18.Final, 10.1.5.Final, 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> The ISPN-4075 fix made state transfer preserve the timestamp of mortal/transient entries with OBJECT and BINARY storage, but not with OFF_HEAP storage.
> {{OffHeapEntryFactoryImpl.create()}} doesn't even receive the entry's created/last access timestamps, instead it always writes {{timeService.wallClockTime()}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month