502 errors when renaming large (by topic count) categories

Thanks … but these tail’d logs are going a million mile an hour, I don’t think I’ll catch anything :smiley:

I just tried it again, with the /logs/ open, and there’s no new errors, just new warnings. Mostly:

  • “CSP Violation” in a number of different topics.
  • “Uncaught [object Object]” in ember_jquery
1개의 좋아요

Perhaps search the logs for the category name?

2개의 좋아요

This happens with any category or one specific category?

If you create a new category and rename it the error happens?

3개의 좋아요

Do your categories have a lot of posts?

3개의 좋아요

Just tried renaming a smaller Category and it worked fine.

The one I’m trying to rename sure did.

Nothing there :confused:

3개의 좋아요

Same issue as me then I guess:

3개의 좋아요

Summary:

Something during category renames is touching every topic or every post and causing the operation to time out.

9개의 좋아요

It looks related to the search stuff? That will indeed be very costly and should be moved into a background task.

5개의 좋아요

Hope not, I fear there are already too many of those.

My server-side backups keep failing because even though they’re running at 2am (local time for the majority of users) there’s too much disk activity for it to complete.

…but I don’t want to get this off topic :smiley:

1개의 좋아요

It is this:

@tgxworld can you kick all the search work including setting version to 0 to a background job?

6개의 좋아요

PR up at PERF: Update index for category in a background job. by tgxworld · Pull Request #11161 · discourse/discourse · GitHub.

EDIT: Merged :slight_smile:

10개의 좋아요

This appears to be fixed in the latest update. Thanks team!

3개의 좋아요