You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
There is an issue with code monitors caused by searches timing out, which cancels the context. As a result, when that context is passed to cm.UpsertLastSearched, the database upsert fails since the context is canceled. That results in the cm_last_searched record not being updated with the most recent commit hash, which in turn leads the monitor job to run ad nauseam.
As a result, this has led to a cm_trigger_jobs table that is bloated by 32GB for one of our customers. This led to an outage that required them to increase the size of the frontend database volume and suspend all their code monitors so that the cm_trigger_jobs table could breathe.
Fix the canceled context that is passed into cm.UpsertLastSearched
There is an issue with code monitors caused by searches timing out, which cancels the context. As a result, when that context is passed to
cm.UpsertLastSearched, the database upsert fails since the context is canceled. That results in thecm_last_searchedrecord not being updated with the most recent commit hash, which in turn leads the monitor job to run ad nauseam.As a result, this has led to a
cm_trigger_jobstable that is bloated by 32GB for one of our customers. This led to an outage that required them to increase the size of the frontend database volume and suspend all their code monitors so that thecm_trigger_jobstable could breathe.cm.UpsertLastSearchedWARNINGto EventStatus