[
https://issues.apache.org/jira/browse/OAK-11857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Sedding resolved OAK-11857.
----------------------------------
Fix Version/s: 1.86.0
Resolution: Fixed
> Improve path handling in oak-segment-azure
> ------------------------------------------
>
> Key: OAK-11857
> URL: https://issues.apache.org/jira/browse/OAK-11857
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-azure
> Affects Versions: 1.84.0
> Reporter: Julian Sedding
> Assignee: Julian Sedding
> Priority: Minor
> Fix For: 1.86.0
>
>
> Path handling in the {{oak-segment-azure}} implementation has two issues:
> * Some code uses \{{java.nio.file.Path}} in order to compute paths used in
> the Azure blob store. \{{java.nio.file.Path}} works in an OS dependent manner
> and is thus unsuitable for paths in the azure blob storage, as well as for
> repository paths, as these paths always use the forward slash character as
> path separator.
> * The Azure blob store expects prefixes, when used in the way a directory is
> used, to end with a forward slash. Handling of the prefixes in some
> implementation classes seem to be leaving it up to the caller of the
> constructor to pass in the correctly formatted prefix, which can be brittle.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)