You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Unico Hommes (JIRA)" <ji...@apache.org> on 2014/09/17 10:38:33 UTC

[jira] [Created] (JCR-3811) AppendRecord should use TempFileInputStream to allow reattempting database insertions of journal records should the initial attempt fail

Unico Hommes created JCR-3811:
---------------------------------

             Summary: AppendRecord should use TempFileInputStream to allow reattempting database insertions of journal records should the initial attempt fail
                 Key: JCR-3811
                 URL: https://issues.apache.org/jira/browse/JCR-3811
             Project: Jackrabbit Content Repository
          Issue Type: Bug
            Reporter: Unico Hommes


ConnectionHelper is able to reattempt SQL statement execution should the initial attempt fail. But it needs to be able to reset all the binary input streams to do that. The input stream that is used to insert large journal records is a FileInputStream and is not resettable. Use a InputStream that is capable of being reset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)