Bug 47291

GemStone/S 64 Bit

3.4, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, older versions

3.4.1, 3.3.7

GEM_PGSVR_UPDATE_CACHE_ON_READ can cause "Repository root page is corrupted..." errors for remote logins

When the remote gem configuration parameter GEM_PGSVR_UPDATE_CACHE_ON_READ is set to true, there is a risk that logins from remote gems may encounter the error ’Repository root page is corrupted or contains a disk media defect’.

This does not indicate an actual repository problem; there is a code path in the page servers, that does not correctly handle the case when the requested root page is no longer in the Stone’s cache.


Changing the GEM_PGSVR_UPDATE_CACHE_ON_READ to FALSE avoids the problem entirely.

Decreasing STN_CHECKPOINT_INTERVAL, to checkpoints are more frequent, will reduce the chances of a problem.  The Stone writes the root pages into the cache on checkpoints so more frequent checkpoints increases the probability that the requested root page will still be in the cache.


Last updated: 11/15/17