You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/07/26 10:24:35 UTC

[couchdb] branch master updated: fix: finish_cluster failure due to missing uuid

This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new a817e60  fix: finish_cluster failure due to missing uuid
a817e60 is described below

commit a817e601c359e5e2792f746a9e121ede949f8b3a
Author: Steven Tang <st...@steventang.net>
AuthorDate: Sat Jul 25 20:51:22 2020 +1000

    fix: finish_cluster failure due to missing uuid
    
    Resolves #2858
---
 src/setup/src/setup.erl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/setup/src/setup.erl b/src/setup/src/setup.erl
index 4867f60..e681864 100644
--- a/src/setup/src/setup.erl
+++ b/src/setup/src/setup.erl
@@ -198,6 +198,9 @@ setup_node(NewCredentials, NewBindAddress, NodeCount, Port) ->
 
 
 finish_cluster(Options) ->
+    % ensure that uuid is set
+    couch_server:get_uuid(),
+
     ok = wait_connected(),
     ok = sync_admins(),
     ok = sync_uuid(),