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

juanjo pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/3.x by this push:
     new 44a13d5  fix: finish_cluster failure due to missing uuid
44a13d5 is described below

commit 44a13d5aeb5b1766c23f00e035915d79ab478a61
Author: Steven Tang <[email protected]>
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(),

Reply via email to