Skip to content

fix: use mount_point_hash instead of mount_point in removeMount - #59160

Closed
salmart-dev wants to merge 1 commit into
masterfrom
fix/removeMountByHash
Closed

salmart-dev wants to merge 1 commit into
masterfrom
fix/removeMountByHash

Conversation

@salmart-dev

@salmart-dev salmart-dev commented Mar 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

There is no index on mount_point any longer, so this delete blocks the whole table.

TODO

  • Add migration to add index on mount_point_hash
  • On 24.03.2026 the index was enabled on our instance and may have degraded performance. Needs to be double-checked.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@salmart-dev salmart-dev self-assigned this Mar 23, 2026
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@salmart-dev
salmart-dev force-pushed the fix/removeMountByHash branch from 8bb7f39 to 9c4b5f4 Compare March 23, 2026 16:21
@susnux susnux added the bug label May 19, 2026
@susnux susnux added the community pull requests from community label Jun 9, 2026
@susnux susnux added this to the Nextcloud 35 milestone Jun 9, 2026
@susnux susnux removed the community pull requests from community label Jun 11, 2026
@salmart-dev

Copy link
Copy Markdown
Contributor Author

Implemented by someone else later as this was never finished.

@salmart-dev salmart-dev closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants