[
https://issues.apache.org/jira/browse/OAK-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15440102#comment-15440102
]
Matt Ryan commented on OAK-4712:
--------------------------------
It should be noted that there is one known problem with this patch. It appears
to work fine until I delete a file. For example, if I delete an asset via the
REST API, I will see the asset deleted in CRXDE. However, the file still
remains in S3. This MBean as implemented only knows how to check with
S3DataStore and the corresponding backend, and these all appear to believe the
file still exists. So the MBean continues to report that the file's sync state
is synchronized (i.e. isFileSynced() returns true) even though the file has
been removed from the JCR. This point will also need resolved before the patch
is ready.
> Publish S3DataStore stats in JMX MBean
> --------------------------------------
>
> Key: OAK-4712
> URL: https://issues.apache.org/jira/browse/OAK-4712
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: blob
> Reporter: Matt Ryan
> Attachments: OAK-4712.1.diff
>
>
> This feature is to publish statistics about the S3DataStore via a JMX MBean.
> There are two statistics suggested:
> * Indicate the number of files actively being synchronized from the local
> cache into S3
> * Given a path to a local file, indicate whether synchronization of file into
> S3 has completed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)