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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0, 4.1.1
    • Affects Version/s: 4.0.0-rc0
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.0
    • Hide

      sconsĀ --use-cpu-profiler all

      Show
      sconsĀ --use-cpu-profiler all
    • Platforms 2018-06-04, Platforms 2018-06-18
    • 0

      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.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: