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

proposal to send a response before shutdown

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      Writing a driver for perl6 I found that when I want to use runCommand to shutdown a server, the server will not respond to it when it is really going down. In that case I must check if there are any bytes send back to know that it did shutdown. It is much cleaner and consequent to sent a last {ok: true}. I presume that when the server could not shutdown it would send a message {ok:0} with whatever reason. This case exists otherwise it was not necessary to have a {force:1} option.

      Greetings
      Marcel Timmerman

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Storage Execution Team
            Reporter:
            mt1957 Marcel Timmerman
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: