ALTER TABLE `tpch50`.`lineitem` SET TIFLASH REPLICA 1
创建一个复本以后
SELECT COUNT(f.Cost_Price) from fd_goods f GROUP BY f.Drug_Cate;
提示错误
ALTER TABLE tpch50.lineitem SET TIFLASH REPLICA 0
执行完成以后在次创建
ALTER TABLE tpch50.lineitem SET TIFLASH REPLICA 2
还是错误
我昨天重建了tiflash的复本是可以的。但今 天在插入一条数据。在查询就报错了
[2021/01/27 15:17:00.820 +08:00] [INFO] [] [“grpc: /root/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc, line number : 1823, log msg : ipv4:10.3.87.31:58390: Sending goaway err={“created”:”@1611731820.369334191",“description”:“too_many_pings”,“file”:"/root/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc",“file_line”:1842,“http2_error”:11}"] [thread_id=22]
[2021/01/27 15:17:00.820 +08:00] [DEBUG] [] [“grpc: /root/grpc/src/core/lib/iomgr/tcp_posix.cc, line number : 1253, log msg : cannot set inq fd=51 errno=92”] [thread_id=23]
[2021/01/27 15:17:21.841 +08:00] [DEBUG] [] [“SchemaSyncService: Performing GC using safe point 422505648170991616”] [thread_id=17]
[2021/01/27 15:17:21.841 +08:00] [DEBUG] [] [“SchemaSyncService: Performed GC using safe point 422505648170991616”] [thread_id=17]
今天我在tiflash.log看到这样的信息
在tiflash_error.log里没看到今天的错误信息,以前的错误信息有
2021.01.22 13:37:51.166160 [ 18 ] pingcap.tikv: region {8,5,2} find error: peer is not leader for region 8, leader may Some(id: 10 store_id: 4)
2021.01.25 22:46:43.469697 [ 16 ] pingcap.tikv: region {8,5,2} find error: peer is not leader for region 8, leader may Some(id: 11 store_id: 5)