couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marek Kowalski (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1681) When I save 2 documents to replication database fast enough, the second one will occasionally not start.
Date Thu, 21 Feb 2013 10:30:13 GMT
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

Mime
View raw message