Merge users - core feature vs plugin

סיכום מבוסס בינה מלאכותית

In a discussion titled “Merge users - core feature vs plugin,” Paracelsus reports that merging a user with over 4,500 posts via Discourse’s core functionality failed with a timeout error, while the legacy Merge plugin successfully completed the task in the background. Paracelsus questions whether the core merge also runs in the background despite the timeout, which would make the plugin unnecessary. osioke notes this is under active discussion and advises watching #feature:announcements for updates. codinghorror suggests adding a warning for merges involving very large post counts to prevent support issues. sam agrees a warning might be misleading (“This is probably going to break, but feel free to click anyway”) and instead commits to improving the core feature in the next release — either by moving the merge to a background job or processing it in batches with visible progress — as the ideal solution.

Hi, this is not really a support topic, more of something I’ve stumbled upon:

We had this situation where we needed to merge two users where the one being merged and deleted afterwards had more than 4500 posts.

Using core functionality we’ve got an error message after some minute into the merging, a bit like a timeout (can’t recall exactly what what written there) and the process seemed to have died there.

After a while we’ve tried using the old Merge plugin (Merge Users Plugin) and it seems to have worked flawlessly. The process ran in the background for several minutes/hours? and after that we received a system message stating that the merge was successfully completed.

What would be interesting to know is if the core functionality also works/progresses as a background task like the old Merge plugin despite the timeout. If so, it means we shouldn’t need to use the plugin at all.

5 לייקים

This is something we are currently discussing, so it could be added soon or not. Watch #feature:announcements for details.

4 לייקים

@sam we should probably pop a warning here if someone attempts to merge users with a bazillion posts. Otherwise it is a support topic generation machine

8 לייקים

Agree we should do something, a warning is a bit odd though. “This is probably going to break, but feel free to click anyway” … I can see that leading to even more support.

I will just add this to the next release so we move the work to a background job or make it work in batches and show progress which is the ideal outcome.

10 לייקים