You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some instances (to be specified), the validation of a deposit creates a document but does not mark the corresponding deposit as validated. This can lead to a double validation and a document created twice.
Expected behavior:
When validating a deposit and creating a document, the deposit should always be marked as validated.
This could be caused by an error during deposit reindexing, see SONAR-N0 (Sentry).
On validation, the system dumps all document resolved index fields. If there are more than 1000 fields, there is an ES error. The document is created, but the deposit is not validated!
Server:
production (folia)
v1.8.2
The text was updated successfully, but these errors were encountered:
This could be caused by an error during deposit reindexing, see SONAR-N0 (Sentry).
On validation, the system dumps all document resolved index fields. If there are more than 1000 fields, there is an ES error. The document is created, but the deposit is not validated!
We increased the fields limit in ES prod, but this dump mechanism might still be improved to be more robust on the app level.
Bug description:
In some instances (to be specified), the validation of a deposit creates a document but does not mark the corresponding deposit as validated. This can lead to a double validation and a document created twice.
Expected behavior:
When validating a deposit and creating a document, the deposit should always be marked as validated.
Example:
Document https://folia.unifr.ch/manage/records/documents/detail/324501 has been created
But the corresponding deposit is still "to be validated" : https://folia.unifr.ch/manage/deposit/324490/create
Steps to Reproduce:
Could not reproduce as it is a puncutal problem:
Verify https://github.com/rero/sonar/blob/staging/sonar/modules/deposits/rest.py#L201-L235
Context
This could be caused by an error during deposit reindexing, see SONAR-N0 (Sentry).
On validation, the system dumps all document resolved index fields. If there are more than 1000 fields, there is an ES error. The document is created, but the deposit is not validated!
Server:
v1.8.2
The text was updated successfully, but these errors were encountered: