You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Marek Kowalski (JIRA)" <ji...@apache.org> on 2013/02/21 11:30:13 UTC

[jira] [Created] (COUCHDB-1681) When I save 2 documents to replication database fast enough, the second one will occasionally not start.

Marek Kowalski created COUCHDB-1681:
---------------------------------------

             Summary: When I save 2 documents to replication database fast enough, the second one will occasionally not start.
                 Key: COUCHDB-1681
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1681
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
            Reporter: Marek Kowalski


I have a test which fails occasionally (with the rate of approx 1/12).
The test does the following steps:
1. Create database 2 databases.
2. Save a design document with the same body to each of them.
3. Save 2 documents to _replicator database to replicate A->B, B->A

After this I wait in a loop until both documents get their _replication_status updated to "completed". The problem is, that occasionally the second replication does not start at all. 

If I modify my create the replication documents one-by-one, and wait after each, my test pass with 100% rate. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira