You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Oleg Rostanin (Created) (JIRA)" <ji...@apache.org> on 2012/03/09 16:50:57 UTC

[jira] [Created] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true

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

        

[jira] [Commented] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true

Posted by "Marcello Nuccio (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227575#comment-13227575 ] 

Marcello Nuccio commented on COUCHDB-1436:
------------------------------------------

Isn't it the same as COUCHDB-1415 ?
                
> 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

        

[jira] [Commented] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true

Posted by "Robert Newson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226170#comment-13226170 ] 

Robert Newson commented on COUCHDB-1436:
----------------------------------------

Do you have any more details than this? A trace of a curl session would be useful. As it stands, this report is unactionable.
                
> 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

        

[jira] [Commented] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true

Posted by "Adam Kocoloski (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227555#comment-13227555 ] 

Adam Kocoloski commented on COUCHDB-1436:
-----------------------------------------

What does the HTTP response look like when you submit a GET request for the document after performing the steps that you outlined?
                
> 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

        

[jira] [Commented] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true

Posted by "Oleg Rostanin (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (COUCHDB-1436) Sometimes a newly created document does not appear in the database although operation for its creating returns "ok"=true

Posted by "Dave Cottlehuber (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227698#comment-13227698 ] 

Dave Cottlehuber commented on COUCHDB-1436:
-------------------------------------------

Hi Oleg,

Thanks for reporting this. If doc1 is identical, then you're correct CouchDB post-deletion/compaction will not "un-delete" the revision.

Can you confirm; if so I'll close this one as a duplicate of COUCHDB-1415?
                
> 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