jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Mari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-6653) Standby server must always send the persisted head to clients
Date Fri, 15 Sep 2017 11:17:01 GMT

    [ https://issues.apache.org/jira/browse/OAK-6653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167723#comment-16167723

Francesco Mari commented on OAK-6653:

[~dulceanu], the patch looks good to me. I also think that the implementations of {{ReadOnlyRevisions#getPersistedHead}}
and {{MemoryStoreRevisions#getPersistedHead}} are correct as they are in the patch.

> Standby server must always send the persisted head to clients
> -------------------------------------------------------------
>                 Key: OAK-6653
>                 URL: https://issues.apache.org/jira/browse/OAK-6653
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar, tarmk-standby
>    Affects Versions: 1.7.7
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>              Labels: cold-standby
>             Fix For: 1.7.8
>         Attachments: OAK-6653.patch
> Currently the standby server sends an un-persisted head record to clients. Under normal
circumstances, the TarMK flush thread is able to persist it and its corresponding segment
at a 5 seconds interval.
> However, there are cases (uploading a very large blob > 10 GB) in which the flush
thread writes the segment too late, and the 20s allowed by {{FileStoreUtil#readSegmentWithRetry}}
are not enough. Therefore the server can't read the segment containing the head record and
a timeout occurs on the client.

This message was sent by Atlassian JIRA

View raw message