[ https://issues.apache.org/jira/browse/OAK-10491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780328#comment-17780328 ]
Julian Reschke commented on OAK-10491: -------------------------------------- trunk: [d7816c62b9|https://github.com/apache/jackrabbit-oak/commit/d7816c62b95a6625c2d3b5ed55f97a699cb2b2a7] > Indexing: pass a MongoDatabase instance instead of MongoConnection to > indexing logic > ------------------------------------------------------------------------------------ > > Key: OAK-10491 > URL: https://issues.apache.org/jira/browse/OAK-10491 > Project: Jackrabbit Oak > Issue Type: Improvement > Reporter: Nuno Santos > Priority: Major > Fix For: 1.60.0 > > > The pipeline indexing strategy needs to have access to a MongoDatabase object > to register a custom codec to deserialize the responses from Mongo. > Previously we were passing a MongoConnection object which contained a > reference to MongoDatabase. But the indexing job does not need any other > fields from MongoConnection other than MongoDatabase. But requiring > MongoConnection makes it harder for users of Oak to call this API. > We can simplify the logic by requiring only a MongoConnection. -- This message was sent by Atlassian Jira (v8.20.10#820010)