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

[CBBS] A pointer to the config is shared between multiple goroutines without synchronization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Morpheus
    • 7.0.0, 7.0.1, 7.0.2
    • tools
    • None
    • Untriaged
    • 1
    • No

    Description

      What's the issue?
      Many of the components in the backup service rely on the service config, this is passed around all over the place, but we're not synchronizing access to it which means we're open to race conditions within the node.

      For example, the 'Manage' type saves a pointer to the config here but also provides a pointer to the task runner here; both of these will be operating in different goroutines, yet still have unguarded access to the node config.

      Attachments

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

        Activity

          People

            james.lee James Lee
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty