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

Paul Carey commented on COUCHDB-135:
------------------------------------

Applying this patch put a big smile on my face - it does indeed fix the main 
offset calculation error. 

However, running my test suite, I now see very sporadic errors which makes me 
think there's still a race condition lurking somewhere. Running my pagination 
tests suite 100 times results in about 82k requests to CouchDB and 8k test 
assertions. I had 8 assertions fail over the 100 test runs. I'm fairly sure the 
issue doesn't lie with my test suite or lib.

I'll have a go at creating a test that reproduces the failure. 

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

Reply via email to