Changes between Version 15 and Version 16 of proposals/readonly


Ignore:
Timestamp:
03/20/13 07:41:32 (12 years ago)
Author:
heikki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • proposals/readonly

    v15 v16  
    33|| '''Date''' || 2013-01-22 ||
    44|| '''Contact(s)''' || Heikki Doeleman ||
    5 || '''Status''' || Implemented and tested ||
     5|| '''Status''' || Done ||
    66|| '''Assigned to release''' || 2.9.x ||
    77|| '''Resources''' || Available (funding EEA) ||
     
    4444=== determining read-only status ===
    4545
    46 The read-only status of GeoNetwork is determined by a periodic 'DB heartbeat' that attempts to write (and delete) a value in the database. If the situation changes (i.e. GN is not read-only but fails to write, or GN is read-only but succeeds writing) the read-only status of GN is dynamically adapted. The heartbeat's initial and fixed delay in seconds can be set in config.xml and have default values 5 and 60.
     46The read-only status of GeoNetwork is determined by a periodic 'DB heartbeat' that attempts to write (and delete) a value in the database. If the situation changes (i.e. GN is not read-only but fails to write, or GN is read-only but succeeds writing) the read-only status of GN is dynamically adapted. The heartbeat's initial and fixed delay in seconds can be set in config.xml and have default values 5 and 60. The heartbeat is disabled by default and can be enabled in config.xml by setting parameter DBHeartBeatEnabled to true.
    4747
    4848=== other changes ===
    4949
    5050There are cases where the DB-writing part of a service is that small that it is better to restrict these writes at a level below the service, to still allow the service to run also in read-only mode. An example is metadata view: this service write to the DB updating the metadata's popularity. Even so it is not made a !NotInReadOnlyModeService, so also in read-only mode you can still use this service; instead the db-writing part is made conditional on readonly state at a level below the service. (of course this may be seen as a design flaw in the service behaviour and you could argue that there should exist a separate service to update the popularity -- but refactoring is outside the scope of this proposal).
     51
     52=== Capabilities ===
     53
     54When GeoNetwork is in read-only mode, the CSW Publication operations (Transaction and Harvest) are not returned in response to a CSW !GetCapabilities request.
    5155
    5256=== GUI ===