You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/03/14 19:28:09 UTC
couch commit: updated refs/heads/63012-scheduler to f92b68f
Repository: couchdb-couch
Updated Branches:
refs/heads/63012-scheduler [created] f92b68f66
Add _replication_start_time to the doc field validation section.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f92b68f6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f92b68f6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f92b68f6
Branch: refs/heads/63012-scheduler
Commit: f92b68f66bfd286b8702527a2322cfc4c0c2a2bc
Parents: 5685f17
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Fri Nov 4 17:27:13 2016 -0400
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Tue Mar 14 15:07:37 2017 -0400
----------------------------------------------------------------------
src/couch_doc.erl | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f92b68f6/src/couch_doc.erl
----------------------------------------------------------------------
diff --git a/src/couch_doc.erl b/src/couch_doc.erl
index a913eee..9b6c6c2 100644
--- a/src/couch_doc.erl
+++ b/src/couch_doc.erl
@@ -260,6 +260,9 @@ transfer_fields([{<<"_replication_state">>, _} = Field | Rest],
transfer_fields([{<<"_replication_state_time">>, _} = Field | Rest],
#doc{body=Fields} = Doc) ->
transfer_fields(Rest, Doc#doc{body=[Field|Fields]});
+transfer_fields([{<<"_replication_start_time">>, _} = Field | Rest],
+ #doc{body=Fields} = Doc) ->
+ transfer_fields(Rest, Doc#doc{body=[Field|Fields]});
transfer_fields([{<<"_replication_state_reason">>, _} = Field | Rest],
#doc{body=Fields} = Doc) ->
transfer_fields(Rest, Doc#doc{body=[Field|Fields]});