You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/01/31 21:58:35 UTC

[jira] [Updated] (COUCHDB-2531) CouchDB 2.0: POST to /_revs_diff with no revisions times out

     [ https://issues.apache.org/jira/browse/COUCHDB-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shorin updated COUCHDB-2531:
--------------------------------------
    Component/s: HTTP Interface

> CouchDB 2.0: POST to /_revs_diff with no revisions times out
> ------------------------------------------------------------
>
>                 Key: COUCHDB-2531
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2531
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: HTTP Interface
>            Reporter: Will Holley
>             Fix For: 2.0.0
>
>
> In CouchDB 1.6, posting an empty object to the _revs_diff endpoint returns an empty object:
> {code}
> $ curl http://127.0.0.1:5984/revsdifftest -XPUT                                                                                                         
> {"ok":true}
> $ curl http://127.0.0.1:5984/revsdifftest/_revs_diff -XPOST -H"Content-Type:application/json" -d"{}"
> {}
> {code}
> In CouchDB 2.0, the same request results in a timeout:
> {code}
> $ curl http://127.0.0.1:15984/revsdifftest -XPUT                                                                                                         
> {"ok":true}
> $ curl http://127.0.0.1:15984/revsdifftest/_revs_diff -XPOST -H"Content-Type:application/json" -d"{}"
> {"error":"badmatch","reason":"{error,timeout}","ref":1478668763}
> {code}
> This currently breaks the PouchDB test suite when running against CouchDB master.



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