Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4580

Consider returning `202` (Accepted) for /reserve and related endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • master

    Description

      We currently return 200 (OK) when a POST to /reserve, /unreserve, /create-volumes, and /destroy-volumes is validated successfully. This is misleading, because the underlying operation is still dispatched asynchronously and might subsequently fail. It would be more accurate to return 202 (Accepted) instead.

      Attachments

        Issue Links

          Activity

            People

              dongdong zhou xing
              neilc Neil Conway
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: