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: Validate that we have a proper distributed cache configured #41354

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Nov 9, 2023

Properly handle instances where there is

  • No distributed cache configured in which case we fall back to the old chunking
  • The distributed cache factory method returns other caches than Redis/memcached

We cannot detect if there is a redis distributed cache configured but the cache is not shared, in this case an error like "Missing metadata for chunked upload" is still expected and points out an architectural issue of the instance setup. I extended the error message a bit there to be more clear.

Fixes #41198

@juliusknorr juliusknorr requested review from ArtificialOwl, a team, icewind1991 and sorbaugh and removed request for a team November 9, 2023 10:11
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Nov 9, 2023
@susnux susnux requested review from Altahrim and removed request for sorbaugh November 9, 2023 13:45
@solracsf
Copy link
Member

/backport to stable27

@solracsf
Copy link
Member

/backport to stable26

@solracsf solracsf added this to the Nextcloud 28 milestone Nov 10, 2023
@juliusknorr
Copy link
Member Author

Failures unrelated

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 bug
Projects
None yet
3 participants