Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-26641

Add timeout to tcp write operations in gomemcached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • gomemcached
    • None
    • Triaged
    • Unknown

    Description

      As of now there is no write time out in tcp write operations in gomemcached. As a result, it is possible that mc.Transmit() could hang. Adding a write timeout should eliminate this possibility.

      The write timeout will be defaulted to 0. Client of gomemcached needs to explicitly set DefaultWriteTimeout variable in gomemcached to get it enabled.

      Attachments

        Issue Links

          Activity

            People

              yu Yu Sui (Inactive)
              yu Yu Sui (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty