diff options
author | Damien F. Katz <damien@apache.org> | 2009-05-25 19:52:28 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2009-05-25 19:52:28 +0000 |
commit | 16ccd4c0b8ae4272fa27d32948658b1424a291fc (patch) | |
tree | f6d59d017234409436091cc53938b27549d9b54f /src/couchdb/couch_db.hrl | |
parent | 4aac0f7c6dcd3f3a29cfe5e1bf2bee84b9bae9d5 (diff) |
Merging new tail append storage into trunk. Upgrades are automatic, once opened by this version old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r-- | src/couchdb/couch_db.hrl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl index 0f7e344e..0d28b2fd 100644 --- a/src/couchdb/couch_db.hrl +++ b/src/couchdb/couch_db.hrl @@ -109,13 +109,12 @@ % if the disk revision is incremented, then new upgrade logic will need to be % added to couch_db_updater:init_db. --define(DISK_VERSION_0_9, 1). --define(LATEST_DISK_VERSION, 2). +-define(LATEST_DISK_VERSION, 3). -record(db_header, {disk_version = ?LATEST_DISK_VERSION, update_seq = 0, - summary_stream_state = nil, + unused = 0, fulldocinfo_by_id_btree_state = nil, docinfo_by_seq_btree_state = nil, local_docs_btree_state = nil, @@ -133,7 +132,7 @@ fd, fd_ref_counter, header = #db_header{}, - summary_stream, + committed_update_seq, fulldocinfo_by_id_btree, docinfo_by_seq_btree, local_docs_btree, @@ -145,7 +144,8 @@ admins_ptr = nil, user_ctx = #user_ctx{}, waiting_delayed_commit = nil, - revs_limit = 1000 + revs_limit = 1000, + fsync_options = [] }). |