cds-snc / notification-planning-core

Project planning for GC Notify Core Team
0 stars 0 forks source link

Celery reports errors on duplicate keys instead of warnings #214

Open ben851 opened 8 months ago

ben851 commented 8 months ago

Describe the bug

When duplicate key conditions are encountered in celery. we report this as an error even though this is an expected condition of the system. This causes alerts to erroneously be triggered. Instead, these should be logged as warnings.

Sev3-Minor

To Reproduce

Run perf tests to try and replicate duplicate key scenarios.

Expected behavior

When duplicate key issues are encountered, they should be logged as a warning instead of an error.

Impact

Impact on Notify team:

Increased toil and alert fatigue on notify team