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

projector can crash due to race condition in feed cleanup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 5.5.4, 6.0.1, 6.5.0
    • secondary-index
    • None
    • Untriaged
    • Yes

    Description

      The code introduced as part of following commits can cause projector to panic due to race condition on feed cleanup.

      https://github.com/couchbase/indexing/commit/2e56e3d535dfaeb1b2615eca822f42c28e502e2d
      https://github.com/couchbase/indexing/commit/c21d01188a5509208d89257af7fc578e45c12796

      During cleanup, the genServer sets feed.conn=nil, while the doReceive can still try to access this.

      As the above commits were backported to 5.5.4 and 6.0.1, the fix will also need to be backported.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-34417
          # Subject Branch Project Status CR V

          Activity

            People

              mahesh.mandhare Mahesh Mandhare (Inactive)
              deepkaran.salooja Deepkaran Salooja
              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