couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Parker (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1279) Deleted documents persist in View results
Date Wed, 12 Oct 2011 12:59:11 GMT

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

Matt Parker commented on COUCHDB-1279:
--------------------------------------

i have the same problem on couchdb 1.1.0. a document was deleted on server 1. that deletion
was replicated to the same database on server 2. the document was removed from the view on
server 1. the document persists in the view on server 2, even though server 2 reports the
document as deleted. help!
                
> Deleted documents persist in View results
> -----------------------------------------
>
>                 Key: COUCHDB-1279
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1279
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.3
>         Environment: CouchDB 1.0.3, Centos 64 bit
>            Reporter: Chris Gomez
>            Priority: Blocker
>
> Previously deleted documents are returned as results in a View. 
> View results yield { error: not_found, reason: deleted } when queried by id and are not
returned in _all_docs.
> Compacting the database does not fix the issue. Deleting the View and rebuilding did
not fix the issue. Deleting the view then compacting, then rebuilding the view did not fix
the issue. Currently, the only way I know how to get around it is to delete/rebuild the database.

> These documents would have been deleted programmatically, so I can't be certain about
the exact create/update/delete scenario the have gone through. These particular documents
could have been around for a long while before I even noticed them. The biggest issue I have
with this bug is that it means I can't bulk delete any documents when this bug occurs because
of the update conflict it creates.  
> May be related: http://stackoverflow.com/questions/7323285/couchdb-views-not-being-updated-after-delete

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

        

Mime
View raw message