Stabilize replication id
authorRobert Newson <rnewson@apache.org>
Wed, 14 Nov 2012 10:53:07 +0000 (10:53 +0000)
committerRobert Newson <rnewson@apache.org>
Wed, 14 Nov 2012 10:59:31 +0000 (10:59 +0000)
commitc6252d6d7f8d7fa3a27bf8e09beecb87033fa2fa
tree706b98894efd6599f0e61109fb15ca2e96564056
parentd7f20376b1a880ba45e0a2699de2dd66df82f671
Stabilize replication id

This patch introduces a stable server-wide UUID which is used in place
of the local hostname and port number in new replication ids. This
allows CouchDB to find a valid checkpoint even if the coordinating
node's port has changed (it might be using a dynamic port, for example).

COUCHDB-1259
CHANGES
NEWS
src/couch_replicator/src/couch_replicator.hrl
src/couch_replicator/src/couch_replicator_utils.erl
src/couchdb/couch_httpd.erl
src/couchdb/couch_httpd_misc_handlers.erl
src/couchdb/couch_server.erl