nickva commented on a change in pull request #470: Scheduling Replicator
URL: https://github.com/apache/couchdb/pull/470#discussion_r110486949
##########
File path: src/couch/src/couch_doc.erl
##########
@@ -270,6 +270,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],
Review comment:
Paul had a good idea. Remove the _replication_start_time and for failure
case just use state time as start time. And for completed add start time (or
rather duration) to `_replication_stats`.
@garrensmith Will this this affect Fauxton code ^ ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services