[ https://issues.apache.org/jira/browse/COUCHDB-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Carey updated COUCHDB-135: ------------------------------- Attachment: view_offsets2.js This imaginatively titled test case does trigger what I believe is a race condition. The wrong offset is returned roughly one time in ten (on my machine). Potentially of interest is that once the wrong offset is returned for a query, it's always returned for that same query - i.e. it doesn't appear that the query is being satisfied before the index has been fully built. > Offset regression between 0.8.0 and trunk > ----------------------------------------- > > Key: COUCHDB-135 > URL: https://issues.apache.org/jira/browse/COUCHDB-135 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.9 > Environment: OSX 10.5 > Reporter: Paul Carey > Priority: Blocker > Fix For: 0.9 > > Attachments: COUCHDB-135.patch, view_offsets.js, view_offsets2.js > > > The offset returned for certain map queries differs between 0.8.0 and > 0.9.0r702929. > The attached test can be pasted into couch_tests.js. It passes in 0.8.0 and > fails in 0.9. > I believe the skip query param must be passed for this bug to be exhibited. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.