NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
25 stars 12 forks source link

Provide indexing status report #1555

Open gothub opened 2 years ago

gothub commented 2 years ago

As indexing occurs after MNStorage.create() or MNStorage.update() calls have returned status to the client, the client has no way to determine the cause of an indexing failure if one occurs.

Should we consider having metacat retain indexing status and error messages, that could then be retrieved by the user via a new DataONE MN call?

I'll provide details of a possible implementation if we decide that this should be done.

BTW - I didn't see any previous issues on this topic, but they may have been missed.

mbjones commented 2 years ago

👍 I think its a good idea. In general, we don't have good facilities for providers to understand what processing has happened, whether there were errors, and whether the provider can fix these errors. We proposed a new event notification service for this type of information for the Arctic Data Center, so this type of API would clearly fit within that type of work, but which would likely go beyond just indexing notifications and also include other notifications, such as version changes on datasets for users.

laurenwalker commented 2 years ago

I also agree that this would be a great service that would fix client issues such as: nceas/metacatui#569, nceas/metacatui#610, nceas/metacatui#558, nceas/metacatui#339, nceas/metacatui#1425