Skip to content
  • yacovm's avatar
    [FAB-12673] Make cluster connections asynchronous · 836161ac
    yacovm authored
    
    
    This change set makes cluster outgoing connections be asynchronous.
    It is needed because etcdraft sends all messages in a blocking manner
    as well as processes commands from the etcdraft library from the same
    goroutine, and thus a node that is offline slows down
    all messsage sending, and processing of messages.
    
    Thus we make the connection creation asynchronous, and the book-keeping
    for reconnecting to the offline nodes is done by the gRPC infrastructure.
    
    Change-Id: I88268b1d67684c34bee71a126b01e2c237d2dcec
    Signed-off-by: default avataryacovm <yacovm@il.ibm.com>
    836161ac