couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Rostanin (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true
Date Mon, 12 Mar 2012 08:55:38 GMT

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

Oleg Rostanin commented on COUCHDB-1436:
----------------------------------------

I'm using C# "Relax"-Library for querying couchdb. This is a trace.

[Mon, 12 Mar 2012 08:44:24 GMT] [debug] [<0.21431.4>] 'PUT' /com%2Fdeere%2Frostaninnb%2Fconfig/igreen_machineconnector
{1,
                                                                                        1}
from "127.0.0.1"
Headers: [{'Authorization',"Basic YWRtaW46aUdyZWVuTUM="},
          {'Content-Length',"392"},
          {'Content-Type',"application/json; charset=utf-8"},
          {"Expect","100-continue"},
          {'Host',"localhost:5984"}]
[Mon, 12 Mar 2012 08:44:24 GMT] [debug] [<0.21431.4>] OAuth Params: []
[Mon, 12 Mar 2012 08:44:24 GMT] [info] [<0.21431.4>] 127.0.0.1 - - 'PUT' /com%2Fdeere%2Frostaninnb%2Fconfig/igreen_machineconnector
201

I was testing the following use case:
- I have a local document doc1 in the db1
- Currently no replication is running
- I delete the local document doc1
- I trigger compaction
- I create a new doc1
- I get "ok=true" in my Relax-Client as an answer.

Would it be helpful? Maybe I'm doing wrong things?

                
> Sometimes a newly created document does not appear in the database although operation
for its creating returns "ok"=true
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1436
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1436
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.1
>            Reporter: Oleg Rostanin
>
> Sometimes after creating a document via http request a newly created document does not
apper in the db (both in Web gui and when requested through API) althougho the response of
the creation request returned ok=true,

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message