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

Add removal of mounts without storages to files:cleanup command #21729

Merged
merged 2 commits into from
Jul 8, 2020

Conversation

juliusknorr
Copy link
Member

In addition to filecache entries there might be orphaned entries in the oc_mounts table that are not removed if a storage is no longer available (e.g. when removing an external storage entry). Therefore this PR adds the cleanup of those to the occ files:cleanup command.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@MorrisJobke
Copy link
Member

PHPUnit fails

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
Copy link
Member Author

Failure should be fixed and I also covered the mount cleanup in the test case now

@rullzer rullzer merged commit 32927fd into master Jul 8, 2020
@rullzer rullzer deleted the enh/noid/orphaned-mounts branch July 8, 2020 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants