couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r990588 - /couchdb/branches/new_replicator/src/couchdb/couch_db.erl
Date Sun, 29 Aug 2010 14:46:33 GMT
Author: fdmanana
Date: Sun Aug 29 14:46:32 2010
New Revision: 990588

URL: http://svn.apache.org/viewvc?rev=990588&view=rev
Log:
Merged revision 983435 from trunk:

related to COUCHDB-844. Include committed_update_seq in db_info to allow external monitoring
of delayed commits.

Modified:
    couchdb/branches/new_replicator/src/couchdb/couch_db.erl

Modified: couchdb/branches/new_replicator/src/couchdb/couch_db.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_db.erl?rev=990588&r1=990587&r2=990588&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_db.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_db.erl Sun Aug 29 14:46:32 2010
@@ -239,7 +239,8 @@ get_db_info(Db) ->
         update_seq=SeqNum,
         name=Name,
         fulldocinfo_by_id_btree=FullDocBtree,
-        instance_start_time=StartTime} = Db,
+        instance_start_time=StartTime,
+        committed_update_seq=CommittedUpdateSeq} = Db,
     {ok, Size} = couch_file:bytes(Fd),
     {ok, {Count, DelCount}} = couch_btree:full_reduce(FullDocBtree),
     InfoList = [
@@ -251,7 +252,8 @@ get_db_info(Db) ->
         {compact_running, Compactor/=nil},
         {disk_size, Size},
         {instance_start_time, StartTime},
-        {disk_format_version, DiskVersion}
+        {disk_format_version, DiskVersion},
+        {committed_update_seq, CommittedUpdateSeq}
         ],
     {ok, InfoList}.
 



Mime
View raw message