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

use seperate locks on feed.vbstreams and feed.closed

    XMLWordPrintable

Details

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

    Description

      In upr_feed, the same lock is used to guard against operations on both feed.vbstreams and feed.closed. As a result, unnecessary blocking or even deadlocking could happen. For example, if some operation on vbstreams hangs, attempt to close feed would also hang. 

      Such problems can be avoided by using separate locks.

       

      Attachments

        Issue Links

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

          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:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty