Skip to content

Slow Status Service API Delays Bundle Activation #7492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mjungsbluth opened this issue Apr 3, 2025 · 0 comments
Open

Slow Status Service API Delays Bundle Activation #7492

mjungsbluth opened this issue Apr 3, 2025 · 0 comments
Assignees
Labels

Comments

@mjungsbluth
Copy link
Contributor

Short description

Due to the way the status plugin receives updates within OPA (an unbuffered channel), a slow Status Service API can delay bundle activation to the point that scaling out an OPA deployment is not possible (instances do not come up ready in time).

Steps To Reproduce

  • Implement a Status API that blocks infinitely
  • Configure OPA to report status to that API
  • Start OPA with a bundle

Expected behavior

Bundle activation (data plane) should be independent of intermittent control plane failures

Additional context

I think switching the existing channel for listening to bundle status updates to a buffered channel with just 5-10 capacity and dropping old status updates would go a long way.

@mjungsbluth mjungsbluth added the bug label Apr 3, 2025
@johanfylling johanfylling moved this from Backlog to Planning - v1.4 in Open Policy Agent Apr 3, 2025
@sspaink sspaink self-assigned this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Planning - v1.4
Development

No branches or pull requests

2 participants