Hi, On 11/01/17 12:19, Thomas Mueller wrote: > If there are changes, then trying to start with an old version > (1.2.x) should fail. It might be possible to open the repository in > read-only mode; for that, then a "read" and a "write" version could > be used, as this is done in SQLite for example > (https://www.sqlite.org/fileformat.html - File Format Version > Numbers). So that it's possible to open a repository in read-only > mode, if the read-version is the same.
This is also my preferred way to handle this situation. There is an existing issue about where this is discussed as well: https://issues.apache.org/jira/browse/OAK-4529 > Not sure if it makes sense to support the read-only mode in Oak. The DocumentNodeStore and I think also the SegmentNodeStore already have a read-only mode and it wouldn't be too difficult to allow at least reads when possible. Regards Marcel
