-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area/ysqlYugabyte SQL (YSQL)Yugabyte SQL (YSQL)kind/bugThis issue is a bugThis issue is a bugpriority/mediumMedium priority issueMedium priority issue
Description
Jira Link: DB-20259
Description
In
| YBPrepareCacheRefreshIfNeeded(edata, |
One place where a schema version mismatch is expected is
begin
alter table foo add column x
rollback
In this case, the docdb schema version may change on the rollback without a corresponding PG catalog version change so retrying here would presumably help due to the lines below
else if (need_table_cache_refresh)
{
ereport(LOG,
(errmsg("invalidating table cache entry %s",
table_to_refresh)));
HandleYBStatus(YBCPgInvalidateTableCacheByTableId(table_to_refresh));
So it may be possible to just disable the global version check in this case.
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
- I confirm this issue does not contain any sensitive information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/ysqlYugabyte SQL (YSQL)Yugabyte SQL (YSQL)kind/bugThis issue is a bugThis issue is a bugpriority/mediumMedium priority issueMedium priority issue