yugabyte/yugabyte-db

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

Open

#14.485 geöffnet am 17. Okt. 2022

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (1.003 Forks)batch import
good first issuekind/bugpriority/medium

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

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