[
https://issues.apache.org/jira/browse/OAK-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258142#comment-15258142
]
Francesco Mari commented on OAK-4294:
-------------------------------------
I don't see any reason why those instance variables shouldn't be volatile. +1
from my side.
> Consider making FileStore.writer volatile
> -----------------------------------------
>
> Key: OAK-4294
> URL: https://issues.apache.org/jira/browse/OAK-4294
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-next
> Reporter: Michael Dürig
> Priority: Minor
> Labels: technical_debt
> Fix For: 1.6
>
> Attachments: OAK_4294.patch
>
>
> That filed is not volatile although access by different threads. We should
> consider changing it to volatile.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)