[
https://issues.apache.org/jira/browse/SOLR-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Khludnev updated SOLR-4085:
-----------------------------------
Attachment: SOLR-4085.patch
pls find patch with test coverage
Key design points:
- does not rely on file timestamp, just count number of reloads as a version
- version is held by every externalfilefield key.
- every FFValueSource receives current version timestam, and uses it for
equality check - quite important for queryResultCache
-
- addresses stale cache entry problem. after field is reloaded new queries
refers to it are not equal to the older ones that allows evict old entries from
queryResultCache, etc
- doesn't covers atomicity problem when main query refers to the same field
twice, one of them can be reloaded after another one is already in use
- support warming after commit. file is read and later provides cache hits;
- concurrent reloads (including lazy one) may lead to not really pleasant
behavior. user should protect from such races externally anyway.
> Commit-free ExternalFileField
> -----------------------------
>
> Key: SOLR-4085
> URL: https://issues.apache.org/jira/browse/SOLR-4085
> Project: Solr
> Issue Type: Improvement
> Components: Schema and Analysis
> Affects Versions: 4.1
> Reporter: Mikhail Khludnev
> Labels: externalfilefield
> Attachments: SOLR-4085.patch
>
>
> Let's reload ExternalFileFields without commit!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]