glaredb icon indicating copy to clipboard operation
glaredb copied to clipboard

catalog is out of sync across multiple sessions

Open universalmind303 opened this issue 1 year ago • 1 comments

Description

open 2 sessions at the same time

# terminal 1 
glaredb local -l .db

# terminal 2
glaredb local -l .db
# terminal 1 
> create table t1 (a int, b int);
Table created

# terminal 2
> select * from t1;
Error: Error during planning: Unable to fetch table provider for 't1': failed to resolve: failed to find table: t1

universalmind303 avatar Jan 11 '24 20:01 universalmind303

note: it works it i set force_refresh to true SET force_catalog_refresh TO true;, but I'd expect this to work by default.

universalmind303 avatar Jan 11 '24 21:01 universalmind303