-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add handling for isNewerVersionOf
#72
Comments
This is tricky because there's no way to set When
|
If the object being obsoleted is in mnlite, this becomes a much simpler operation because all logic can be contained within. mnlite should check its own database for PIDs that match first, then proceed to doing a lookup on the CN if nothing is found. I think this would be handled in |
@iannesbitt I'm not sure you need to do this. If you look up the object on the CN to get the prior PID and set |
That would be very helpful, I'll check. Thanks for the tip |
I'm wondering if perhaps this is a MN API function that was not built into mnlite and does not work when harvesting documents to a CN. I can build in something similar for mnlite, but it will not quite be the same, as it can't assume that all documents being referenced are within mnlite itself. |
Still getting catch-22 errors from the CN when trying to make modifications to the system metadata. It wants me to be making them on the MN, but the MN object doesn't exist anymore. I assume this means I need to be making modifications directly to the database to obsolete the old objects, which is always a lot scarier. |
Yes, that is right. The access control rules for system metadata say that the only identities that can change system metadata for an object are the original node identity, and that it has to be at the original location. @taojing2002 has done some direct patching to fix these issues up, and he may have a recommended route to help automate your version change updates. |
No description provided.
The text was updated successfully, but these errors were encountered: