-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] make agent policy bumpRevision async or move it to task manager #198203
Labels
Team:Fleet
Team label for Observability Data Collection Fleet team
Comments
shahzad31
added
the
Team:Fleet
Team label for Observability Data Collection Fleet team
label
Oct 29, 2024
Pinging @elastic/fleet (Team:Fleet) |
I think that new behaviour should be opt-in like a new parameter |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this issue
Nov 5, 2024
…tic#198658) ## Summary Async bumpRevision to improve performance Fixes elastic#198203 Sample trace <img width="1451" alt="image" src="https://github.com/user-attachments/assets/cdec5fb6-78e5-409f-9b09-6d23d2c7c381"> <img width="1472" alt="image" src="https://github.com/user-attachments/assets/c04ee1c2-18ac-4edc-97c6-65732ca307da"> (cherry picked from commit a809ced)
shahzad31
added a commit
to shahzad31/kibana
that referenced
this issue
Nov 6, 2024
…tic#198658) ## Summary Async bumpRevision to improve performance Fixes elastic#198203 Sample trace <img width="1451" alt="image" src="https://github.com/user-attachments/assets/cdec5fb6-78e5-409f-9b09-6d23d2c7c381"> <img width="1472" alt="image" src="https://github.com/user-attachments/assets/c04ee1c2-18ac-4edc-97c6-65732ca307da"> (cherry picked from commit a809ced) # Conflicts: # x-pack/plugins/fleet/server/services/package_policy.ts
mgadewoll
pushed a commit
to mgadewoll/kibana
that referenced
this issue
Nov 7, 2024
…tic#198658) ## Summary Async bumpRevision to improve performance Fixes elastic#198203 Sample trace <img width="1451" alt="image" src="https://github.com/user-attachments/assets/cdec5fb6-78e5-409f-9b09-6d23d2c7c381"> <img width="1472" alt="image" src="https://github.com/user-attachments/assets/c04ee1c2-18ac-4edc-97c6-65732ca307da">
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Synthetics performs bulk operation like create let's say 100s of package policies in bulk, some of those operations are paginated. let's say if we have 1000 monitors and page of 250 means, 1000 monitors deployed on same agent policy will end up bumping revision 10 times and also each call will have to wait for bumpRevision , which take quite a time compared to other operations.
Propose solution
Make bumpRevision optionally async
Right now route waits for bumpRevision, we should make it optional not to wait for that operation
Move to task manage
Move bumpRevision to a task manager, this would probably also provide batching bumpRevision.
The text was updated successfully, but these errors were encountered: