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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.0.0-rc0
    • 4.0.0, 4.1.1
    • Build
    • 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

    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

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

              Dates

                Created:
                Updated:
                Resolved: