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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Daniel Morilha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: