Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2423

Log warning when TCPKeepAlive cannot be enabled

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.7.18
    • 2.7.16
    • None
    • None
    • 1

    Description

      Currently, we set TCPKeepAlive, but do not warn if it fails to set. It would be nice to have a warning log entry that indicates the environment declined.

      On 2.7:
      https://github.com/couchbase/couchbase-net-client/blob/release27/Src/Couchbase/IO/Utils/SocketExtensions.cs#L17-L41

      Also, note that even if it is set, I believe that doesn't guarantee that TCPKeepAlive will be honored in all environments. I have experience with some setups where it may be advisory only.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.ponton Richard Ponton
              ingenthr Matt Ingenthron
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty