Closed Bug 1665691 Opened 6 years ago Closed 5 years ago

Replace kinto-megaphone by sync_megaphone scheduled job

Categories

(Cloud Services :: Server: Remote Settings, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: leplatrem, Assigned: sven)

Details

(Whiteboard: telescope poucave delivery-checks prod remotesettings/push-timestamp)

Requires remote-settings-lambdas@6.1.0

  1. Deploy the scheduled sync_megaphone job with a 5 min frequency (10?)
  2. Remove kinto-megaphone includes and listener from kinto.ini

https://github.com/mozilla-services/cloudops-deployment/blob/b8691ba2b37079fe174195688c2f9de37d589425/projects/kinto/puppet/modules/kinto/templates/kinto.ini.erb#L233-L239

Note: the lambda will be a no-op until the kinto-megaphone listener is removed

Assignee: mathieu → sven

In the old configuration, we limited Megaphone broadcasts to a list of buckets:

kinto.event_listeners.mp.match_kinto_changes = /buckets/main /buckets/blocklists /buckets/security-state /buckets/pinning

As far as I can tell, we don't do that in the lambda anymore. Does this mean we potentially send more broadcasts than we did before?

Flags: needinfo?(mathieu)

As far as I can tell, we don't do that in the lambda anymore. Does this mean we potentially send more broadcasts than we did before?

Very good point!

We won't because I took a different approach, more Remote Settings specific:
https://github.com/mozilla-services/remote-settings-lambdas/blob/master/commands/sync_megaphone.py#L61-L63

Flags: needinfo?(mathieu)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: poucave delivery-checks prod remotesettings/push-timestamp → telescope poucave delivery-checks prod remotesettings/push-timestamp
You need to log in before you can comment on or make changes to this bug.