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

Change src/mongo/db/commands/shutdown.cpp finishShutdown timeout from "long long" to "Milliseconds" duration

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch 2022-03-21, Service Arch 2022-04-04, Service Arch 2022-04-18
    • 1

      finishShutdown uses "long long" type to represent the amount of time before the shutdown is considered timeout. Modern C++ expects time durations to be represented as a unit of time like Milliseconds.

      Acceptance Criteria: Change the method signature, all callers and callees.

            Assignee:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Reporter:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: