Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memo file regeneration #139

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Mar 19, 2024

#137 introduces a regression in the memo file regeneration workflow when passing a cache directory different than the default. 9fee5d0 fixes the issue by setting the value of the isReadOnly argument to true in the bean definition file. This flag is a requirement to use the PixelsService.setMemoizerDirectoryLocal API and was previously set internally in https://github.com/glencoesoftware/omero-ms-core/blob/d174a81f563d63f1b1690790554c60ca5b91a05a/src/main/java/com/glencoesoftware/omero/ms/core/PixelsService.java#L40.

For the memo file regeneration utility, this is a requirement to
be able to use the PixelsService.setMemoizerDirectoryLocal API
@chris-allan chris-allan merged commit a3c6e61 into glencoesoftware:master Mar 19, 2024
3 of 4 checks passed
@sbesson sbesson deleted the memo_file_regen_fix branch March 19, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants