Skip to content

Conversation

@MoralCode
Copy link
Contributor

Description
this change skips scheduling the materialized view refresh task if the config item for it (refresh_materialized_views_interval_in_days) is set to 0

This PR fixes #3331

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
@MoralCode MoralCode added the ready Items tested and seeking additional approvals or a merge. Usually for items under active development label Oct 24, 2025
Copy link
Member

@sgoggins sgoggins left a comment

Choose a reason for hiding this comment

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

LGTM, and kind of urgent for larger instances after talking with @cdolfi this week.

There are some scripts the user can edit to do the rebuild manually, which is what I do. Basically every two weeks i am sure to restart augur, and while I am restarting, the last step BEFORE restarting is run those scripts.

scripts/mat_view_explore ... we should probably provide some instructions as well.

This is just FYI ... but, tl;dr on most systems we need to export PGPASSWORD=whatevaYoPasswordIS ... and edit connect info such as host and port.

@sgoggins sgoggins merged commit b192e4c into main Oct 24, 2025
15 checks passed
@MoralCode MoralCode deleted the disable_mat_views branch October 24, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready Items tested and seeking additional approvals or a merge. Usually for items under active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make materialize view refresh on/off

2 participants