Open randalldfloyd opened 1 month ago
17 files ±0 17 suites ±0 2h 18m 43s :stopwatch: + 1m 13s 6 705 tests ±0 6 407 :white_check_mark: - 1 297 :zzz: ±0 1 :x: +1 13 178 runs ±0 12 782 :white_check_mark: - 1 395 :zzz: ±0 1 :x: +1
For more details on these failures, see this check.
Results for commit 478f3c43. ± Comparison against base commit 26fdf09c.
:recycle: This comment has been updated with latest results.
NOTE: this PR depends on changes in this Valkyrie PR.
Fedora 6.5 now supports automatic creation of "pairtree" IDs, which means that identifiers are stored in a hashed directory structure to avoid excessive child nodes directly in the root node.
However, unlike Fedora 4 where this was the default behavior, it has to be enabled via options in 6.5. Since doing so requires configuring both the count and length of the pairtree algorithm, it needs to be configurable in the Valkyrie Fedora adapters so that both sides match.
This PR sets the
fcrepo
image to run 6.5 in the Sirenia compose file and sets JVM runtime options to enable automatic creation of pairtree paths. The corresponding values are then set in the Valkyrie adapter initialization so that ID to URI translations are correct.For example, if an ID of
AaBbCcDd
in Fedora was created under the root node as/Aa/Bb/Cc/Dd/AaBbCcDd
, then setting count and length to 4 and 2 in the Fedora adapters ensures that the same path will be calculated and returned.Note that the configuration above is not required for pairtree paths to work correctly in Fedora 4, and automatic pairtree creation is not supported under Fedora 5 or Fedora 6 < 6.5.