Index: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteService.java =================================================================== --- oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteService.java (revision 1879434) +++ oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteService.java (working copy) @@ -514,7 +514,7 @@ Object oakVersion = clusterNode.get(ClusterNodeInfo.OAK_VERSION_KEY); if (oakVersion != null && (oakVersion instanceof String)) { try { - warn = versionPredates("1.3.5", (String) oakVersion); + warn = versionPredates((String) oakVersion, "1.3.5"); } catch (Exception e) { logger.debug("hasBacklog: couldn't parse version " + oakVersion + " : " + e); warn = true;