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

Log warning when TCPKeepAlive cannot be enabled

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.16
    • 3.0.1
    • 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

            There are no comments yet on this issue.

            People

              richard.ponton Richard Ponton
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty