The FileStore background operations are ultimately executed through a ScheduledExecutorService. In the case this scheduling gets blocked (e.g. because of a deadlock or lock contention in one of its tasks) there is chance of repository corruption.
To minimise potential data loss we should implement monitoring endpoints for the vital background operations. This would allow deployments to take action early in case of failures and thus minimise potential data loss and simplify recovery.