Marcel Reutegger created OAK-7543:
-------------------------------------
Summary: MissingLastRevSeekerTest fails on MongoDB with secondary
preferred
Key: OAK-7543
URL: https://issues.apache.org/jira/browse/OAK-7543
Project: Jackrabbit Oak
Issue Type: Bug
Components: documentmk, mongomk
Affects Versions: 1.9.3
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Fix For: 1.9.4
MissingLastRevSeekerTest actually does not run on MongoDB right now, but
changing the test accordingly revealed an issue with the MongoDB specific
implementation of MissingLastRevSeeker when running on a replica-set and
secondary preferred read preference.
The class MongoMissingLastRevSeeker uses the configured read preference when
checking for cluster node info entries that require recovery. This is
inconsistent because the candidate nodes are read with primary read preference.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)