[ 
https://issues.apache.org/jira/browse/COUCHDB-769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071108#comment-15071108
 ] 

ASF GitHub Bot commented on COUCHDB-769:
----------------------------------------

Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-chttpd/pull/82#issuecomment-167132910
  
    @gilv I mean to get rid all `case AttExternal of "external" -> ...; _ -> 
... end` and instead have some function(s) with two clauses: one to process 
attachments stored inside db file and other - in some external storage. This 
makes logic of processing internal and external attachments separated, clean 
and easy to track. This also helps to avoid situations like [this 
one](https://github.com/apache/couchdb-chttpd/pull/82/files#r41985231) when 
depending on attachment type.


> Store large attachments external to the .couch file
> ---------------------------------------------------
>
>                 Key: COUCHDB-769
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-769
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Robert Newson
>            Assignee: Adam Kocoloski
>         Attachments: external_attachments_alpha.patch
>
>
> For attachment-heavy applications storing the attachments in separate files 
> significantly eases compaction problems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to