Details
Description
The method MongoDocumentStore.getMongoReadPreference() recommends an incorrect read preference when the cache contains a NodeDocument.NULL for the parentId and the configured read preference, e.g. via the MongoDB URI is not set to primary.