Closed J1031 closed 1 year ago
根据文档Sharding集群搭建搭建了集群, 使用以下建库语句
CREATE DATABASE mydb_sharding RUN MODE sharding PARAMETERS(replication_factor: 2, assignment_factor: 2);
之后按文档建表, 并插入一条记录
insert into test values(1,2);
查询结果一会能查到, 一会查不到这条记录
sql> select * from test; +----+----+ | F1 | F2 | +----+----+ | 1 | 2 | +----+----+ (1 row, 2 ms) sql> select * from test; +----+----+ | F1 | F2 | +----+----+ | 1 | 2 | +----+----+ (1 row, 2 ms) sql> select * from test; +----+----+ | F1 | F2 | +----+----+ +----+----+ (0 rows, 1 ms) sql> select * from test; +----+----+ | F1 | F2 | +----+----+ | 1 | 2 | +----+----+
应该是个 bug,感谢报告问题。
根据文档Sharding集群搭建搭建了集群, 使用以下建库语句
之后按文档建表, 并插入一条记录
查询结果一会能查到, 一会查不到这条记录