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

Timeout not passed to 'nc' in cbcollect_info

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • ns_server
    • Untriaged
    • Unknown

    Description

      When running netcat as part of cbcollect we do not pass a timeout, this means that this command can hang forever (or socket timeout) and we never actually get a cbcollect.

      It's possible to pass a timeout using the '-w' flag, so we should do this to protect netcats which never return from hanging cbcollect.
      Alternatively we could add a default timeout to every task that we schedule as part of cbcollect to pre-emptively protect us in future.

      Attachments

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

        Activity

          People

            matt.carabine Matt Carabine (Inactive)
            matt.carabine Matt Carabine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty