Islandora-Devops / isle-site-template

Template for building and customising your institution's Islandora installation.
MIT License
5 stars 6 forks source link

Default to use MySQL persistence instead of File persistence for Fedora #23

Closed joecorall closed 11 months ago

joecorall commented 12 months ago

Provide the necessary environment variables to create a database for fedora.

Related to https://github.com/Islandora-Devops/isle-site-template/issues/21

rosiel commented 11 months ago

This appears to be working much better. WRT the problems in #21,

I assume this was just an oversight before? I'm hesitant to merge because I don't understand why this stopped working or whether it wasn't working to begin with. @nigelgbanks any insight?

nigelgbanks commented 11 months ago

Could be a volume / restart thing?

I don't know what Fcrepo is doing internally for its file backend. For example, it may create a file as a lock mutex, to control concurrent access to its file backed database. If restarted, the file lock may still be present, on the volume as Fcrepo rarely shutdowns gracefully, but the process using it as a lock has disappeared, so no new connections to its file backed database could happen? Or a needed file isn't captured by a volume and, as such, a restart causes some sort of data loss / race condition.

Though that's just speculation....

This is definitely safe to merge though.