diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-09-09 16:53:49 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-09-09 16:53:49 +0000 |
commit | 9b78e1555d73c888fedaa0b9d256abaeaadbe41a (patch) | |
tree | 921f620daaeb7116e5511db830e5ecb6d0498f98 /src/couchdb/couch_rep.erl | |
parent | 85d1cbfc79eb0a04ec7f16624d6290920b4355ac (diff) |
choice of uuid algos for better insert perf. Closes COUCHDB-465. Thanks rnewson, bitdiddle
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@813051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep.erl')
-rw-r--r-- | src/couchdb/couch_rep.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep.erl b/src/couchdb/couch_rep.erl index bcd1807c..c2f691eb 100644 --- a/src/couchdb/couch_rep.erl +++ b/src/couchdb/couch_rep.erl @@ -470,7 +470,7 @@ do_checkpoint(State) -> "replication is redone and documents reexamined.", []), StartSeqNum end, - SessionId = couch_util:new_uuid(), + SessionId = couch_uuids:random(), NewHistoryEntry = {[ {<<"session_id">>, SessionId}, {<<"start_time">>, list_to_binary(ReplicationStartTime)}, |