Changes between Version 15 and Version 16 of proposals/readonly
- Timestamp:
- 03/20/13 07:41:32 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
proposals/readonly
v15 v16 3 3 || '''Date''' || 2013-01-22 || 4 4 || '''Contact(s)''' || Heikki Doeleman || 5 || '''Status''' || Implemented and tested||5 || '''Status''' || Done || 6 6 || '''Assigned to release''' || 2.9.x || 7 7 || '''Resources''' || Available (funding EEA) || … … 44 44 === determining read-only status === 45 45 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. 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. The heartbeat is disabled by default and can be enabled in config.xml by setting parameter DBHeartBeatEnabled to true. 47 47 48 48 === other changes === 49 49 50 50 There 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 54 When GeoNetwork is in read-only mode, the CSW Publication operations (Transaction and Harvest) are not returned in response to a CSW !GetCapabilities request. 51 55 52 56 === GUI ===