[
https://issues.apache.org/jira/browse/OAK-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig updated OAK-4294:
-------------------------------
Attachment: OAK_4294.patch
[^OAK_4294.patch]. [~alex.parvulescu], [~frm], WDYT? Those fields are accessed
without synchronisation so we might end up reading old values. Any other
considerations?
> 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)