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

The Backup Service should honor the GOMAXPROCS env var if specified

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      As part of addressing MB-47591 in 7.1.1, the services need to respect the value of the GOMAXPROCS env var if specified. FTS does this in a simple way here, though it seems a bit unnecessary as according to https://pkg.go.dev/runtime#GOMAXPROCS, the GOMAXPROCS default is runtime.NumCPU anyway. Query does it in a slightly more complicated fashion here, but it looks like it also works.

      Perhaps the simplest thing to do for Backup is to remove this line of code, but I'll leave it in your hands as to how exactly you address this issue.

      Attachments

        Issue Links

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

          Activity

            People

              gilad.kalchheim Gilad Kalchheim
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty