couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-2531) CouchDB 2.0: POST to /_revs_diff with no revisions times out
Date Sat, 31 Jan 2015 20:58:35 GMT

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

Mime
View raw message