-
Notifications
You must be signed in to change notification settings - Fork 2
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
reconcile Cocina object versions with actual preserved object versions #5074
Labels
Comments
justinlittman
added a commit
that referenced
this issue
Jun 7, 2024
justinlittman
added a commit
that referenced
this issue
Jun 7, 2024
justinlittman
added a commit
that referenced
this issue
Jun 7, 2024
Here's the report @andrewjbtw |
justinlittman
added a commit
that referenced
this issue
Jun 11, 2024
Only 442 items, which is a relief. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The SDR has supported versions via Moab versioning for many years, but for many of those years SDR also had problems keeping version information in sync across Fedora, the workflow service (which records version numbers), and preservation. This resulted in numerous errors where version mismatches blocked accessioning: Fedora said object is on version N, but preservation said version N +- 1).
The most common way to handle version mismatch errors was to edit the versionMetadata datastream (see the now-deprecated instructions). These edits were sufficient to allow objects to finish accessioning, but behind the scenes this apparently left behind inconsistent version metadata. This is a class of problem that remains hidden until someone tries to update an affected druid. No repository process monitors for mismatched version metadata across the various systems.
Two examples:
rt675ky1058
dj813zv3194
Both of these items say they are on version 3, according to Cocina/DSA. But the history shows only two versions. But these versions are numbered 1 and 3.
The workflows also suggest only two versions have been updated, 1 and 3: The
accesionWF
should be recorded in the workflow DB for every accessioned version.Preservation also has only 2 versions, but these are numbered the expected way, 1 and 2:
Impact
It's not possible to open items in this state and create new versions. Attempting to open rt675ky1058 leads to this error:
I think that means preservation expects to be told the current version is 2 and the next version is 3, but it's being told the current version is 3.
Reconciliation options
There are at least two possible ways to handle this:
Next steps
Either way, we'll need to generate a report for this issue. There were many version mismatch problems in the history of SDR. Possibly tens of thousands of version mismatch problems.
The text was updated successfully, but these errors were encountered: