incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1716) 200-view-group-no-db-leaks.t fails spuriously
Date Mon, 18 Mar 2013 22:29:15 GMT

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

Jan Lehnardt commented on COUCHDB-1716:
---------------------------------------

Adding a timer:sleep(100) between the closing of the DB and reading the ref count makes this
always pass for me (ran this in a while(true) for a bit on the mentioned machine.

Now I am really not sure if we are masking a true race condition though.
                
> 200-view-group-no-db-leaks.t fails spuriously
> ---------------------------------------------
>
>                 Key: COUCHDB-1716
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1716
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Jan Lehnardt
>
> On the CI setup and in various manual reports, we see 200-view-group-no-db-leaks.t failing
occasionally. On my Ubuntu 12.10 VM it is 10-20% of the time.
> The error is always:
> {noformat}
> not ok 20  - DB ref counter is only held by couch_db and couch_db_updater
> [info] [<0.117.0>] Index update finished for db: couch_test_view_group_db_leaks
idx: _design/foo
>     ---
>     description: "DB ref counter is only held by couch_db and couch_db_updater"
>     found:       3
>     wanted:      2
>     ...
> {noformat}
> I don’t know off-hand if this is a bug in our test or the ref counting code.

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