Bug 946600 - When datastore is open in read-only mode revisionId is not ...

...properly obtained