-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drop and create table then it cause server crash #264
Comments
Please pull new github code to test again. There is a bug when dropping table. It will be fixed soon. Thanks for reporting. |
thanks for your concern. @hzcheng |
we have already fixed, please pull the code and try again |
Sorry, there is still something wrong. ### server log ./taosd -c ../cfg ### client log lua test.lua |
* Fix compilation of taosdump The mode argument must be supplied when O_CREAT or O_TMPFILE is specified in flags for open(...). * Don't SEGFAULT * fix left/bs for release build * Create readme.md * Update pom.xml Change the pom.xml for the JDBC demo project so that users can directly compile and package an executable jar with all the dependencies. * [TBASE-641] * The password is no longer stored in clear text, so you may need to reinstall the database * Fix the bug when the stream calculation error occurs * Fix the syntax error while EPOLLWAKEUP no defined in some systems * Modify the default proportion of the last file * Remove cmake's dependence on CXX * Fix the Issue of taosdata#46, Build source code failure * [modify libtaos.so link] * [modify libtaos.so link] * [modify libtaos.so link] * [modify libtaos.so link] * [modify libtaos.so link] * [modify libtaos.so link] * [modify libtaos.so link] * update an expression * Add make install error handle * Update README.md * Fix shell password issue taosdata#92 * Fix issue taosdata#91, remove assert for illegal filtering conditions * Fix the issue taosdata#99, when the http request is broken, the query does not end normally * Fix the issue taosdata#100, Change keyword stable to STable * Fix the issue taosdata#108, limit does not have effects on the results * Fix the issure taosdata#103, alter table change tag bug * [issue taosdata#102] * [issue taosdata#102] * [issue taosdata#102] * [modify path of libtaos.so] * [modify path of libtaos.so] * [modify path of libtaos.so] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * [Modify the use of sudo commands] * fix issue taosdata#117 * Increase the comparison test between InfluxDB and TDengine * Fix the issue taosdata#120, Set the default listening IP address to 0.0.0.0 * Fix the issue taosdata#121, Output dataDir in the log file * Fix the issure taosdata#118, Change the alter tag value sql syntax * fix issue taosdata#122 * Fix the issure taosdata#126, Taosd may crash while an invalid token input * Fix the issue taosdata#127, Check dead http links and close them * Fix the issue #taosdata#110, unsorted timestamp in one request may cause crash * Fix the issue taosdata#130, reference count may have a problem * Update tsched.c fix buffer overflow and memory leak. * issue taosdata#141, also need to modify the function declaration * Fix issue taosdata#145 * Fix the issue taosdata#148, failed to find the next file when the file id of the vnode is not continuous * Fix the issue taosdata#149, SParsedDataColInfo not initialized * [add sql and csv file for demo] * Fix the issue taosdata#156 * [Add single quotation marks to nchar fields when export to a file] * [modify the path of exec file] * [Support using capitalized by table/db name] * Added nodejs connector and example usage of nodejs * Update README.md * fix taosdata#174 * Updated gitignore and added some documentation and better naming - Using _ to indicate variable/function is private and shouldn't be accessed - Added JSDocs syntax to generate documentation - * More documentation and added node async functionality * [fix db/table name] * Added local documentation files * Updated Readme and fixed foldername * [validate table name when insert] * Fix the issue taosdata#185 * Updated nodejs connector to 1.1.1 Implemented higher level API to make it more modular Using promises and callbacks Argument binding is now available e.g query(select ? from ?).bind("*", "table") * Minor improvement to 'setErrMsg' 1. code like `char msg[] = "xxxxxx"` unnecessarily copied the string to stack, changed to `const char* msg = "xxxxxx"`. 2. the 2rd argument of `setErrMsg` is changed from `char*` to `const char*`. 3. the 3rd argument of `setErrMsg` is removed as `strncpy` stops copying at the end of source string. * Documentation Update * remove duplicate include in trpc.c * Windows client, taosdata#51 taosdata#38 taosdata#32 taosdata#12 * Windows client * Grammar and typo fixes. Updated some docs * Headings fix for connector docs * fix issue taosdata#206 * Add initial driver connector for rust * Fix the #issue 217 * update the example code of stream.c * Fix the #issue 220, TDengine can't start when /var/lib/taos does not exist * [modify timestamp] * [modify timestamp] * Docs Update; Completed async functionality for Node.js connector, updated to 1.2.0 Docs - Docs updated - include third party connectors links - local docs updated to web versions and fixed for compatability Node - Async added - Deleted uncessary code - Docs updated * Fix the issue taosdata#222, add win64 python connector * Fix the issue taosdata#222, add win64 python connector * Update cinterface.js removed broken code * Update readme.md * fix the issue taosdata#233, failed to record slow query * fix the issue taosdata#233, failed to record slow query * fix the issue taosdata#233, failed to record slow query * Node updated to 1.2.1 Bug fix * Fix the issue taosdata#222 * fix python close connection error * fix the issue taosdata#240 * fix the issue taosdata#240 * update README * Update README for building error: No CMAKE_CXX_COMPILER could be found * delete unused taosTmrStop * [Fixed dsn parsing for network addr and port by caeret. taosdata#214] * remove some compile warnings * add -g option to CMakeList.txt * fix possible commit log init failure * data transfer via restful interface may be lost * data transfer via restful interface may be lost * [no remove config, data, log files] * Uploaded markdown docs for testing syncing with web docs * Fixed typos - Web docs sync test 1 * Update Connector.md * Update connector-ch.md * Websync test 4 * [rust connector] support subscribe * remove useless files * fix typo in JDBC demo code * Update advanced features-ch.md taosdata#250 * fix the issue taosdata#264 taosdata#253 taosdata#251 * fix the issue taosdata#264 taosdata#253 taosdata#251 * import data may cause database blocking * Update CONTRIBUTING.md * remove some warnings * add command size check when source file * Fix issue taosdata#270
I delete all data and reinstall packages to run lua connector. Anyway server doesn't crash any more. Issue is closed for the moment. |
### server log:
08/02 15:10:55.710465 7f62e74ddb80 UTL timezone not configured, set to system default: (CST, +0800)
08/02 15:10:55.710548 7f62e74ddb80 UTL locale not configured, set to system default:en_US.UTF-8
08/02 15:10:55.710584 7f62e74ddb80 UTL charset not configured, set to system default:UTF-8
08/02 15:10:55.710737 7f62e74ddb80 UTL taos config & system info:
08/02 15:10:55.710745 7f62e74ddb80 UTL ==================================
08/02 15:10:55.710752 7f62e74ddb80 UTL internalIp: 10.136.198.240
08/02 15:10:55.710759 7f62e74ddb80 UTL serverIp: 0.0.0.0
08/02 15:10:55.710767 7f62e74ddb80 UTL localIp: 0.0.0.0
08/02 15:10:55.710783 7f62e74ddb80 UTL httpIp: 0.0.0.0
08/02 15:10:55.710797 7f62e74ddb80 UTL httpPort: 6020
08/02 15:10:55.710813 7f62e74ddb80 UTL mgmtShellPort: 6030
08/02 15:10:55.710827 7f62e74ddb80 UTL vnodeShellPort: 6035
08/02 15:10:55.710843 7f62e74ddb80 UTL configDir: ../cfg
08/02 15:10:55.710852 7f62e74ddb80 UTL dataDir: /var/lib/taos
08/02 15:10:55.710858 7f62e74ddb80 UTL logDir: /var/log/taos
08/02 15:10:55.710868 7f62e74ddb80 UTL scriptDir: /etc/taos
08/02 15:10:55.710873 7f62e74ddb80 UTL numOfThreadsPerCore: 1.000000
08/02 15:10:55.710883 7f62e74ddb80 UTL ratioOfQueryThreads: 0.500000
08/02 15:10:55.710892 7f62e74ddb80 UTL numOfVnodesPerCore: 8
08/02 15:10:55.710897 7f62e74ddb80 UTL numOfTotalVnodes: 0
08/02 15:10:55.710904 7f62e74ddb80 UTL tables: 1000
08/02 15:10:55.710910 7f62e74ddb80 UTL cache: 16384(byte)
08/02 15:10:55.710917 7f62e74ddb80 UTL rows: 4096
08/02 15:10:55.710922 7f62e74ddb80 UTL fileBlockMinPercent: 0.050000
08/02 15:10:55.710930 7f62e74ddb80 UTL ablocks: 4
08/02 15:10:55.710938 7f62e74ddb80 UTL tblocks: 100
08/02 15:10:55.710947 7f62e74ddb80 UTL monitorInterval: 30(s)
08/02 15:10:55.710957 7f62e74ddb80 UTL rpcTimer: 300(ms)
08/02 15:10:55.710965 7f62e74ddb80 UTL rpcMaxTime: 600(s)
08/02 15:10:55.710970 7f62e74ddb80 UTL ctime: 3600(s)
08/02 15:10:55.710974 7f62e74ddb80 UTL statusInterval: 1(s)
08/02 15:10:55.710978 7f62e74ddb80 UTL shellActivityTimer: 3(s)
08/02 15:10:55.710985 7f62e74ddb80 UTL meterMetaKeepTimer: 7200(s)
08/02 15:10:55.710992 7f62e74ddb80 UTL metricMetaKeepTimer: 600(s)
08/02 15:10:55.711000 7f62e74ddb80 UTL maxUsers: 1000
08/02 15:10:55.711005 7f62e74ddb80 UTL maxDbs: 1000
08/02 15:10:55.711010 7f62e74ddb80 UTL maxTables: 650000
08/02 15:10:55.711016 7f62e74ddb80 UTL maxVGroups: 1000
08/02 15:10:55.711021 7f62e74ddb80 UTL minSlidingTime: 10(ms)
08/02 15:10:55.711027 7f62e74ddb80 UTL minIntervalTime: 10(ms)
08/02 15:10:55.711031 7f62e74ddb80 UTL maxStreamCompDelay: 20000(ms)
08/02 15:10:55.711037 7f62e74ddb80 UTL maxFirstStreamCompDelay:10000(ms)
08/02 15:10:55.711042 7f62e74ddb80 UTL retryStreamCompDelay: 10(ms)
08/02 15:10:55.711045 7f62e74ddb80 UTL clog: 1
08/02 15:10:55.711048 7f62e74ddb80 UTL comp: 2
08/02 15:10:55.711056 7f62e74ddb80 UTL days: 10
08/02 15:10:55.711061 7f62e74ddb80 UTL keep: 3650
08/02 15:10:55.711068 7f62e74ddb80 UTL defaultDB:
08/02 15:10:55.711077 7f62e74ddb80 UTL defaultUser: root
08/02 15:10:55.711083 7f62e74ddb80 UTL defaultPass: taosdata
08/02 15:10:55.711089 7f62e74ddb80 UTL timezone: (CST, +0800)
08/02 15:10:55.711097 7f62e74ddb80 UTL locale: en_US.UTF-8
08/02 15:10:55.711105 7f62e74ddb80 UTL charset: UTF-8
08/02 15:10:55.711110 7f62e74ddb80 UTL maxShellConns: 2000
08/02 15:10:55.711115 7f62e74ddb80 UTL maxMeterConnections: 10000
08/02 15:10:55.711121 7f62e74ddb80 UTL maxMgmtConnections: 2000
08/02 15:10:55.711126 7f62e74ddb80 UTL maxVnodeConnections: 10000
08/02 15:10:55.711132 7f62e74ddb80 UTL enableHttp: 1
08/02 15:10:55.711137 7f62e74ddb80 UTL enableMonitor: 1
08/02 15:10:55.711140 7f62e74ddb80 UTL httpCacheSessions: 2000
08/02 15:10:55.711145 7f62e74ddb80 UTL httpMaxThreads: 2
08/02 15:10:55.711150 7f62e74ddb80 UTL numOfLogLines: 10000000
08/02 15:10:55.711158 7f62e74ddb80 UTL asyncLog: 1
08/02 15:10:55.711164 7f62e74ddb80 UTL debugFlag: 131
08/02 15:10:55.711169 7f62e74ddb80 UTL mDebugFlag: 135
08/02 15:10:55.711178 7f62e74ddb80 UTL dDebugFlag: 131
08/02 15:10:55.711184 7f62e74ddb80 UTL sdbDebugFlag: 135
08/02 15:10:55.711191 7f62e74ddb80 UTL taosDebugFlag: 131
08/02 15:10:55.711198 7f62e74ddb80 UTL tmrDebugFlag: 131
08/02 15:10:55.711205 7f62e74ddb80 UTL cDebugFlag: 131
08/02 15:10:55.711212 7f62e74ddb80 UTL jniDebugFlag: 131
08/02 15:10:55.711219 7f62e74ddb80 UTL odbcDebugFlag: 131
08/02 15:10:55.711224 7f62e74ddb80 UTL uDebugFlag: 131
08/02 15:10:55.711231 7f62e74ddb80 UTL httpDebugFlag: 131
08/02 15:10:55.711238 7f62e74ddb80 UTL monitorDebugFlag: 131
08/02 15:10:55.711245 7f62e74ddb80 UTL qDebugFlag: 131
08/02 15:10:55.711252 7f62e74ddb80 UTL gitinfo: ddcb2519e895c2e2101089aedaf529cee5cefe04
08/02 15:10:55.711258 7f62e74ddb80 UTL buildinfo: Built by plum at 2019-07-29 10:41
08/02 15:10:55.711264 7f62e74ddb80 UTL version: 1.6.1.2
08/02 15:10:55.711269 7f62e74ddb80 UTL dataDir: /var/lib/taos
08/02 15:10:55.711278 7f62e74ddb80 UTL os pageSize: 4096(KB)
08/02 15:10:55.711287 7f62e74ddb80 UTL os openMax: 1024
08/02 15:10:55.711296 7f62e74ddb80 UTL os streamMax: 16
08/02 15:10:55.711304 7f62e74ddb80 UTL os numOfCores: 4
08/02 15:10:55.711313 7f62e74ddb80 UTL os totalDisk: 48(GB)
08/02 15:10:55.711320 7f62e74ddb80 UTL os totalMemory: 7737(MB)
08/02 15:10:55.711331 7f62e74ddb80 UTL os sysname: Linux
08/02 15:10:55.711338 7f62e74ddb80 UTL os nodename: localhost.localdomain
08/02 15:10:55.711345 7f62e74ddb80 UTL os release: 4.19.6-300.fc29.x86_64
08/02 15:10:55.711352 7f62e74ddb80 UTL os version: #1 SMP Sun Dec 2 17:33:14 UTC 2018
08/02 15:10:55.711359 7f62e74ddb80 UTL os machine: x86_64
08/02 15:10:55.711366 7f62e74ddb80 UTL ==================================
08/02 15:10:55.711373 7f62e74ddb80 DND Server IP address is:10.136.198.240
08/02 15:10:55.711381 7f62e74ddb80 DND starting to initialize TDengine engine ...
08/02 15:10:55.719068 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:-1397227520 contLen:3162488 action:1
08/02 15:10:55.719098 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:16461 contLen:0 action:0
08/02 15:10:55.719121 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:-872415232 contLen:54015 action:0
08/02 15:10:55.719130 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:16777216 contLen:-567456912 action:0
08/02 15:10:55.719139 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:1082726359 contLen:4 action:28
08/02 15:10:55.719147 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:7737 contLen:1098427576 action:0
08/02 15:10:55.719155 7f62e74ddb80 ERROR DND vid, invalid commit head, sid:1078808577 contLen:0 action:48
08/02 15:10:55.721328 7f62e74ddb80 DND vnode is initialized successfully
08/02 15:10:55.721360 7f62e74ddb80 MND starting to initialize TDengine mgmt ...
08/02 15:10:55.722115 7f62e74ddb80 MND first access, set total vnodes:50
08/02 15:10:55.785588 7f62e74ddb80 MND TDengine mgmt is initialized successfully
08/02 15:10:55.785601 7f62e74ddb80 HTP starting to initialize http service ...
08/02 15:10:55.785940 7f62e74ddb80 DND TDengine is initialized successfully
08/02 15:10:55.786006 7f62c0d19700 HTP http service init success at ip:0.0.0.0:6020
08/02 15:10:55.922183 7f62d3fff700 MON starting to initialize monitor service ..
08/02 15:10:55.922430 7f62c56c1700 MND user:monitor login from 127.0.0.1, code:0
08/02 15:10:55.922964 7f62d9c46700 MON dnode:10.136.198.240 is started
08/02 15:10:55.923546 7f62d9c46700 MON monitor service init success
08/02 15:10:56.327178 7f62d3fff700 ERROR MND vgroup:3 is not there, but associated with vnode 2
08/02 15:10:57.527188 7f62d3fff700 ERROR MND vgroup:3 is not there, but associated with vnode 2
08/02 15:10:58.727199 7f62d3fff700 ERROR MND vgroup:3 is not there, but associated with vnode 2
08/02 15:10:59.927207 7f62d3fff700 ERROR MND vgroup:3 is not there, but associated with vnode 2
08/02 15:11:01.127209 7f62d3fff700 ERROR MND vgroup:3 is not there, but associated with vnode 2
08/02 15:11:01.520372 7f62c56c1700 MND user:root login from 127.0.0.1, code:0
08/02 15:11:01.520656 7f62c46bf700 MND db:0.demo all vnodes drop finished
08/02 15:11:01.520708 7f62c46bf700 MND db:0.demo all meters drop finished
08/02 15:11:01.520734 7f62c46bf700 MND db:0.demo database drop finished
Segmentation fault (core dumped)
### client log
./demo 127.0.0.1
success to connect to server
failed to create database, reason:failed to connect to server
In fact I was testing my lua connector. While I followed demo instructions in C demo I got some error, then tried to restore db by C demo. Finally db is out of control.
The text was updated successfully, but these errors were encountered: