Author: davisp
Date: Thu Oct 29 20:15:51 2009
New Revision: 831075

URL: http://svn.apache.org/viewvc?rev=831075&view=rev
Log:
Fix backport that used a 0.11.x internal API.

s/couch_uuids:random/couch_util:new_uuid/



Modified:
    couchdb/branches/0.10.x/src/couchdb/couch_rep.erl

Modified: couchdb/branches/0.10.x/src/couchdb/couch_rep.erl
URL: 
http://svn.apache.org/viewvc/couchdb/branches/0.10.x/src/couchdb/couch_rep.erl?rev=831075&r1=831074&r2=831075&view=diff
==============================================================================
--- couchdb/branches/0.10.x/src/couchdb/couch_rep.erl (original)
+++ couchdb/branches/0.10.x/src/couchdb/couch_rep.erl Thu Oct 29 20:15:51 2009
@@ -486,7 +486,7 @@
     {SrcInstanceStartTime, TgtInstanceStartTime} ->
         ?LOG_INFO("recording a checkpoint for ~s -> ~s at source update_seq 
~p",
             [dbname(Source), dbname(Target), NewSeqNum]),
-        SessionId = couch_uuids:random(),
+        SessionId = couch_util:new_uuid(),
         NewHistoryEntry = {[
             {<<"session_id">>, SessionId},
             {<<"start_time">>, list_to_binary(ReplicationStartTime)},


Reply via email to