yugabyte/yugabyte-db

[Materialized View] Correct error message on mat view refresh time out

Open

#14,485 opened on Oct 17, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C (1,003 forks)batch import
good first issuekind/bugpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

Jira Link: DB-3879

Description

  • Create a table
  • Create a materialized view
  • Insert data into the table
  • Simulate a scenario in the cluster which can cause the materialize view refresh to time out such as a parallel gflag upgrade, cluster upgrade
  • Refresh the materialized view
cl_db=# refresh materialized view mv_p;
ERROR:  Timed out: Timed out waiting for Alter Table

Issue: Correct the error message to read "Timed out waiting for refresh of materialized view" instead of alter table.

Contributor guide