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
Describe the bug
With GeoNetwork 4.2.5, we tried to delete all metadata for a harvester (>200000 metadata records) and encountered two problems:
Deleting all metadata of this harvester at once results in a system crash.
A discrepancy between the index and database was caused by deleting a large amount of metadata (deletion in steps of 1000).
To Reproduce Steps to reproduce the behaviour of problem 1):
Go to admin console > harvesting
Click on the harvester
Select the tab 'X metadata records'
Scroll down to the list of all harvested metadata records of the selected harvester
Click on the delete button
Due to the large amount of metadata the harvester manages, the previous steps led to a system crash. It was not possible to delete all metadata of the harvester with the delete button.
Steps to reproduce the behaviour of problem 2):
As we could not delete all metadata simultaneously, we tried to delete it in steps of 1000 records.
Go to the 'new metadata' > edit View
Search for data assigned to the harvester
Deleting the data (several delete commands for every 1000 data records)
All data is deleted (search shows no data for the harvester)
Rebuild the index
The search displays data from the harvester again. The metadata was not deleted correctly from the database.
When adding metadata, a unique constraint error appears because the sequence has an incorrect value.
Expected behavior
It is possible to delete all metadata of a harvester at once.
A deviation of index and database should not occur due to the deletion of a large amount of data.
Desktop (please complete the following information):
GeoNetwork Version: Migrated 4.2.5
Server Application Tomcat 8
The text was updated successfully, but these errors were encountered:
Describe the bug
With GeoNetwork 4.2.5, we tried to delete all metadata for a harvester (>200000 metadata records) and encountered two problems:
To Reproduce
Steps to reproduce the behaviour of problem 1):
Due to the large amount of metadata the harvester manages, the previous steps led to a system crash. It was not possible to delete all metadata of the harvester with the delete button.
Steps to reproduce the behaviour of problem 2):
As we could not delete all metadata simultaneously, we tried to delete it in steps of 1000 records.
The search displays data from the harvester again. The metadata was not deleted correctly from the database.
When adding metadata, a unique constraint error appears because the sequence has an incorrect value.
Expected behavior
It is possible to delete all metadata of a harvester at once.
A deviation of index and database should not occur due to the deletion of a large amount of data.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: