couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-135) Offset regression between 0.8.0 and trunk
Date Thu, 05 Feb 2009 04:09:59 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Joseph Davis updated COUCHDB-135:
--------------------------------------

    Attachment: COUCHDB-135.patch

This should fix the offset calculation errors. Damien should look over it and Paul Carey should
double check that it fixes his issues.

The way I understand things is that basically when the view was folding over the btree, pre-calculated
values were not being properly remembered in the Reds variable that gets passed around. Specifically,
when a kp node was passed over (ie, not examined by drop_nodes), any of the reductions associated
with that node were being lost simply because they weren't added to the list.

Hopefully that makes sense to someone else too.

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


Mime
View raw message