[ 
https://issues.apache.org/jira/browse/OAK-4097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-4097:
---------------------------------
    Attachment: OAK-4097-03.patch

[~mduerig] I followed your advice regarding manually calling 
{{FileStore.flush()}} and converted my IT scenario into a plain unit test in 
{{FileStoreStatsTest}}, patch attached. 

If you are ok with the approach, I think we can finally close this one. Thanks!

> Add metric for FileStore journal writes
> ---------------------------------------
>
>                 Key: OAK-4097
>                 URL: https://issues.apache.org/jira/browse/OAK-4097
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Chetan Mehrotra
>            Assignee: Andrei Dulceanu
>            Priority: Minor
>             Fix For: Segment Tar 0.0.10
>
>         Attachments: OAK-4097-01.patch, OAK-4097-02.patch, OAK-4097-03.patch
>
>
> TarMK flush thread should run every 5 secs and flush the current root head to 
> journal.log. It would be good to have a metric to capture the number of runs 
> per minute
> This would help in confirming if flush is working at expected frequency or 
> delay in acquiring locks is causing some delays



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

Reply via email to