Set data_consistency to sticky for AuditEventStreamingWorker
What does this MR do and why?
This MR proposes the use of delayed
(setting to sticky after some discussion) data consistency for the AuditEvents::AuditEventStreamingWorker
. From our logs, this worker does not perform any database writes which means it could potentially read from the replicas and retry if there is replication lag.
See gitlab-com/gl-infra/scalability#1811 (comment 1326928627)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Sylvester Chin