nickva commented on issue #5346:
URL: https://github.com/apache/couchdb/issues/5346#issuecomment-2504531126

   The idea being, if we don't have any attachments in the leaf then we we 
don't add the contributions from attachments sizes as those will be cleaned up 
during the compaction.
   
   What we can't do easily (I think?) is if we have some attachments, in the 
leaf (att1, att2) but other attachments att2, att3, att4 in intermediate nodes. 
We might not be able to figure out the contribution from att1 and att2 only, 
we'd still get all the att1, att2 att3 and att4 in the total, even though the 
compaction would remove att3 and att4.


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