-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
Labels
#g-orchestrationOrchestration product groupOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documentedcustomer-numa~released bugThis bug was found in a stable release.This bug was found in a stable release.
Milestone
Description
Fleet version: v4.75.1
Web browser and operating system:
💥 Actual behavior
High DB Load when conditional access is turned on due to an error message like the following:
{"err":"failed to load the integration: getting microsoft_compliance_partner_integrations: context canceled","host_id":<id>,"level":"error","msg":"load conditional access configured and enabled, skipping ingestion","ts":"2025-11-07T01:20:35.312403145Z"}
https://github.com/fleetdm/fleet/blob/main/server/service/osquery.go#L2410-L2451 looks to call ds.Team() which gets the count as part of what it does in teamDB().
Here is what the db usage showed that lead to looking at teamDB():
🛠️ To fix
🧑💻 Steps to reproduce
- TODO
- TODO
🕯️ More info (optional)
N/A
Metadata
Metadata
Assignees
Labels
#g-orchestrationOrchestration product groupOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documentedcustomer-numa~released bugThis bug was found in a stable release.This bug was found in a stable release.
Type
Projects
Status
Done