[ARVADOS] updated: 1.3.0-1761-gdb9a5a318

Git user git at public.curoverse.com
Mon Oct 21 14:25:57 UTC 2019


Summary of changes:
 sdk/go/keepclient/discover.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  db9a5a318af1f0be8470bbdfc9a2b31ee88ce931 (commit)
      from  dd9f2403f43bcb93da5908ddde57d8c0491bb4c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit db9a5a318af1f0be8470bbdfc9a2b31ee88ce931
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Mon Oct 21 10:04:57 2019 -0400

    Fix keepclient service discovery race.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/sdk/go/keepclient/discover.go b/sdk/go/keepclient/discover.go
index 62936e718..02c788bd9 100644
--- a/sdk/go/keepclient/discover.go
+++ b/sdk/go/keepclient/discover.go
@@ -27,8 +27,9 @@ func RefreshServiceDiscovery() {
 	defer svcListCacheMtx.Unlock()
 	for _, ent := range svcListCache {
 		wg.Add(1)
+		clear := ent.clear
 		go func() {
-			ent.clear <- struct{}{}
+			clear <- struct{}{}
 			wg.Done()
 		}()
 	}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list