summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_db.hrl
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2009-01-05 17:03:02 +0000
committerDamien F. Katz <damien@apache.org>2009-01-05 17:03:02 +0000
commit75e24cb09c6222713224540a1d82b6539c71ac9a (patch)
treeac0ec8b7457c30a3501aca5711f2f78c205cf74d /src/couchdb/couch_db.hrl
parentae1ad0ae6738783ce15918657fddddcbf176d940 (diff)
Fixed views to not commit index headers if they are ahead of what has been fully committed to the database. Also, the index headers are now committed async, improving response times updating views.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731618 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r--src/couchdb/couch_db.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl
index 5dbbcee8..830f2f9a 100644
--- a/src/couchdb/couch_db.hrl
+++ b/src/couchdb/couch_db.hrl
@@ -154,7 +154,8 @@
}).
-record(group,
- {sig=nil,
+ {type=view, % can also be slow_view
+ sig=nil,
db=nil,
fd=nil,
name,
@@ -162,10 +163,9 @@
views,
id_btree=nil,
current_seq=0,
- committed_seq=0,
purge_seq=0,
query_server=nil,
- commit_fun
+ waiting_delayed_commit=nil
}).
-record(view,