Skip to content

Conversation

@valentijnscholten
Copy link
Member

Summary

Changes log level from ERROR to DEBUG when pghistory backfill encounters missing event tables during migrations.

Details

Migration 0250 runs before migration 0256 creates tags event tables, causing ERROR logs that are expected and should be DEBUG level.

…vent tables

When migration 0250 runs before migration 0256 creates the tags event tables,
it logs ERROR messages for missing tables. These are expected during migration
sequencing and should be DEBUG level instead.

Changes:
- Update auditlog.py to log at DEBUG level when event tables don't exist
- Update progress_callback functions in migrations 0250 and 0257 to handle DEBUG level
@github-actions github-actions bot added the New Migration Adding a new migration file. Take care when merging. label Jan 22, 2026
@valentijnscholten valentijnscholten added this to the 2.55.0 milestone Jan 22, 2026
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@valentijnscholten valentijnscholten removed the New Migration Adding a new migration file. Take care when merging. label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants