Skip to content

[BUG REPORT]: Route emitters incorrectly emit unregistration messages when binding or unbinding route services #500

@flawedmatrix

Description

@flawedmatrix

Summary

When a user runs cf bind-route-service or cf unbind-route-service for an application, the app will fluctuate being routable for 30 seconds to being unreachable (404 status code from the router) for 30 seconds. This behavior continues for 10 minutes, after which the app will be consistently routable again.

Expected Result

Binding or unbinding a route service should not cause the app to 404.

Diego repo

https://github.com/cloudfoundry/route-emitter

Context

This issue occurs in versions of diego-release v2.34.0 and above.

Here is a slack thread (sorry, Pivotal only) that has more context on the issue.

Possible Causes or Fixes (optional)

The mechanism to kick unregistration messages out of the route-emitter's unregistration cache should be broader to allow matching routes without route service URLs to kick out routes with route service URLs and vice versa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions