New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purge throws "this feature is not yet implemented" #1378
Comments
Clustered Purge is under development. Hopefully it can help solve your problem once it lands. |
Duplicate of #1352. |
As a workaround, you can do a filtered replication to another database that removes the tombstones. See https://eclipsesource.com/blogs/2015/04/20/how-to-finally-delete-documents-in-couchdb/ and especially the comment thread posts by @willholley . |
@jiangphcn: Thanks, but I thought it would have worked for single node, or am I confusing something? Also when do you think this would be delivered? Thanks again? |
For single node purge, you need to use @davisp and myself are working on clustered purge and code was under review process. |
@jiangphcn: Thanks again. Great news, this means it might get shipped with next version? Maybe I am pushing too much, but is there a release date? |
I can't accurately say when it will be released for now because there are multiple factors to decide how long it will take to complete this feature. But it should be available in near future. Also, the clustered purge is also to provide REST API approach for usage. |
I'm also a user not not familiar with ERL. So a public api for |
No sooner than CouchDB 2.3.0. |
@jlami Also, remember that a delete followed by a compact will remove all record of a document except for the _id and _rev fields. You only need purge for GDPR if you have sensitive data in the _id field itself. |
But for now we are disabling compaction to use the revisions for history. I know, misuse of a feature. But it seemed like a good thing at the time. Compaction can't really be triggered manually can it? |
Hello! I am experiencing the same problem on a single-node configuration of CouchDB (not clustered). |
@LastStarDust Clustered purge is not in CouchDB 2.2, but was just merged to CouchDB master branch. You can see more information about this new feature from https://github.com/apache/couchdb-documentation/pull/285/files. |
@jiangphcn Thank you for the hint. Anyway I am using a single-node configuration and I am getting the same error. I tried to compile from source the master branch but I got stuck because of other errors. If possible I would like to stick using the repository version of couchdb. |
@LastStarDust The next released version of CouchDB will include purge functionality. Or, you can go back to CouchDB 1.x. |
Ok clear! I will downgrade to |
Expected Behavior
Should purge the document as in documentation
Current Behavior
Returns an error message
{
"error": "not_implemented",
"reason": "this feature is not yet implemented"
}
Steps to Reproduce (for bugs)
Context
We are having a db with lots of _deleted docs, that is sync with PouchDB and we need to clean them up because they are getting replicated. So we are getting All Changes and from each change we're using the doc id and rev to trigger a POST to _purge
Your Environment
I have also ran into: https://groups.google.com/forum/#!topic/couchdb-user-archive/yDf965WCTMQ and in Fauxton Setup it says: "Apache CouchDB is configured for production usage as a single node!"
The text was updated successfully, but these errors were encountered: