zettadb / kunlun

KunlunBase is a distributed relational database management system(RDBMS) with complete NewSQL capabilities and robust transaction ACID guarantees and is compatible with standard SQL. Applications which used PostgreSQL or MySQL can work with KunlunBase as-is without any code change or rebuild because KunlunBase supports both PostgreSQL and MySQL connection protocols and DML SQL grammars. MySQL DBAs can quickly work on a KunlunBase cluster because we use MySQL as storage nodes of KunlunBase. KunlunBase can elastically scale out as needed, and guarantees transaction ACID under error conditions, and KunlunBase fully passes TPC-C, TPC-H and TPC-DS test suites, so it not only support OLTP workloads but also OLAP workloads. Application developers can use KunlunBase to build IT systems that handles terabytes of data, without any effort on their part to implement data sharding, distributed transaction processing, distributed query processing, crash safety, high availability, strong consistency, horizontal scalability. All these powerful features are provided by KunlunBase. KunlunBase supports powerful and user friendly cluster management, monitor and provision features, can be readily used as DBaaS.
http://www.kunlunbase.com
Apache License 2.0
143 stars 20 forks source link

Boostrap crash for kunlun-server #775

Open jd-zhang opened 2 years ago

jd-zhang commented 2 years ago

Issue migrated from trac ticket # 837

component: computing nodes | priority: major

2022-06-20 09:42:28: zhangjindong@zettadb.com created the issue


error message:

[kunlun@kunlun-test6 onesharddata]$ initdb -D `pwd`/pgdatadir2
The files belonging to this database system will be owned by user "kunlun".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /home/kunlun/onesharddata/pgdatadir2 ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Asia/Shanghai
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... 2022-06-20 09:35:34.991 CST [499912] FATAL:  invalid input syntax for type oid: "text"
2022-06-20 09:35:34.993 CST [499912] PANIC:  cannot abort transaction 1, it was already committed
        backtrace:
        stack_bottom = 0 thread_stack 0x200000
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(get_stacktrace_str+0x4b) [0x9085cf]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(elog_finish+0x1ba) [0xa79aa1]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x5526a4]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x553c47]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(AbortOutOfAnyTransaction+0x6e) [0x5562c8]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0xa8c819]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(shmem_exit+0x7d) [0x8cc128]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x8cc01a]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(proc_exit+0x15) [0x8cbf79]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(errfinish+0x3e1) [0xa773bb]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x9c8272]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(oidin+0x29) [0x9c8447]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(InputFunctionCall+0xdc) [0xa82831]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x9301e1]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(array_in+0x8e2) [0x92ef86]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(InputFunctionCall+0xdc) [0xa82831]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(OidInputFunctionCall+0x3c) [0xa82add]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(InsertOneValue+0xd5) [0x581a3f]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(boot_yyparse+0xe97) [0x57dce2]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x580dbd]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(AuxiliaryProcessMain+0x5b4) [0x580c90]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres(main+0x260) [0x7667e8]
        /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f67ce399493]
        /home/kunlun/oneshardbase/kunlun-server-0.9.2/bin/postgres() [0x4862f9]

child process was terminated by signal 6: Aborted
jd-zhang commented 2 years ago

2022-06-20 15:59:07: smith changed status from assigned to accepted