You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Miroslav Smiljanic (Jira)" <ji...@apache.org> on 2022/01/05 16:16:00 UTC
[jira] [Updated] (OAK-9488) Extra logging in org.apache.jackrabbit.oak.run.DataStoreCommand
[ https://issues.apache.org/jira/browse/OAK-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miroslav Smiljanic updated OAK-9488:
------------------------------------
Fix Version/s: 1.42.0
> Extra logging in org.apache.jackrabbit.oak.run.DataStoreCommand
> ----------------------------------------------------------------
>
> Key: OAK-9488
> URL: https://issues.apache.org/jira/browse/OAK-9488
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-azure
> Reporter: Paul Chibulcuteanu
> Assignee: Matt Ryan
> Priority: Minor
> Fix For: 1.42.0
>
>
> Running datastore command to retrieve the index binaries blob IDs from Azure with following options:
> {code}
> 16.06.2021 20:49:50.452 *INFO* [main] o.a.j.oak.run.DataStoreCommand - Command line arguments used for datastore command [--dump-ref --out-dir /opt/out_dir --azureds /DataStore.config --verboseRootPath /oak:index/ --verbosePathInclusionRegex /*/:data,/*/:suggest-data --verbose]
> 16.06.2021 20:49:50.454 *INFO* [main] o.a.j.oak.run.DataStoreCommand - System properties and vm options passed [-Dsegment.timeout.interval=60, -Dsegment.timeout.execution=325]
> {code}
> can sometimes take minutes. This operation is usually fast(a few seconds).
> The log of the command only displays little info about what is happening:
> {code}
> 16.06.2021 20:49:50.839 *INFO* [pool-3-thread-1] o.a.j.o.plugins.blob.FileCache - Cache built with [0] files from file system in [0] seconds
> 16.06.2021 20:54:45.901 *INFO* [main] o.a.j.oak.run.DataStoreCommand - Starting dump of blob references by traversing
> {code}
> There is no information on where the 5 minutes is spent. It could be a network hiccup, maybe Azure connectivity issues, or too many sessions opened, but there is no way to find out. We should add extra logging in _org.apache.jackrabbit.oak.run.DataStoreCommand_ in order to be able to investigate such slowness cases.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)