Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh cascade:true, concurrently: true refreshes the underlying mat views without concurrency #276

Closed
yonibaciu opened this issue Feb 15, 2019 · 1 comment · Fixed by #288
Assignees

Comments

@yonibaciu
Copy link

yonibaciu commented Feb 15, 2019

Hi,

concurrently:true is not passed down to refresh_dependencies_for which results in depending mat views being refreshed without concurrency.

def refresh_materialized_view(name, concurrently: false, cascade: false)
  raise_unless_materialized_views_supported
  if cascade
    refresh_dependencies_for(name)
  end
  .
  .
end
derekprior added a commit that referenced this issue Feb 2, 2020
Previous to this change, using the cascading refresh behavior did not
also pass through the option to concurrently refresh as one would
expect. This meant that while the named view would be refreshed
concurrently when desired, none of its dependencies would.

Fixes #276
@derekprior
Copy link
Contributor

@yonibaciu - I've opened #288 to fix. Want to give that shot locally to see if it behaves as you would expect?

@derekprior derekprior self-assigned this Feb 2, 2020
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 a pull request may close this issue.

2 participants