reschke commented on code in PR #1313:
URL: https://github.com/apache/jackrabbit-oak/pull/1313#discussion_r1497317853


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java:
##########
@@ -2317,10 +2320,19 @@ private <T extends Document> DocumentStoreException 
handleException(Throwable ex
                 invalidateCache(collection, id);
             }
         }
+
+        if (ex instanceof MongoWriteException) {

Review Comment:
   I believe I checked, but will double-check again.
   
   At the end of the day, we may want to count multiple types of exceptions, 
but I wanted to keep this one focused.



-- 
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