You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2016/01/15 12:14:40 UTC
[jira] [Created] (JCR-3944) CachingDataStore - Disable
AsyncUploadCache by default
Amit Jain created JCR-3944:
------------------------------
Summary: CachingDataStore - Disable AsyncUploadCache by default
Key: JCR-3944
URL: https://issues.apache.org/jira/browse/JCR-3944
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-data
Reporter: Amit Jain
Priority: Critical
Fix For: 2.11.4
Enabling AsyncUploadCache can lead to data inconsistencies. When a node is created the {{CachingDataStore#addRecord}} call returns immediately with the blob id, while corresponding blob is uploaded asynchronously. This can cause the inconsistency as if there is an error in the upload the node is already created.
Also, this may not be visible immediately and it will be very hard to discern the root cause.
AsyncUploadCache is enabled by default with value set to 100 and should be disabled by default by setting to 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)