[
https://issues.apache.org/jira/browse/FLUME-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691215#comment-13691215
]
Hari Shreedharan commented on FLUME-1917:
-----------------------------------------
Brock,
In your example, the thread-3 sync would end up being a no-op, right? Since the
sync by thread-1 happened after thread-3 updated the lastCommitPosition. After
that thread-3's sync has no effect because the lastSyncOffset is now the same
as the lastCommitOffset(this was updated by thread-1 when the sync happened).
In the scenario you describe above, minimum of 2 syncs are required, and it
looks like only 2 would actually happen.
> FileChannel group commit (coalesce fsync)
> -----------------------------------------
>
> Key: FLUME-1917
> URL: https://issues.apache.org/jira/browse/FLUME-1917
> Project: Flume
> Issue Type: Bug
> Components: File Channel
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Attachments: FLUME-1917.patch
>
>
--
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