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


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java:
##########
@@ -1350,6 +1358,10 @@ private <T extends Document> BulkUpdateResult 
sendBulkUpdate(Collection<T> colle
         int i = 0;
         for (UpdateOp updateOp : updateOps) {
             String id = updateOp.getId();
+            int size = updateOp.toString().length();

Review Comment:
   I believe the size of UpdateOp doesn't reflect the size of the document. 
UpdateOp only has the delta, not the actual document size.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to