-
Notifications
You must be signed in to change notification settings - Fork 487
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
New API: Add api end point to move dataverses #4406
Comments
Related/duplicate of #2278 from 2015-06-17. |
From backlog grooming:
|
Note: we currently move a dataverse by updating the owner_id field in the dvobject table for the dv being moved with the id of the new parent dv, then run index on the moved dataverse and all it's child objects: move dataverse, id 23 to dataverse 5: |
My ears perked up when we started talking about recursive indexing, which we don't do currently. It's not clear to me whether we should tackle recursive indexing as part of this issue or not, but it's a potentially time consuming operation that might be a nice tool in a Dataverse keeper's toolbox. |
Some notes about changes so far:
|
Are warnings generated when these changes (guestbook removal, metadata block dissociation, etc) happen? If not, is it worth the effort? |
Tested the basic functionality and it all works great with reasonable performance for test sets.
|
OK, tested the linking conflict behavior and link removal endpoints. Plus, retested performance.
I will try to check straight index time and post for comparison here. OK, performance for index without move is 11 mins: Performance for index when moving is 10.5 mins: So, it looks like we're not adding any extra overhead to indexing, which is the most time consuming part. This looks good to go. |
@kcondon - thanks for the details. I moved this to QA since it sounds like you're still taking a look at some stuff. If you're done with it feel free to move it to the appropriate spot. |
@kcondon thanks for the feedback! I fixed the issue where links weren't removed during a move & cleaned up the logging. |
We frequently receive support requests to move dataverses. Providing an api endpoint would empower end users to do this.
The text was updated successfully, but these errors were encountered: