couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-736) stale-ok view queries can return inconsistent partial results
Date Wed, 14 Apr 2010 17:40:49 GMT

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

Adam Kocoloski commented on COUCHDB-736:
----------------------------------------

We'll need to make sure to save this partial_group to disk somehow.  We can't go back to the
old way of requiring a (potentially huge) first pass at indexing to complete successfully
before we save durable checkpoints.

> stale-ok view queries can return inconsistent partial results
> -------------------------------------------------------------
>
>                 Key: COUCHDB-736
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-736
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.11
>            Reporter: Chris Anderson
>
> since r796805 requests to views with the stale=ok option have returned partially computed
index results. This changed the semantics of views. This ticket is about maintaining the old
semantics.
> This should be changed so stale=ok only returns what would be returned by a normal view
request. stale=partial would be an OK name for an option to provide the current behavior.

> The best way to fix this would be to store the NewGroup sent on the partial_update cast
in #group_state.partial_group instead of #group_state.group
> This will also eliminate the (rare) changes of serving inconsistent results with a regular
view query.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message