rishabhdaim commented on code in PR #1317:
URL: https://github.com/apache/jackrabbit-oak/pull/1317#discussion_r1504073020


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java:
##########
@@ -571,4 +571,16 @@ default <T extends Document> List<T> findAndUpdate(final 
@NotNull Collection<T>
                                                        final @NotNull 
List<UpdateOp> updateOps) throws DocumentStoreException {
         return updateOps.stream().map(op -> findAndUpdate(collection, 
op)).collect(toList());
     }
+
+    /**
+     * If the feature "FT_COCLEANUP_OAK-10660" has been registered with the 
whiteboard (the DocumentNodeStoreService
+     * does this automatically), it may be enabled using a feature toggle. A 
DocumentStore implementation supporting
+     * that feature must overwrite thie method.
+     * For background information see 
https://issues.apache.org/jira/browse/OAK-10660
+     *
+     * @return true if the commit cleanup feature is enabled.
+     */
+    default boolean isCommitCleanupFeatureEnabled() {

Review Comment:
   We need to update `SynchronizingDocumentStoreWrapper` as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to