openservicebrokerapi / servicebroker

Open Service Broker API Specification
https://openservicebrokerapi.org/
Apache License 2.0
1.19k stars 433 forks source link

Handling missing or unknown state during polling is undefined #719

Closed ransombriggs closed 4 years ago

ransombriggs commented 4 years ago

What is the problem?

There is no guidance on how to handle either a missing or unknown state during polling is undefined. What should the platform do if the broker passes back {} or {"state": "garbage"} during polling? For now we are retrying until the polling interval is reached, but am not certain if that is the right behavior.

Who does this affect?

This affect platform authors

Do you have any proposed solutions?

Off the top of my head there are two options:

  1. Continue polling until a defined state or polling interval reached
  2. Perform orphan mitigation
Samze commented 4 years ago

As discussed on 18/08/2020 call, we are closing this.