建议使用最新版dolphindb建立高可用流数据表,这个问题就可以解决。之后在文档中会标注可以开启高可用流数据表的最低版本。
使用dolphindb1.30.7版本,在建立高可用流数据表后,节点断开,可手动启用,但建立表不成功是什么原因?
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./dolphindb -home /root/dolphindb/server/data/P3-NODE1 -logFile /root/dolphindb'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000008da027 in RealtimeTable::getKeyColumnIndex(int) const ()
Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7.x86_64 libgcc-4.8.5-36.el7.x86_64
(gdb) bt
#0 0x00000000008da027 in RealtimeTable::getKeyColumnIndex(int) const ()
#1 0x00000000007039b3 in RegisterLogEntry::setTable(SmartPointer<Table> const&) ()
#2 0x000000000070853b in StreamingHA::registerDataFile(std::string const&, SmartPointer<StreamingDataFile> const&, bool) ()
#3 0x0000000000711a9c in StreamingHAManagerImpl::registerStreamTable(int, std::string const&, SmartPointer<Table> const&) ()
#4 0x00000000007ae416 in OperatorImp::haStreamTableInternal(Heap*, std::vector<SmartPointer<Constant>, std::allocator<SmartPointer<Constant> > >&) ()
#5 0x00000000007aedbf in OperatorImp::haStreamTable(Heap*, std::vector<SmartPointer<Constant>, std::allocator<SmartPointer<Constant> > >&) ()
#6 0x00007fb64c31877e in SystemFunction::call(Heap*, std::vector<SmartPointer<Constant>, std::allocator<SmartPointer<Constant> > >&)()
from ./libDolphinDB.so
#7 0x00000000006d9a96 in SessionImp::run(SmartPointer<FunctionDef> const&, std::vector<SmartPointer<Constant>, std::allocator<SmartPointer<Constant> > >&) ()
#8 0x00000000006deeb8 in SessionImp::run(std::string const&, std::vector<SmartPointer<Constant>, std::allocator<SmartPointer<Constant> > >&) ()
#9 0x00000000005e5415 in APISocketConsole::execute() ()
#10 0x00000000005e1491 in SocketConsole::run() ()
#11 0x000000000062989e in Worker::run() ()
#12 0x00007fb64be6b6dc in Runnable::start() ()
from ./libDolphinDB.so
#13 0x00007fb64be6c8a0 in Thread::startFunc(void*) ()
from ./libDolphinDB.so
#14 0x00007fb64b1f5dd5 in start_thread ()
from /lib64/libpthread.so.0
#15 0x00007fb64a2f7ead in clone () from /lib64/libc.so.6