You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Carey (JIRA)" <ji...@apache.org> on 2008/10/10 21:03:44 UTC

[jira] Created: (COUCHDB-135) Offset regression between 0.8.0 and trunk

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


[jira] Commented: (COUCHDB-135) Offset regression between 0.8.0 and trunk

Posted by "Paul Carey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639090#action_12639090 ] 

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

The RelaxDB library contains a couple of hundred lines of pagination related test code - the majority of the tests rely on the correct offset being returned.

All these tests pass against 0.8.0, but some fail against trunk. An inconsistent number of tests fail against trunk. Typically 2, sometimes 3.

If you're interested in running these pagination tests against CouchDB, run the following 

git clone git://github.com/paulcarey/relaxdb.git && cd relaxdb && git checkout a8a2d496462ad
and then simply
spec spec/paginate_spec.rb

The following shows the result of inconsistent test failures.
http://friendpaste.com/RHKnkRpG

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


[jira] Updated: (COUCHDB-135) Offset regression between 0.8.0 and trunk

Posted by "Paul Carey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Carey updated COUCHDB-135:
-------------------------------

    Attachment: view_offsets.js

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