couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-736) stale-ok view queries can return inconsistent partial results
Date Wed, 14 Apr 2010 17:16:48 GMT
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