From 5aae08bf66411e4e81b21a3c137627733efa6b26 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 8 Jun 2010 16:50:58 +0000 Subject: preserve _revs_limit after compaction. COUCHDB-789 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@952732 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_db_updater.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/couchdb') diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl index df682f62..a8ffc6cc 100644 --- a/src/couchdb/couch_db_updater.erl +++ b/src/couchdb/couch_db_updater.erl @@ -165,7 +165,8 @@ handle_cast({compact_done, CompactFilepath}, #db{filepath=Filepath}=Db) -> local_docs_btree = NewLocalBtree, main_pid = Db#db.main_pid, filepath = Filepath, - instance_start_time = Db#db.instance_start_time + instance_start_time = Db#db.instance_start_time, + revs_limit = Db#db.revs_limit }), ?LOG_DEBUG("CouchDB swapping files ~s and ~s.", -- cgit v1.2.3