[
https://issues.apache.org/jira/browse/BLUR-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravikumar updated BLUR-431:
---------------------------
Attachment: CacheIOContext.java
CacheDirectory.java
CacheFileUtil.java
AutoSavingBaseCache.java
BlockCacheIndexWarmup.java
I am attaching a re-worked second version…
1. blockIds are streamed to an already opened cache-file. First-cut pre-sort
and then write blockIds approach is removed
2. Warmup will read blockIds from the cache-file, form a bit-set and then scan
the file in ascending/sequential order
3. These blockIds are read via lucene-APIs. Underlying CacheDirectory will take
care of re-populating the block-cache
> Auto-Save/Load Block-cache
> --------------------------
>
> Key: BLUR-431
> URL: https://issues.apache.org/jira/browse/BLUR-431
> Project: Apache Blur
> Issue Type: Improvement
> Affects Versions: 0.2.2
> Reporter: Ravikumar
> Attachments: AutoSavingBaseCache.java, AutoSavingBaseCache.java,
> BlockCacheIndexWarmup.java, BlockCacheIndexWarmup.java, CacheDirectory.java,
> CacheDirectory.java, CacheFileUtil.java, CacheIOContext.java,
> CacheIOContext.java
>
>
> Experimental Block-Cache/Load initial version attached here...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)