Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Echo method to send inactivity probe #368

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Sep 27, 2023

  1. Use Echo method to send inactivity probe

    This commit uses client's Echo method to send inactivity probe as it can be
    made as a time bound call so that rpc read lock can not be held indefinitely.
    This would make disconnect happens immediately when current ovsdb leader is
    accidentally gone away (this happens in a very rare scenario in which case
    sendEcho method returns with unexpected EOF error after 12 mins only) and
    reconnects with new ovsdb leader.
    
    Signed-off-by: Periyasamy Palanisamy <[email protected]>
    pperiyasamy committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    c287d43 View commit details
    Browse the repository at this point in the history
  2. Bump go 1.19.6

    This bump up go into 1.19.6 and fixes lint errors generated
    in CI after upgrading go version.
    
    Signed-off-by: Periyasamy Palanisamy <[email protected]>
    pperiyasamy committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    cf04722 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Set deadline for tcp connection

    This sets up tcp connection deadline for write and read requests
    to fail after a deadline has been exceeded.
    
    Signed-off-by: Periyasamy Palanisamy <[email protected]>
    pperiyasamy committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    06c1f43 View commit details
    Browse the repository at this point in the history
  2. Set user timeout for tcp connection

    This commit sets TCP_USER_TIMEOUT socket option for tcp connection
    so that channel write doesn't block indefinitely on network disconnect.
    
    Signed-off-by: Periyasamy Palanisamy <[email protected]>
    pperiyasamy committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    3867774 View commit details
    Browse the repository at this point in the history