diff options
author | Paul Joseph Davis <davisp@apache.org> | 2010-02-18 19:55:55 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2010-02-18 19:55:55 +0000 |
commit | 0f3bc594c57d048d329708a6c91edf5bb5be3719 (patch) | |
tree | 8cf5a900df7fa783b8ce174dc5df57ead6bd750e /src/couchdb/couch_view_compactor.erl | |
parent | 6c2f190d314c3894a9fddb4c1c3a65f5ddca3060 (diff) |
Fixes COUCHDB-640 - Reset views with invalid update seqs.
If a database is restored to a previous version, and the view files
are not updated appropriately they will contain data from the database
after the reverted-to-update_seq. This patch checks that the update
sequence recorded in a view is less than or equal to the update
sequence of the database.
Patch is by Filipe Manana. Execellent work once again.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_view_compactor.erl')
0 files changed, 0 insertions, 0 deletions