[ENG-10788] add nodes and preprints files reinding on account merging#11727
[ENG-10788] add nodes and preprints files reinding on account merging#11727mkovalua wants to merge 7 commits into
Conversation
|
LGTM |
cslzchen
left a comment
There was a problem hiding this comment.
The fix looks good but I have two notes:
- Is this feature testable by unit tests? If so, please update/add.
- Are there any possible impact to the celery queue if too many
update_share(file), could it crowd/block the celery queue?
Hi @cslzchen
|
+1 for putting bulk tasks like these on a lower-priority queue -- currently always high priority over in SHARE there's task routing to prioritize certain tasks called with |
cslzchen
left a comment
There was a problem hiding this comment.
The approach should work 👍 .
I'd like to see if we can improve and generalize it so that this can be used by other tasks and that it doesn't conflict with other tasks.
Afterwards, make sure we have good docstring and unit tests.
4c28e54 to
11c0f5f
Compare
…elery queue tasks
|
now that the task can be routed to the low-priority queue, should (perhaps as a followup ticket -- not trying to creep scope, just speaking generally) consider doing so everywhere else at a glance...
|
Ticket
Purpose
User merge does not seem to be working for files
Changes
Adding nodes and preprints files reinding on account merging
Also some updates for SHARE is good to have
CenterForOpenScience/SHARE#892
Side Effects
File indexing does not work for local setup, so maybe it is needed add something else because something may be missed because of a bit blame fix
QE Notes
CE Notes
Documentation