couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: git commit: Ensure uuid is generated before port is bound
Date Wed, 14 Nov 2012 10:48:36 GMT

On Nov 14, 2012, at 11:34 , rnewson@apache.org wrote:

> Updated Branches:
>  refs/heads/1259-stable_replication_ids dbd1e19e0 -> ae798352d (forced update)

+1 to get this merged into master & 1.3.x as is.

Cheers
Jan
-- 

> 
> 
> Ensure uuid is generated before port is bound
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
> Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ae798352
> Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ae798352
> Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ae798352
> 
> Branch: refs/heads/1259-stable_replication_ids
> Commit: ae798352d1aad67355bfee6828d9ddd0546591c4
> Parents: 39fe998
> Author: Robert Newson <rnewson@apache.org>
> Authored: Wed Nov 14 10:31:00 2012 +0000
> Committer: Robert Newson <rnewson@apache.org>
> Committed: Wed Nov 14 10:34:39 2012 +0000
> 
> ----------------------------------------------------------------------
> src/couchdb/couch_httpd.erl |    4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/couchdb/blob/ae798352/src/couchdb/couch_httpd.erl
> ----------------------------------------------------------------------
> diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
> index 3774b85..ba28ffd 100644
> --- a/src/couchdb/couch_httpd.erl
> +++ b/src/couchdb/couch_httpd.erl
> @@ -128,6 +128,10 @@ start_link(Name, Options) ->
> 
>     set_auth_handlers(),
> 
> +    % ensure uuid is set so that concurrent replications
> +    % get the same value.
> +    couch_server:get_uuid(),
> +
>     Loop = fun(Req)->
>         case SocketOptions of
>         [] ->
> 


Mime
View raw message