[
https://issues.apache.org/jira/browse/COUCHDB-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Newson resolved COUCHDB-945.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.1
1.0.2
0.11.3
validation funs are reloaded in compact_done. security_validation.js includes a
test to verify the fix.
> validate_doc_update functions are ignored after compaction
> ----------------------------------------------------------
>
> Key: COUCHDB-945
> URL: https://issues.apache.org/jira/browse/COUCHDB-945
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 1.0, 1.0.1
> Reporter: Robert Newson
> Assignee: Robert Newson
> Priority: Blocker
> Fix For: 0.11.3, 1.0.2, 1.1
>
>
> validation functions are not reapplied to the #db in compact_done, meaning
> that no validation is performed after the first compaction of a database
> until the couchdb server is restarted.
> I've not run a regression check but Adam K and myself believe it has likely
> been broken for a long time and very possibly forever.
> I have a fix and will commit once I have a test to prevent regression. This
> will need backporting, which I will also do.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.