mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
When listing webapp.s, delete records for any not found living.
This sends a HEAD request to the registered URL for the webapp and assumes that the app is dead if result is not 200. This change caused a cascade of changes to the treatment of the database table, because the DBMS layer insists that a table's primary key be INTEGER. It was necessary to introduce a new column for the purpose. This also means you can have more than one running instance of the same UI, if you wish. But it also means that the sequence required by the new column will overflow after about 2 billion starts.
This commit is contained in:
@@ -84,6 +84,7 @@ SELECT setval('metadatavalue_seq', max(metadata_value_id)) FROM metadatavalue;
|
||||
SELECT setval('metadataschemaregistry_seq', max(metadata_schema_id)) FROM metadataschemaregistry;
|
||||
SELECT setval('harvested_collection_seq', max(id)) FROM harvested_collection;
|
||||
SELECT setval('harvested_item_seq', max(id)) FROM harvested_item;
|
||||
SELECT setval('webapp_seq', max(id)) FROM webapp;
|
||||
|
||||
-- Handle Sequence is a special case. Since Handles minted by DSpace use the 'handle_seq',
|
||||
-- we need to ensure the next assigned handle will *always* be unique. So, 'handle_seq'
|
||||
|
Reference in New Issue
Block a user