Bug 1059489 - Preload with async cache store is not efficient
Summary: Preload with async cache store is not efficient
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: 6.2.1
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1060199 1075061
TreeView+ depends on / blocked
 
Reported: 2014-01-29 23:38 UTC by Mircea Markus
Modified: 2025-02-10 03:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1060199 (view as bug list)
Environment:
Last Closed: 2025-02-10 03:34:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3957 0 Major Resolved Preload with async cache store is not efficient 2014-05-27 00:13:26 UTC

Description Mircea Markus 2014-01-29 23:38:42 UTC
Description of problem:
Configuring on a AdvancedCacheLoader preload=true and asyn=true cause it to load each entry in the store in a loop, each entry being loaded through an store read.
This is caused by the way loadAll is implemented in the AsynLoader: in order to enforce consistency with whatever is in memory it does some special handling. The thing is, though, that we don't need this advanced async loader logic during the initial preload, as the async cache loader is empty.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
This appeared as a critical problem for a client.

Comment 2 Dan Berindei 2014-01-30 12:17:49 UTC
Pull request integrated: https://github.com/infinispan/jdg/pull/16

Comment 7 Red Hat Bugzilla 2025-02-10 03:34:59 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.