Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35181

MongoDB 4.0 does not build with --use-cpu-profiler

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-rc0
    • Fix Version/s: 4.0.0, 4.1.1
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Steps To Reproduce:
      Hide

      sconsĀ --use-cpu-profiler all

      Show
      sconsĀ --use-cpu-profiler all
    • Sprint:
      Platforms 2018-06-04, Platforms 2018-06-18
    • Linked BF Score:
      0

      Description

      A couple issues in src/mongo/db/commands/cpuprofile.cpp:

      • secondaryAllowed should have a ServiceContext* argument
      • addRequiredPrivileges should be marked as const, not override

      I imagine this is also broken in master, though I did not check.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ben.caimano Benjamin Caimano
              Reporter:
              bartle David Bartley
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: