kocolosk commented on issue #1370: [5/5] Clustered Purge Implementation
URL: https://github.com/apache/couchdb/pull/1370#issuecomment-397138672
 
 
   Very nice work all.
   
   Historically one could think about external consumers of `_changes` and 
internal consumers of the sequence index as being on equal footing, and there's 
something appealing about that. The latter group has some efficiency advantages 
but fundamentally an external process could go and do everything that the 
internal consumers do using the node-local HTTP interface. The lack of HTTP 
access to the purge index breaks that. An external indexer, for example, has no 
way of knowing revisions have been purged from the main database short of 
checking the individual shard's purge sequence and rebuilding the entire index 
if it changes, whereas the internal consumers can be smarter.
   
   All that said, I wouldn't change anything about this PR, as it contains 
everything needed to surface an external API to the purge structures if we 
should conclude there's a need for it at a later date.
   
   I'm +1 pending resolution of my (minor) review comments.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to