You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Joan Touzet (JIRA)" <ji...@apache.org> on 2014/07/20 00:38:38 UTC

[jira] [Commented] (COUCHDB-2267) UTF-8 in attachment content_type breaks views/replication

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

Joan Touzet commented on COUCHDB-2267:
--------------------------------------

Thoughts from IRC:

{code}
18:32 <+rnewson> so..
18:32 <+rnewson> a 400 if the utf-8 is invalid.
18:32 <+rnewson> and a 400 if you add parameters
18:32 <+rnewson> or, more kindly, a 400 if the name parameter is not the same as the attachment name in the url.
18:32 <+rnewson> still, you'd think mochi was parsing this.
{code}

> UTF-8 in attachment content_type breaks views/replication
> ---------------------------------------------------------
>
>                 Key: COUCHDB-2267
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2267
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Danny Thuering
>
> Hi,
> we use CouchDb for one of our projects and it worked very well till today.
> Logfile shows:
> {code}
> [Mon, 14 Jul 2014 19:21:32 GMT] [info] [<0.19826.0>] 62.203.116.116 - - GET /_config/native_query_servers/ 200
> [error] [<0.19843.0>] OS Process Error <0.19845.0> :: {os_process_error,
>                                                        {exit_status,1}}
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [<0.19843.0>] OS Process Error <0.19845.0> :: {os_process_error,
>                                                        {exit_status,1}}
> [error] [emulator] Error in process <0.19843.0> with exit value: {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [emulator] Error in process <0.19843.0> with exit value: {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> =ERROR REPORT==== 14-Jul-2014::19:21:32 ===
> Error in process <0.19843.0> with exit value: {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> [info] [<0.19822.0>] 62.203.116.116 - - GET /adsnooper/_design/unify/_view/empties?limit=11&reduce=false 500
> [Mon, 14 Jul 2014 19:21:32 GMT] [info] [<0.19822.0>] 62.203.116.116 - - GET /adsnooper/_design/unify/_view/empties?limit=11&reduce=false 500
> [error] [<0.19822.0>] httpd 500 error response:
>  {"error":"os_process_error","reason":"{exit_status,1}"}
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [<0.19822.0>] httpd 500 error response:
>  {"error":"os_process_error","reason":"{exit_status,1}"}
> {code}
> Tried to increase the stack memory to 1GB but this did not help.
> We are running 1.5.0 on FreeBSD 9.2. Database is 210GB with 3.5M documents.



--
This message was sent by Atlassian JIRA
(v6.2#6252)