Project

General

Profile

Actions

Bug #3019

closed

Remove usage of .lastid files within the registry

Added by Shaun Walbridge almost 17 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Normal
Category:
registry
Target version:
Start date:
11/28/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3019

Description

The registry currently relies on a .lastid file residing within the skin folder for each skin in use. This file is used to keep track of the last accession number used for insertion, but should be removed as it causes configuration issues: it sometimes must be manually seeded to be correct, it must be writable by the apache user, and it isn't thread-safe.

To replace the file, the server should always be queried through getLastDocid (getLastId in the Perl bindings) for the highest accession number within a given scope, and only use this canonical resource.

Actions

Also available in: Atom PDF