CDLUC3 / mrt-doc

Documentation and Information regarding the Merritt repository
8 stars 4 forks source link

[Inventory] DB versus Storage Manifest version count inconsistencies #2080

Open mreyescdl opened 4 weeks ago

mreyescdl commented 4 weeks ago

While testing the Local ID locks, a test was created to submit 50 versions of the same object in a Batch Manifest.

This creates a unique problem of Inventory trying to update the DB while the Storage Manifest is constantly being rewritten. It shows itself as errors like the following.

db version count exceeds passed map version: - objectID:ark:/99999/fk4np3r87f - map current:17 - db  current:50

One solution may be to have the Transfer and Recording process share a lock, but this is not very practical. David is currently investigating Inventory.

I reality, this error would not get triggered often, if at all. It would require a concurrent submission of many versions of the same object.