Open SunnySaman opened 9 months ago
我用你的JDBC程序试了一下,并没有复现。是对于JDBC程序运行的时间有要求吗?我看你的JDBC程序是写了死循环一直写的。
有额外的操作吗?建模板之类的。
有模版
有额外的操作吗?建模板之类的。
这是模板
create storage group root.fz4.pv.s_1;
create storage group root.fz4.pv.s_2;
create storage group root.fz4.pv.s_3;
create storage group root.fz4.pv.s_4;
create storage group root.fz4.pv.s_5;
create storage group root.fz4.pv.s_6;
create storage group root.fz4.pv.s_7;
create storage group root.fz4.pv.s_8;
create storage group root.fz4.pv.s_9;
create storage group root.fz4.pv.s_49;
create storage group root.fz4.pv.s_52;
create schema template t4pv aligned (is_alarm boolean encoding=RLE,is_bad boolean encoding=RLE,pv_name text encoding=DICTIONARY,subsystem_id int32 encoding=RLE,equipment_name text encoding=DICTIONARY,pv_type int32 encoding=RLE,io_type int32 encoding=RLE,server_time int64 encoding=RLE,pv_time int64 encoding=RLE,original text encoding=PLAIN,string_value text encoding=DICTIONARY,int_value int32 encoding=RLE,double_value double encoding=GORILLA,boolean_value boolean encoding=RLE,dword_value int64 encoding=RLE,long_value int64 encoding=RLE,station_id int32 encoding=RLE,float_value float encoding=RLE,char_value text encoding=PLAIN,word_value int32 encoding=RLE);
set schema template t4pv to root.fz4.pv.s_1;
set schema template t4pv to root.fz4.pv.s_2;
set schema template t4pv to root.fz4.pv.s_3;
set schema template t4pv to root.fz4.pv.s_4;
set schema template t4pv to root.fz4.pv.s_5;
set schema template t4pv to root.fz4.pv.s_6;
set schema template t4pv to root.fz4.pv.s_7;
set schema template t4pv to root.fz4.pv.s_8;
set schema template t4pv to root.fz4.pv.s_9;
set schema template t4pv to root.fz4.pv.s_49;
set schema template t4pv to root.fz4.pv.s_52;
那是已知问题,不过应该show timeseries是能够查到元数据的,只是select查不到数据,我们会在1.3.1版本里进行修复,修复pr也已经提出,等合入后,也可以自行先打一个包。
show timeseries 模板序列、数据在重启后确实查不到
Search before asking
Version
v1.3.0
Describe the bug and provide the minimal reproduce step
启动方式
先启动 confignode
后启动 datanode
写入数据方式:
通过JDBC写入
../sbin/stop-standalone
方式和systemctl stop iotdb-confignode
、systemctl stop iotdb-datanode
What did you expect to see?
expect : JDBC写入重启可以正常查询到数据
What did you see instead?
怀疑JDBC写入有问题
Anything else?
1
Are you willing to submit a PR?