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

proposal to send a response before shutdown

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Storage Execution
    • Fully Compatible

      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

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

              Created:
              Updated:
              Resolved: