Closed sastels closed 3 weeks ago
PR https://github.com/cds-snc/notification-api/pull/1868
Works locally, needs a good test in staging
@sastels fixed the script to do it in batches and found that 50K was working in staging. To be extra safe, we can size the batch through a command line parameter when executing in production.
@jimleroyer to test with @sastels
@jimleroyer and @sastels to take a look at this this morning.
Describe the bug
the resign_database.py script OOMs the api and celery pods on staging when trying to resign 70K notificaitons.
Bug Severity
See examples in the documentation
SEV-3 in prod
To Reproduce
run the resigning script when there's 70K notifications
Expected behavior
No crashing
Impact
Additional context
https://app.zenhub.com/workspaces/notify-planning-core-6411dfb7c95fb80014e0cab0/issues/gh/cds-snc/notification-planning-core/102