Commit Graph

7 Commits

Author SHA1 Message Date
Ivan Masár
c211b8b00a DS-1916 Error in update-sequence script in 4.0 2014-02-18 15:17:52 +01:00
aroman
96c93bdbfd Added sequence to update-sequences.sql 2013-10-20 04:08:48 +02:00
Mark H. Wood
b165134114 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.
2013-06-25 15:10:55 -04:00
Tim Donohue
87a85cea70 DS-712 : DSpace Fails to Check if a Handle is already assigned before assigning a new handle
The resolution to this problem is not to for DSpace to query all handles when assigning a new one (which can be taxing for large installs).  Rather this fix changes the 'update-sequences.sql' scripts (for both Postgres & Oracle) such that the Handle sequence number will always be updated to ensure DSpace will assign a unique handle on the next handle request.  I've also documented in the AIP backup/restore docs (DS-466) that update-sequence.sql script should always be run after a full AIP restore (which is the primary scenario where DSpace may encounter handle assignment issues).

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5691 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 16:50:15 +00:00
Tim Donohue
3d8f98ffe4 DS-729 fix for both Postgres & Oracle: update-sequences.sql script errors out, as it refers to an old, obsolete 'dctyperegistry' table
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5682 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 15:52:41 +00:00
Tim Donohue
299eb9202b Fix for Postgres for DS-423: Ant target 'clean_database' doesn't drop all tables. A fix for Oracle will also be coming.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-21 20:28:22 +00:00
Larry Stone
c49f1c8385 [DS-297] Move PostgreSQL-specific SQL into etc/postgres for greater clarity
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4427 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:42:19 +00:00