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

write to transmitCl may block before runFeed exits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.3, 5.0.0
    • 4.6.2, 5.0.0
    • XDCR
    • None
    • Untriaged
    • Unknown

    Description

      Before upr_feed.runFeed() exits, it calls the following, which may block if sendCommands() has aborted prior.

      feed.transmitCl <- true

      The problem can be avoided by calling the following instead:

      close(feed.transmitCl)

      Attachments

        Activity

          People

            arunkumar Arunkumar Senthilnathan (Inactive)
            yu Yu Sui (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty