wohali edited a comment on issue #1841: Wrong start_time in _replicate response
URL: https://github.com/apache/couchdb/issues/1841#issuecomment-451992371
 
 
   I can't confirm this - what is the `timezone` setting on your server? Erlang 
should be picking it up from that.
   
   ```bash
   $ curl -X PUT http://127.0.0.1:15984/baseball_1
   {"ok":true}
   $ curl -X PUT http://127.0.0.1:15984/baseball_2
   {"ok":true}
   $ curl -H 'Content-Type: application/json' -X POST 
"http://127.0.0.1:15984/baseball_1/"; -d '{}'
   $ curl -H 'Content-Type: application/json' -X POST 
"http://127.0.0.1:15984/_replicate"; -d 
'{"source":{"url":"http://127.0.0.1:15984/baseball_1"},"target":{"url":"https://127.0.0.1:15984/baseball_2"},"doc_ids":["41fa187659bd5957ab3d2d22a80006f4"]}'
   
{"ok":true,"session_id":"5ac147f405fb75b6b7107d76a14e7c30","source_last_seq":"1-g1AAAAGXeJzLYWBg4MhgTmHgz8tPSTV0MDQy1zMAQsMcoARTIkOS_P___7MymBMZcoEC7BYGlommhhYpDJyleSmpaZl5qSk4NScpAMkke5D-RAbcqhxAquIJqUoAqaonoCqPBUgyNAApoML5hFUugKjcj_CfUWJKqhGR_oOYcQBixn2QGYxgM0wtzC0tk4wwdREw6QHEJJAPswD_amrS","replication_id_version":4,"start_time":"Mon,
 07 Jan 2019 21:35:51 GMT","end_time":"Mon, 07 Jan 2019 16:35:56 
GMT","docs_read":1,"docs_written":1,"doc_write_failures":0,"history":[{"session_id":"5ac147f405fb75b6b7107d76a14e7c30","start_time":"Mon,
 07 Jan 2019 21:35:51 GMT","end_time":"Mon, 07 Jan 2019 16:35:56 
GMT","start_last_seq":0,"end_last_seq":"1-g1AAAAGXeJzLYWBg4MhgTmHgz8tPSTV0MDQy1zMAQsMcoARTIkOS_P___7MymBMZcoEC7BYGlommhhYpDJyleSmpaZl5qSk4NScpAMkke5D-RAbcqhxAquIJqUoAqaonoCqPBUgyNAApoML5hFUugKjcj_CfUWJKqhGR_oOYcQBixn2QGYxgM0wtzC0tk4wwdREw6QHEJJAPswD_amrS","recorded_seq":"1-g1AAAAGXeJzLYWBg4MhgTmHgz8tPSTV0MDQy1zMAQsMcoARTIkOS_P___7MymBMZcoEC7BYGlommhhYpDJyleSmpaZl5qSk4NScpAMkke5D-RAbcqhxAquIJqUoAqaonoCqPBUgyNAApoML5hFUugKjcj_CfUWJKqhGR_oOYcQBixn2QGYxgM0wtzC0tk4wwdREw6QHEJJAPswD_amrS","missing_checked":1,"missing_found":1,"docs_read":1,"docs_written":1,"doc_write_failures":0}]}
   [688 atypical:joant ~] $ date -u
   Mon Jan  7 16:36:47 UTC 2019
   ```
   Obviously the recommendation is to run with your server set to `UTC`.

----------------------------------------------------------------
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

Reply via email to