mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* migrate system-test/2-query * revert file * update case.task * resolve script migrate * run new test framework on new_testcases * migrate system-test/2-query * format docstring * fix test validation * fix test validation * fix error * migrate army case * migrate army case * fix error * migrate system-test/2-query * migrate system-test/2-query * migrate system-test/2-query * migrate system-test/2-query * test exe time * fix ci error * migrate system-test/1-insert * new common function * migrate system-test/1-insert * fix ci error * migrate system-test/1-insert * feat: add configuration and script for memory allocator settings * fix: correct HEAPPROFILE path and remove redundant metadata_thp setting in memory allocator script * fix ci error * migrate system-test/1-insert, 2-query * feat:insert into subquery (#31401) (#31710) * migrate system-test/99-TDcase * feat(gpt): add grant check for gpt. (#31708) * migrate system-test/99-TDcase * migrate system-test/99-TDcase * migrate system-test/99-TDcase * fix/send-heartbeat-statis (#31680) * migrate system-test/7-tmq * chore: support cmake option TAOSWS_GIT_TAG like taosadapter [skip ci] (#31486) * add system-test/6/cluster test * chore: move default branch from main to 3.3.6 for adapter/taosws * fix docstring validation * migrate system-test/7-tmq * migrate system-test/7-tmq * feat: add set_taos_malloc_env configuration and update related scripts * Update 03-kubernetes.md * enh: add log for snapshot (#31681) * simple test * more * migrate system-test/7-tmq * migrate system-test 0-others cases * migrate system-test/7-tmq * fix docstring validation * migrate system-test/7-tmq * fix docstring validation * fix: invalid queue * fix docstring validation * refactor: reorganize memory allocator script constants and improve mode descriptions * enh: TD-36324-improve-sync-heartbeat-log (#31727) * recover log level * fix: taosd crush in query when insufficient memory (#31746) Co-authored-by: Tony Zhang <tonyzhang@taosdata.com> * fix: overflow check in snprintf (#31780) * migrate system-test/7-tmq * migrate some cases * migrate system-test/7-tmq * fix failed cases * fix failed cases * migrate some cases * fix failed cases * fix failed cases * migrate testcases * fix: update environment file path in taosd.service and adjust set_taos_malloc.sh configuration * fix: set lcn before do s3 migrate. (#31782) * migrate testcases * fix failed cases * fix: add condition to set default malloc config for taosd service * fix: update usage message in set_taos_malloc.sh to include quiet mode option * fix: add quiet mode option to set malloc config in install script * fix: update set_taos_malloc.sh to improve output messages and adjust default malloc config invocation * recover log level * fix(tmq): [TS-6569]tdb error if write tmq meta data in multi thread (#31808) * fix: the calculation of dnode uptime (#31832) * migrate testcase * fix: correct timediff function bug and redress docs (#31798) * fix: enhance malloc configuration for taosd and taosadapter in install script * fix: TD-36442 show full condition (#31796) * enh/TD-36466-sync-heartbeat (#31805) * fix(plan) virtual table support BI moudle when use in select (#31787) * fix failed cases * enh: TS-5926-force-repair-wal (#31828) * migrate testcase * rename taos & taosd (#31855) * migrate testcase * migrate testcase * fix failed cases * fix: update environment file paths in taosd.service and set_taos_malloc.sh * feat: add performance tuning documentation for memory optimization and set_taos_malloc.sh usage * fix: update file paths in performance tuning documentation for consistency * feat: add performance tuning documentation for memory allocator configuration script * fix: add missing line breaks for improved readability in performance tuning documentation * fix: adjust heading levels for consistency in performance tuning documentation * fix cases * fix new_testcases * fix failed cases * fix(query): support show tags on virtual table (#31831) * fix failed cases * docs: replace mysql screenshot (#31888) * feat: use the new TDengine product name (#31859) * merge 3.0 * fix failed cases * fix failed cases * merge 3.0 * fix cases * fix cases * doc: Update 03-stream.md (#31675) * chore(deps): bump requests from 2.27.1 to 2.32.4 in /test (#31326) Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.32.4. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.32.4) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix new cases * fix:Convert line endings from LF to CRLF for ans file * build(deps): bump golang.org/x/net in /tools/keeper (#30811) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0. - [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.38.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump urllib3 from 1.26.20 to 2.5.0 in /test (#31414) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.20 to 2.5.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.20...2.5.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.5.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump org.apache.tomcat.embed:tomcat-embed-core (#31392) Bumps org.apache.tomcat.embed:tomcat-embed-core from 9.0.104 to 9.0.106. --- updated-dependencies: - dependency-name: org.apache.tomcat.embed:tomcat-embed-core dependency-version: 9.0.106 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump org.apache.tomcat.embed:tomcat-embed-core (#31393) Bumps org.apache.tomcat.embed:tomcat-embed-core from 9.0.104 to 9.0.106. --- updated-dependencies: - dependency-name: org.apache.tomcat.embed:tomcat-embed-core dependency-version: 9.0.106 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump org.apache.kafka:kafka-clients (#31341) Bumps org.apache.kafka:kafka-clients from 3.9.0 to 3.9.1. --- updated-dependencies: - dependency-name: org.apache.kafka:kafka-clients dependency-version: 3.9.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: add lock when calculating log buffer start/end (#31883) * fix new cases * fix new cases * fix failed cases * feat: new stream (#31678) * fix: windows compile issue * test: add vtable cases (#31829) * fix: windows compile issues * test:add test cases * fix: windows compile issue * case: em-4 stream case submit * test: stream4_sub1 found bug2 * test: submit test_scene_meters_bug2.py * add stream parameters example * feat: [TS-6100] Do not translate const value as column. * Feat/ts 6100 3.0 zlv (#31747) * modify asan exampel * modify asan exampel * add example * add example * modify case example --------- Co-authored-by: zelv01 <1101510017@qq.com> * feat(stream): fix memory leak * modify sliding example * test: update test case. * feat(stream): fix conflicts * fix: add offset case 10a 10s 10m 10h 10d * feat(stream): fix conflicts * chore(stream): rename case name #TS-6100 * add case * modify example * fix: windows compile issues * fix: data null check * feat: [TS-6100] Forbid where when using %%trows (#31827) * feat: [TS-6100] Forbid where when using %%trows * test: update cases * feat: [TS-6100] Fix leaks. --------- Co-authored-by: Simon Guan <guanshengliang@qq.com> * test: reproduce bugs * test: update test case. * test: update test case. * feat: [TS-6100] Fix leaks. * test: add cases * Feat/ts 6100 3.0.pw10 (#31841) * enh: add operator reset func * fix: merge join reset issue * fix: memory issues * fix: add debug assert * fix: memory issues * fix: memory leak * fix: memory issues * fix taos log miss * fix: case issue * fix: case issue * fix: case issues * fix: drop dnode issue * fix: memory issues * fix: memory issues * fix: memory leak issues * fix: recalculate time range issue * fix: add debug log * fix: memory issues * fix: enable case asan * Update streamlist_for_ci.task * fix: case asan issue * fix: stream name issue * fix: external window compile issues * fix: deploy memory issue * fix: ahandle issue * fix: ahandle issue * fix: ahandle issue * fix: virtual table reader list issue * fix: log info * fix: msg error * fix: virtual table addr list issue * fix: memory issues * fix: memory leak issue * fix: memory issues * fix: memory free issues * fix: memory issues * fix: snode deploy issue * fix: mnode reader issue * fix: memory issues * fix: add debug test * enh: add ignore nodata trigger * fix: memory leaks * fix: configuration issue * fix: memory issue * fix: external window issue * fix: external window issues * fix: external window placeholder issue * fix: placeholder function init issues * fix: memory leak issue * fix: add debug log * fix: compile issues * fix: double free issue * fix: runner addr update issue * fix: msg rsp issue * fix: external window reset issue * fix: configuration issue * fix: deploy msg issue * fix: compile issue --------- Co-authored-by: huohong <sallyhuo@taosdata.com> * test: reproduce bugs * fix: add sliding interval combine case * test: add cases * test: add recalc test. * test: reproduce bugs * case : add vt ts is null check * modify case * bug: submit test_idmp_meters_bug3.py * test: add test for recalc. * test: add cases * fix: error code check * test: add cases * fix(stream): scan wal with schema in that version * add case * test: add cases * test: update test case. * fix: windows compile issues * add case * test: add cases (#31845) * modify case * fix: reset interpPrev * test: add test_idmp_meters bug4 and bug3 * add case * fix(stream): opti wal interface * fix: remove test_idmp_meters_bug5.py * test: add cases * fix(stream): fix ts data fetch for virtual tables * cancel asan case * test: update test case. * test: update test case. * add case * test: add cases * test: add cases * test: add case test_idmp_meters_bug5.py * test: update test case. * fix(stream): tmq error * test: add cases * feat: [TS-6100] Restore deleted code in mndSma.c since they are still in use. * fix(stream): optimize val scan logic * test: add test_recalc_expired_time.py to ci. * test: update test case. * test: update test case. * feat: [TS-6100] Fix fill range check * fix(stream): optimize val scan logic * add case * test: modify for partition by %%1 * test: add fun case stream4_sub7 * fix(stream): optimize val scan logic * add case * feat: [TS-6100] Rename OPTIONS to STREAM_OPTIONS. * test: add test for recalc. * test: use stream_options. * fix: some cases error. * test: remove recalc from ci. * fix: ci case issues (#31880) * enh: add operator reset func * fix: merge join reset issue * fix: memory issues * fix: add debug assert * fix: memory issues * fix: memory leak * fix: memory issues * fix taos log miss * fix: case issue * fix: case issue * fix: case issues * fix: drop dnode issue * fix: memory issues * fix: memory issues * fix: memory leak issues * fix: recalculate time range issue * fix: add debug log * fix: memory issues * fix: enable case asan * Update streamlist_for_ci.task * fix: case asan issue * fix: stream name issue * fix: external window compile issues * fix: deploy memory issue * fix: ahandle issue * fix: ahandle issue * fix: ahandle issue * fix: virtual table reader list issue * fix: log info * fix: msg error * fix: virtual table addr list issue * fix: memory issues * fix: memory leak issue * fix: memory issues * fix: memory free issues * fix: memory issues * fix: snode deploy issue * fix: mnode reader issue * fix: memory issues * fix: add debug test * enh: add ignore nodata trigger * fix: memory leaks * fix: configuration issue * fix: memory issue * fix: external window issue * fix: external window issues * fix: external window placeholder issue * fix: placeholder function init issues * fix: memory leak issue * fix: add debug log * fix: compile issues * fix: double free issue * fix: runner addr update issue * fix: msg rsp issue * fix: external window reset issue * fix: configuration issue * fix: deploy msg issue * fix: compile issue * fix: external window idx issue * fix: ci issues --------- Co-authored-by: huohong <sallyhuo@taosdata.com> * fix(stream): fix compilation error * fix(stream): optimize val scan logic * test:add test cases * test: modify case * fix: external agg error * test(stream): tobacco scene testing #TD-36514 * test: add stream cases (#31885) * fix: windows compile issue * fix: calc timerange * fix: windows compile issue * modify case * fix(stream): compile error * test: remove one debug test case file * test: modify * test: add test cases * test: reproduce bugs * test: reproduce bugs * feat: [TS-6100] Placeholder function should only appera in SELECT and… (#31868) * feat: [TS-6100] Placeholder function should only appera in SELECT and WHERE and FROM. * test: update case --------- Co-authored-by: Simon Guan <guanshengliang@qq.com> * add example * add example * modify case example * modify case * test:alter sql * test: add stream5 case * fix(stream): get schema error with version * test: add delete recalc test py. * test: remove bug cases * test: stream5 case test passed * test: add state cases (#31893) * fix(stream): compile error * test: modify case * test: add cases * test: add test. * test: update test case. * chore(test): fix case err * test: update test case. * fix: align data get * fix(stream): fix row index of datablock written into data cache * fix: put align data * test: update test case. * test: add test cases for virtual table * chore(test): fix case err #TD-36514 * add case * test: add test for water mark. * test: add meters bug6 for stream5 * test: add cases (#31903) * test: add test for recalc. * feat: [TS-6100] %%trows can only be used when event type is window close. * test: add precision of database for ms/us/ns * modify case * add case * add case * test: add test to ci. * modify case * fix: ci case issues (#31904) * enh: add operator reset func * fix: merge join reset issue * fix: memory issues * fix: add debug assert * fix: memory issues * fix: memory leak * fix: memory issues * fix taos log miss * fix: case issue * fix: case issue * fix: case issues * fix: drop dnode issue * fix: memory issues * fix: memory issues * fix: memory leak issues * fix: recalculate time range issue * fix: add debug log * fix: memory issues * fix: enable case asan * Update streamlist_for_ci.task * fix: case asan issue * fix: stream name issue * fix: external window compile issues * fix: deploy memory issue * fix: ahandle issue * fix: ahandle issue * fix: ahandle issue * fix: virtual table reader list issue * fix: log info * fix: msg error * fix: virtual table addr list issue * fix: memory issues * fix: memory leak issue * fix: memory issues * fix: memory free issues * fix: memory issues * fix: snode deploy issue * fix: mnode reader issue * fix: memory issues * fix: add debug test * enh: add ignore nodata trigger * fix: memory leaks * fix: configuration issue * fix: memory issue * fix: external window issue * fix: external window issues * fix: external window placeholder issue * fix: placeholder function init issues * fix: memory leak issue * fix: add debug log * fix: compile issues * fix: double free issue * fix: runner addr update issue * fix: msg rsp issue * fix: external window reset issue * fix: configuration issue * fix: deploy msg issue * fix: compile issue * fix: external window idx issue * fix: ci issues * fix: ci case issues * fix: drop dnode issue --------- Co-authored-by: huohong <sallyhuo@taosdata.com> * fix(stream): ci error * test: update test case. * feat: [TS-6100] Disable some failed UT. * feat: [TS-6100] Fix virtual table * test: add bug 5. * test: add test delete recalc to ci. * test: add bug 6. * test(stream): tobacco scene #TD-36514 * fix: reqCids,reqCols memory leak in SSTriggerRealtimeContext Co-authored-by: Tony Zhang <tonyzhang@taosdata.com> * test: add case stream6 * fix(stream): implement some pending features in trigger task * modify case * modify case * fix: case issues * modify case * test: add recalc for warter mark. * fix(stream): fix count window trigger of virtual tables * fix(stream): memory leak * test: fix run err. * test: add stream6 bug7 * fix: adjust format * test(stream): tobacco scene testing #TD-36514 * test: change bug7 with update window1 and 2 * test: add test bug 7. * case: restore write 3 window * fix: windows compile issue * fix: notify * test: add cases * modify case * test: update test case. * test(stream): toobacco scene testing #TD-36514 --------- Co-authored-by: Simon Guan <slguan@taosdata.com> Co-authored-by: plum-lihui <huili@taosdata.com> Co-authored-by: Alex Duan <417921451@qq.com> Co-authored-by: zelv01 <1101510017@qq.com> Co-authored-by: Jing Sima <simondominic9997@outlook.com> Co-authored-by: xiangyang guo <66111494+happyguoxy@users.noreply.github.com> Co-authored-by: wangmm0220 <wangmm0220@gmail.com> Co-authored-by: Haojun Liao <hjliao@taosdata.com> Co-authored-by: zyyang90 <zyyang@taosdata.com> Co-authored-by: Alex Duan <51781608+DuanKuanJun@users.noreply.github.com> Co-authored-by: facetosea <285808407@qq.com> Co-authored-by: Simon Guan <guanshengliang@qq.com> Co-authored-by: huohong <sallyhuo@taosdata.com> Co-authored-by: Li Hui <52318143+plum-lihui@users.noreply.github.com> Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com> Co-authored-by: xiao-77 <berylbao@taosdata.com> Co-authored-by: Zhixiao Bao <62235797+xiao-77@users.noreply.github.com> Co-authored-by: happyguoxy <happy_guoxy@163.com> Co-authored-by: Tony Zhang <34825804+Tony2h@users.noreply.github.com> Co-authored-by: Tony Zhang <tonyzhang@taosdata.com> * test: rename TSDB * docs: fix rust examples (#31908) * docs: modify rust native test case * docs: modify rust ws test case * docs: modify rust examples * docs: update rust pool docs * fix new cases * migrate test case * feat: support reading sub table names and tag values from CSV files to create sub tables (#31909) * feat: add obtaining table names from tag files * feat: add write data table control * feat: add table params to write * feat: delete log file * feat: modify test case csv path * feat: resolve memory leakage in the table building thread * feat: resolve compilation errors * feat: resolve table name copy len error * feat: modify create table log level * feat: modifying query configuration parameter array out of bounds * feat: support custom primary key names * feat: modify log level * feat: add set primary key name case * feat: add column keywords case * feat: add keywords case data * feat: modify primaryKeyName value len * feat: modify primaryKeyName value define * feat: modify primaryKeyName value size * fix: compile issue (#31943) Co-authored-by: taos-support <it@taosdata.com> * package: fix error * package: fix error * fix failed cases * merge 3.0 * rename create_table_keywords.py to test_create_table_keywords.py * fix failed cases * fix new cases * docs: update stream (#31957) * docs: update jdbc out-dated descripiton (#31959) * fix: TD-36560 refactor arbitrator group function name and log (#31852) * feat: support BLOB data type (#31704) * rename 0-others/mounts.py to 0-others/test_mounts.py * fix failed cases * docs: update gpt (#31975) * fix failed cases * fix failed cases * package: fix error * feat: add taosBenchmark command line parameters (#31967) * feat: add command line parameters * feat: add command line parameter test cases * fix: tableName len error * enh: set TD Release build in tdengine-build.yml * Update tdengine-build.yml * fix: add json file path log * fix: streamline TD_CONFIG export in build steps * fix: Restore the build configuration --------- Co-authored-by: haoranchen <haoran920c@163.com> * fix: tableName len error (#31977) * fix: tableName len error * fix: modify TD_CONFIG=Release * fix: code format * fix: Restore the build configuration * enh: set TD Release build in tdengine-build.yml (#31980) * enh: set TD Release build in tdengine-build.yml * Update tdengine-build.yml * fix: update cache key for externals to include debug build version * fix: remove verbose flag from build commands in tdengine-build.yml * skip memleak cases * fix failed case * fix failed cases * package: fix error * fix(stmt2):tbname error output (#31997) * fix: possible memory leak (#31972) * feat: create connect add dbname params (#32002) * feat: create connect add dbname params * fix: connect param error * skip failed cases * fix cases on windows * fix cases * support connect bi mode and fix log level * unique sql connect username and password * fix log level * enh: mounted vnode may have no tq (#31916) * fix: subquery memleak (#32024) * fix failed case * fix cases * rename 2-query/test_insert_select.py to 2-query/test_system_insert_select.py * skip memleak cases * enh: rename data forecast/detect to forecasting/anomaly detection (#32021) * package: unique product name * package: update for main * skip tsim cases * chore: update jdbc connection pool validation query sql (#32056) * refactor: quotes usage in bash scripts Signed-off-by: WANG Xu <feici02@outlook.com> * enhn(mqtt/rawblock): new format for msg payload (#31801) * fix: fix broken link in 14-stream.md * docs: 15-spark.md is missing end semicolon (#32068) * chore: bump dev version to 3.3.7.0.alpha (#32066) * fix: blob test (#32020) * fix blob query error * fix blob query error * fix blob query error * fix blob query error * fix blob query error * opt query * opt write * opt write * opt write * opt bse * opt write * opt write * opt write * opt write * opt write * opt write * opt write * opt write * opt write * opt write * opt write * opt write * opt write * add cache * opt query * opt query * opt bse * add data iter * add data iter * add more compress * add more compress * add more compress * add more compress * add more compress * add more compress * opt blob transfer * opt blob transfer * opt blob transfer * opt write * avoid unordered data write * avoid unordered data write * opt read * refactor log * fix invalid write * refactor code * fix merge error * fix merge error * add error code * support blob type len * support blob type len * support blob type len * support blob type len * support blob type len * support blob type len * support blob type len * support blob type len * support blob type len * support blob type len * Merge remote-tracking branch 'origin/3.0' into enh/blob * refactor code * support blob type len * refactor code * refactor code * benchmark support blob type * benchmark support blob type * add log * handle sort and merge row * change file set * change file set * change file set * change file set * change file set * change file set * change file set * opt code * opt read * add restart error and add unit test * add restart error and add unit test * add restart error and add unit test * add restart error and add unit test * add restart error and add unit test * refactor code * add restart error and add unit test * opt code * refactor code * fix invalid write * blob test * blob test * blob test * blob test * blob test * support blob * add str trim * add str trim * Merge remote-tracking branch 'origin/3.0' into feat/blob * Merge remote-tracking branch 'origin/3.0' into feat/blob * update test case * fix invalid read * fix invalid read * fix invalid read * add stmt2 * add stmt2 * add stmt2 * update parameter * refactor test case * refactor test case * support blob * support stmt2 * add sub * support blob * support blob * support sub * fix tmq crash * support windows/darwin * fix stmt2 bind row * fix blob crash * fix blob crash * fix blob query error * fix blob crash * fix merge error * refactor bse * add blob transfer * add blob transfer * add transfer snapshot * refactor code * change log level * change log level * add test case * refactor code * revert taosBenchmark * revert taosbench * fix: improve error handling and encoding for file reading in grep_asserts_in_file function * rm assert * fix mem leak * fix compile error * fix conflict * fix conflict * fix compile error * fix compile error * fix pre check error * fix pre check error * fix compile error on windows * fix error on window * fix error on windows * fix error on windows * opt no-blob sql * fix compile error on dawain * fix compile error on dawain * fix invalid read * fix mem leak * fix invalid read * fix invalid read * fix error on windows * remove unused code * refactor code * fix mem leak * fix mem leak * rm unused code * rm unused code * fix invalid copy * fix invalid copy * fix invalid copy * fix invalid copy * fix invalid copy * refactor code * make ci happy * refactor code * change make * update test case * update ignore code * update bse snapshot and test case * update bse snapshot and test case * refactor code * change unit test * update bse snapshot * update bse snapshot * fix test case * fix bse snapshot * fix bse snapshot * fix snapshot transfer * remove unused log * support func query * add test case * forbidden unsupport code * merge 3.0 * merge 3.0 * change test case * add forbidden code * add forbidden code * add code * support length func * support length func * taosBenchmark support blob * support blob raw block * support write raw block * support more query * Merge branch 'feat/blob' into feat/blob_test * SBlobRow2 * change bse commit change * refactor code * rm exe test * refactor code * checke return code * rename blob name * refactor code * refactor code * refactor code * refactor code * fix unordere write * fix unordere write * fix row merge error * fix row merge error * fix row merge error * fix row merge error * support ordered data * support ordered data * Merge remote-tracking branch 'origin/3.0' into feat/blob_test * fix stmt2 blob crash * add not support write type * add not support write type * add not support write type * rm exe * fix col-formate error * fix col-formate error * fix mem leak * refactor code * add error code for single blob column restriction and update error message * add error code for single blob column restriction and update error message * add error code for single blob column restriction and update error message * refactor code * change error code * make ci happy --------- Co-authored-by: yihaoDeng <yhdeng@taosdata.com> Co-authored-by: chenhaoran <haoran920c@163.com> * package: update for main (#32091) * fix compile error on windows (#32089) * fix: source code merge issues --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: WANG Xu <feici02@outlook.com> Co-authored-by: minhuinie <nminhui@163.com> Co-authored-by: huohong <sallyhuo@taosdata.com> Co-authored-by: chenhaoran <haoran920c@163.com> Co-authored-by: Nie Minhui <143420805+minhuinie@users.noreply.github.com> Co-authored-by: Mario Peng <48949600+Pengrongkun@users.noreply.github.com> Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com> Co-authored-by: dongming chen <cademfly@hotmail.com> Co-authored-by: Linhe Huo <linhehuo@gmail.com> Co-authored-by: huohong <346479823@qq.com> Co-authored-by: Joel Brass <joel@jbrass.com> Co-authored-by: WANG Xu <feici02@outlook.com> Co-authored-by: Hongze Cheng <hzcheng@taosdata.com> Co-authored-by: Tony Zhang <34825804+Tony2h@users.noreply.github.com> Co-authored-by: Tony Zhang <tonyzhang@taosdata.com> Co-authored-by: Kaili Xu <klxu@taosdata.com> Co-authored-by: Zhixiao Bao <62235797+xiao-77@users.noreply.github.com> Co-authored-by: WANG MINGMING <wangmm0220@gmail.com> Co-authored-by: hongzhenliu <wluckyjob@gmail.com> Co-authored-by: Daniel Clow <106956386+danielclow@users.noreply.github.com> Co-authored-by: She Yanjie <57549981+sheyanjie-qq@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Simon Guan <slguan@taosdata.com> Co-authored-by: plum-lihui <huili@taosdata.com> Co-authored-by: Alex Duan <417921451@qq.com> Co-authored-by: zelv01 <1101510017@qq.com> Co-authored-by: Jing Sima <simondominic9997@outlook.com> Co-authored-by: xiangyang guo <66111494+happyguoxy@users.noreply.github.com> Co-authored-by: Haojun Liao <hjliao@taosdata.com> Co-authored-by: zyyang90 <zyyang@taosdata.com> Co-authored-by: Alex Duan <51781608+DuanKuanJun@users.noreply.github.com> Co-authored-by: facetosea <285808407@qq.com> Co-authored-by: Simon Guan <guanshengliang@qq.com> Co-authored-by: Li Hui <52318143+plum-lihui@users.noreply.github.com> Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com> Co-authored-by: xiao-77 <berylbao@taosdata.com> Co-authored-by: happyguoxy <happy_guoxy@163.com> Co-authored-by: guozhenwei <2227465945@qq.com> Co-authored-by: kevin men <men_shi_bin@163.com> Co-authored-by: taos-support <it@taosdata.com> Co-authored-by: Yihao Deng <luomoxyz@126.com> Co-authored-by: Minglei Jin <49711132+stephenkgu@users.noreply.github.com> Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
625 lines
110 KiB
Markdown
625 lines
110 KiB
Markdown
---
|
||
sidebar_label: 错误码
|
||
title: TDengine 错误码
|
||
description: TDengine 服务端的错误码列表和详细说明
|
||
---
|
||
|
||
本文中详细列举了在使用 TDengine 客户端可能得到的服务端错误码以及所要采取的相应动作。所有语言的连接器在使用原生连接方式时也会将这些错误码返回给连接器的调用者。
|
||
|
||
|
||
|
||
|
||
## rpc
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -----------------------------| --------- | ------- |
|
||
| 0x8000000B | Unable to establish connection | 1.网络不通 2.多次重试、依然不能执行请求 | 1.检查网络 2.分析日志,具体原因比较复杂 |
|
||
| 0x80000013 | Client and server's time is not synchronized | 1.客户端和服务端不在同一个时区 2.客户端和服务端在同一个时区,但是两者的时间不同步,相差超过 900 秒 | 1.调整到同一个时区 2.校准客户端和服务端的时间|
|
||
| 0x80000015 | Unable to resolve FQDN | 设置了无效的 fqdn | 检查 fqdn 的设置 |
|
||
| 0x80000017 | Port already in use | 端口已经被某个服务占用的情况下,新启的服务依然尝试绑定该端口 | 1.改动新服务的服务端口 2.杀死之前占用端口的服务 |
|
||
| 0x80000018 | Conn is broken | 由于网络抖动或者请求时间过长(超过 900 秒),导致系统主动摘掉连接 | 1.设置系统的最大超时时长 2.检查请求时长 |
|
||
| 0x80000019 | Conn read timeout | 1.请求是否处理时间过长 2.服务端处理不过来 3.服务端已经死锁 | 1.显式配置 readTimeout 参数,2.分析 taosd 上堆栈 |
|
||
| 0x80000020 | some vnode/qnode/mnode(s) out of service | 多次重试之后,仍然无法连接到集群,可能是所有的节点都宕机了,或者存活的节点不是 Leader 节点 | 1.查看 taosd 的状态、分析 taosd 宕机的原因 2.分析存活的 taosd 为什么无法选取 Leader |
|
||
| 0x80000021 | some vnode/qnode/mnode(s) conn is broken | 多次重试之后,仍然无法连接到集群,可能是网络异常、请求时间太长、服务端死锁等问题 | 1.检查网络 2.请求的执行时间 |
|
||
| 0x80000022 | rpc open too many session | 1.并发太高导致占用链接已经到达上限 2.服务端的 BUG,导致连接一直不释放 | 1.调整配置参数 numOfRpcSessions 2.调整配置参数 timeToGetAvailableConn 3.分析服务端不释放的连接的原因 |
|
||
| 0x80000023 | rpc network error | 1.网络问题,可能是闪断,2.服务端 crash | 1.检查网络 2.检查服务端是否重启|
|
||
| 0x80000024 |rpc network bus | 1.集群间互相拉数据的时候,没有拿到可用链接,或者链接数目已经到上限 | 1.是否并发太高 2.检查集群各个节点是否有异常,是否出现了死锁等情况|
|
||
| 0x80000025 | http-report already quit | 1.http 上报出现的问题 | 内部问题,可以忽略 |
|
||
| 0x80000026 | rpc module already quit | 1.客户端实例已经退出,依然用该实例做查询 | 检查业务代码,是否用错|
|
||
| 0x80000027 | rpc async module already quit | 1.引擎错误,可以忽略,该错误码不会返回到用户侧 | 如果返回到用户侧,需要引擎侧追查问题|
|
||
| 0x80000028 | rpc async in process | 1.引擎错误,可以忽略,该错误码不会返回到用户侧 | 如果返回到用户侧,需要引擎侧追查问题|
|
||
| 0x80000029 | rpc no state | 1.引擎错误,可以忽略,该错误码不会返回到用户侧 | 如果返回到用户侧,需要引擎侧追查问题 |
|
||
| 0x8000002A | rpc state already dropped | 1.引擎错误,可以忽略,该错误码不会返回到用户侧 | 如果返回到用户侧,需要引擎侧追查问题|
|
||
| 0x8000002B | rpc msg exceed limit | 1.单个 rpc 消息超过上限,该错误码不会返回到用户侧 | 如果返回到用户侧,需要引擎侧追查问题|
|
||
|
||
|
||
## common
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -----------------------------| --- | --- |
|
||
| 0x80000100 | Operation not supported | 操作不被支持、不允许的场景 | 检查操作是否有误,确认该功能是否被支持 |
|
||
| 0x80000102 | Out of Memory | 客户端或服务端内存分配失败的场景 | 检查客户端、服务端内存是否充足 |
|
||
| 0x80000104 | Data file corrupted | 1.存储数据文件损坏 2.udf 文件无法创建 | 1.联系涛思客户支持 2.确认服务端对临时目录有读写创建文件权限 |
|
||
| 0x80000106 | too many Ref Objs | 无可用 ref 资源 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000107 | Ref ID is removed | 引用的 ref 资源已经释放 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000108 | Invalid Ref ID | 无效 ref ID | 保留现场和日志,github 上报 issue |
|
||
| 0x8000010A | Ref is not there | ref 信息不存在 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000010B | Driver was not loaded | 未在系统路径中找到 libtaosnative.so 或 libtaosws.so | 重新安装客户端驱动 |
|
||
| 0x8000010C | Function was not loaded from the driver | 在 libtaos.so 中定义的一些函数在 libtaosnative.so 或 libtaosws.so 中未实现 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000110 | Unexpected generic error | 系统内部错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000111 | Action in progress | 操作进行中 | 1.等待操作完成 2.根据需要取消操作 3.当超出合理时间仍然未完成可保留现场和日志,或联系客户支持 |
|
||
| 0x80000112 | Out of range | 配置参数超出允许值范围 | 更改参数 |
|
||
| 0x80000115 | Invalid message | 消息错误 | 1.检查是否存在节点间版本不一致 2.保留现场和日志,github 上报 issue |
|
||
| 0x80000116 | Invalid message len | 消息长度错误 | 1.检查是否存在节点间版本不一致 2.保留现场和日志,github 上报 issue |
|
||
| 0x80000117 | Invalid pointer | 无效指针 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000118 | Invalid parameters | 无效参数 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000119 | Invalid config option | 无效配置 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000011A | Invalid option | 无效选项 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000011B | Invalid json format | JSON 格式错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000011C | Invalid version number | 无效版本格式 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000011D | Invalid version string | 无效版本格式 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000011E | Version not compatible | 节点间版本不兼容 | 检查各节点版本(包括服务端与客户端),确保节点间版本一致或兼容 |
|
||
| 0x8000011F | Checksum error | 文件 checksum 校验失败 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000120 | Failed to compress msg | 压缩失败 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000121 | Message not processed | 消息未被正确处理 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000122 | Config not found | 未找到配置项 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000123 | Repeat initialization | 重复初始化 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000124 | Cannot add duplicate keys to hash | 添加重复 key 数据到哈希表中 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000125 | Retry needed | 需要应用进行重试 | 应用按照 API 使用规范进行重试 |
|
||
| 0x80000126 | Out of memory in rpc queue | rpc 消息队列内存使用达到上限 | 1.检查确认系统负载是否过大 2.(如必要)通过配置 rpcQueueMemoryAllowed 增大 rpc 消息队列内存上限 3.如果问题还未解决,保留现场和日志,github 上报 issue |
|
||
| 0x80000127 | Invalid timestamp format | 时间戳格式错误 | 检查并确认输入的时间戳格式正确 |
|
||
| 0x80000128 | Msg decode error | 消息解码错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000012A | Not found | 未找到内部缓存信息 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000012B | Out of disk space | 磁盘空间不足 | 1.检查并确保数据目录、临时文件夹目录有足够磁盘空间 2.定期检查维护上述目录,确保空间足够 |
|
||
| 0x80000130 | Database is starting up | 数据库启动中,暂无法提供服务 | 检查数据库状态,待系统完成启动后继续或重试 |
|
||
| 0x80000131 | Database is closing down | 数据库正在或已经关闭,无法提供服务 | 检查数据库状态,确保系统工作在正常状态 |
|
||
| 0x80000132 | Invalid data format | 数据格式错误 | 1.保留现场和日志,github 上报 issue 2.联系涛思客户支持 |
|
||
| 0x80000133 | Invalid operation | 无效的或不支持的操作 | 1.修改确认当前操作为合法有效支持的操作,检查参数有效性 2.如果问题还未解决,保留现场和日志,github 上报 issue |
|
||
| 0x80000134 | Invalid value | 无效值 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000135 | Invalid fqdn | 无效 FQDN | 检查配置或输入的 FQDN 值是否正确 |
|
||
| 0x8000013C | Invalid disk id | 不合法的 disk id | 建议用户检查挂载磁盘是否失效或者使用参数 diskIDCheckEnabled 来跳过磁盘检查 |
|
||
| 0x8000013D | Decimal value overflow | Decimal 计算溢出 | 检查计算表达式和参数值是否计算结果导致类型溢出 |
|
||
| 0x8000013E | Division by zero error | Division by zero | 检查除法操作是否除以 0 |
|
||
|
||
|
||
|
||
## tsc
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | --------------------------------- | ---------------------------- | -------------------------------------------------------------------------------- |
|
||
| 0x80000207 | Invalid user name | 数据库用户名不合法 | 检查数据库用户名是否正确 |
|
||
| 0x80000208 | Invalid password | 数据库密码不合法 | 检查数据库密码是否正确 |
|
||
| 0x80000209 | Database name too long | 数据库名称不合法 | 检查数据库名称是否正确 |
|
||
| 0x8000020A | Table name too long | 表名不合法 | 检查表名是否正确 |
|
||
| 0x8000020F | Query terminated | 查询被中止 | 检查是否有用户中止了查询 |
|
||
| 0x80000213 | Disconnected from server | 连接已中断 | 检查连接是否被人为中断或客户端正在退出 |
|
||
| 0x80000216 | Syntax error in SQL | SQL 语法错误 | 检查 SQL 语句并修正错误 |
|
||
| 0x80000219 | SQL statement too long | SQL 长度超出限制 | 检查 SQL 语句并修正错误 |
|
||
| 0x8000021A | File is empty | 文件内容为空 | 检查输入文件内容 |
|
||
| 0x8000021F | Invalid column length | 列长度错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000222 | Invalid JSON data type | JSON 数据类型错误 | 检查输入 JSON 内容 |
|
||
| 0x80000224 | Value out of range | 数据大小超过类型范围 | 检查输入的数据值 |
|
||
| 0x80000229 | Invalid tsc input | API 输入错误 | 检查应用调用 API 时传递的参数 |
|
||
| 0x8000022A | Stmt API usage error | STMT/STMT2 API 使用错误 | 检查 STMT/STMT2 API 调用的顺序、适用场景、错误处理 |
|
||
| 0x8000022B | Stmt table name not set correctly | STMT/STMT2 未正确设置表名 | 检查 STMT/STMT2 绑定的表名是否合法 |
|
||
| 0x8000022D | Query killed | 查询被中止 | 检查是否有用户中止了查询 |
|
||
| 0x8000022E | No available execution node | 没有可用的查询执行节点 | 检查当前 query policy 配置,如果需要有 Qnode 参与确保系统中存在可用的 Qnode 节点 |
|
||
| 0x8000022F | Table is not a super table | 当前语句中的表名不是超级表 | 检查当前语句中所用表名是否是超级表 |
|
||
| 0x80000230 | Stmt cache error | STMT/STMT2 内部缓存出错 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000231 | Tsc internal error | TSC 内部错误 | 保留现场和日志,github 上报 issue |
|
||
|
||
|
||
|
||
## mnode
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------------------------------------------------------------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||
| 0x80000303 | Insufficient privilege for operation | 无权限 | 赋权 |
|
||
| 0x8000030B | Data expired | 内部错误 | 上报 issue |
|
||
| 0x8000030C | Invalid query id | 内部错误 | 上报 issue |
|
||
| 0x8000030E | Invalid connection id | 内部错误 | 上报 issue |
|
||
| 0x80000315 | User is disabled | 该用户不可用 | 赋权 |
|
||
| 0x80000318 | Mnode internal error | 内部错误 | 上报 issue |
|
||
| 0x80000320 | Object already there | 内部错误 | 上报 issue |
|
||
| 0x80000322 | Invalid table type | 内部错误 | 上报 issue |
|
||
| 0x80000323 | Object not there | 内部错误 | 上报 issue |
|
||
| 0x80000326 | Invalid action type | 内部错误 | 上报 issue |
|
||
| 0x80000328 | Invalid raw data version | 内部错误 | 上报 issue |
|
||
| 0x80000329 | Invalid raw data len | 内部错误 | 上报 issue |
|
||
| 0x8000032A | Invalid raw data content | 内部错误 | 上报 issue |
|
||
| 0x8000032C | Object is creating | 内部错误 | 上报 issue |
|
||
| 0x8000032D | Object is dropping | 内部错误 | 上报 issue |
|
||
| 0x80000330 | Dnode already exists | 内部错误 | 上报 issue |
|
||
| 0x80000331 | Dnode does not exist | 内部错误 | 上报 issue |
|
||
| 0x80000332 | Vgroup does not exist | 内部错误 | 上报 issue |
|
||
| 0x80000333 | Cannot drop mnode which is leader | 操作节点为 leader | 确认操作是否正确 |
|
||
| 0x80000334 | Out of dnodes | dnode 节点数量不够 | 增加 dnode 节点 |
|
||
| 0x80000335 | Cluster cfg inconsistent | 配置不一致 | 检查 dnode 节点与 mnode 节点配置是否一致。检查方式:1.节点启动时,在日志中输出 2.使用 show variables |
|
||
| 0x8000033B | Cluster id not match | 节点配置数据不一致 | 检查各节点 data/dnode/dnodes.json 文件中的 clusterid |
|
||
| 0x80000340 | Account already exists | (仅企业版)内部错误 | 上报 issue |
|
||
| 0x80000342 | Invalid account options | (仅企业版)该操作不支持 | 确认操作是否正确 |
|
||
| 0x80000344 | Invalid account | 账户不存在 | 确认账户是否正确 |
|
||
| 0x80000350 | User already exists | Create user, 重复创建 | 确认操作是否正确 |
|
||
| 0x80000351 | Invalid user | 用户不存在 | 确认操作是否正确 |
|
||
| 0x80000352 | Invalid user format | 格式不正确 | 确认操作是否正确 |
|
||
| 0x80000353 | Invalid password format | 密码长度必须为 8 到 16 位,并且至少包含大写字母、小写字母、数字、特殊字符中的三类 | 确认密码字符串的格式 |
|
||
| 0x80000354 | Can not get user from conn | 内部错误 | 上报 issue |
|
||
| 0x80000355 | Too many users | (仅企业版)用户数量超限 | 调整配置 |
|
||
| 0x80000357 | Authentication failure | 密码不正确 | 确认操作是否正确 |
|
||
| 0x80000358 | User not available | 用户不存在 | 确认操作是否正确 |
|
||
| 0x80000360 | STable already exists | 内部错误 | 上报 issue |
|
||
| 0x80000361 | STable not exist | 内部错误 | 上报 issue |
|
||
| 0x80000364 | Too many tags | tag 数量太多 | 不能修改,代码级别限制 |
|
||
| 0x80000365 | Too many columns | columns 数量太多 | 不能修改,代码级别限制 |
|
||
| 0x80000369 | Tag already exists | tag 已存在 | 确认操作是否正确 |
|
||
| 0x8000036A | Tag does not exist | tag 不存在 | 确认操作是否正确 |
|
||
| 0x8000036B | Column already exists | Column 已存在 | 确认操作是否正确 |
|
||
| 0x8000036C | Column does not exist | Column 不存在 | 确认操作是否正确 |
|
||
| 0x8000036E | Invalid stable options | 内部错误 | 上报 issue |
|
||
| 0x8000036F | Invalid row bytes | 内部错误 | 上报 issue |
|
||
| 0x80000370 | Invalid func name | name 长度错误 | 确认操作是否正确 |
|
||
| 0x80000372 | Invalid func code | code 长度错误 | 确认操作是否正确 |
|
||
| 0x80000373 | Func already exists | Func 已存在 | 确认操作是否正确 |
|
||
| 0x80000374 | Func not exists | Func 不存在 | 确认操作是否正确 |
|
||
| 0x80000375 | Invalid func bufSize | bufSize 长度错误,或者超过限制 | 确认操作是否正确 |
|
||
| 0x80000378 | Invalid func comment | 长度错误,或者超过限制 | 确认操作是否正确 |
|
||
| 0x80000379 | Invalid func retrieve msg | 长度错误,或者超过限制 | 确认操作是否正确 |
|
||
| 0x80000380 | Database not specified or available | 未指定 database | 使用 use database; |
|
||
| 0x80000381 | Database already exists | Database 已存在 | 确认操作是否正确 |
|
||
| 0x80000382 | Invalid database options | 内部错误 | 上报 issue |
|
||
| 0x80000383 | Invalid database name | 长度错误 | 确认操作是否正确 |
|
||
| 0x80000385 | Too many databases for account | 数量超限 | 调整配置 |
|
||
| 0x80000386 | Database in dropping status | 数据库正在被删除 | 重试,长时间保持该状态上报 issue |
|
||
| 0x80000388 | Database not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x80000389 | Invalid database account | 内部错误 | 上报 issue |
|
||
| 0x8000038A | Database options not changed | 操作无变化 | 确认操作是否正确 |
|
||
| 0x8000038B | Index not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x80000396 | Database in creating status | 数据库正在被创建 | 重试 |
|
||
| 0x8000039A | Invalid system table name | 内部错误 | 上报 issue |
|
||
| 0x8000039F | No VGroup's leader need to be balanced | 执行 balance vgroup leader 操作 | 没有需要进行 balance leader 操作的 VGroup |
|
||
| 0x800003A0 | Mnode already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x800003A1 | Mnode not there | 已存在 | 确认操作是否正确 |
|
||
| 0x800003A2 | Qnode already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x800003A3 | Qnode not there | 不存在 | 确认操作是否正确 |
|
||
| 0x800003A4 | Snode already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x800003A5 | Snode not there | 不存在 | 确认操作是否正确 |
|
||
| 0x800003A8 | The replica of mnode cannot less than 1 | mnode 少于 1 | 操作不允许 |
|
||
| 0x800003A9 | The replica of mnode cannot exceed 3 | mnode 多于 1 | 操作不允许 |
|
||
| 0x800003AE | VGroup is offline | Vgroup 离线 | 检查 dnode 是否离线 |
|
||
| 0x800003B1 | No enough memory in dnode | 内存不足 | 调整配置 |
|
||
| 0x800003B3 | Invalid dnode end point | ep 配置不正确 | 确认操作是否正确 |
|
||
| 0x800003B6 | Offline dnode exists | Dnode offline | 检查节点状态 |
|
||
| 0x800003B7 | Invalid vgroup replica | 内部错误 | 上报 issue |
|
||
| 0x800003B8 | Dnode in creating status | 正在创建 | 重试 |
|
||
| 0x800003B9 | Dnode in dropping status | 正在删除 | 重试 |
|
||
| 0x800003C2 | Invalid stable alter options | 内部错误 | 上报 issue |
|
||
| 0x800003C3 | STable option unchanged | 操作无变化 | 确认操作是否正确 |
|
||
| 0x800003C4 | Field used by topic | 被使用 | 确认操作是否正确 |
|
||
| 0x800003C5 | Database is single stable mode | 内部错误 | 上报 issue |
|
||
| 0x800003C6 | Invalid schema version while alter stb | 内部错误 | 上报 issue |
|
||
| 0x800003C7 | Invalid stable uid while alter stb | 内部错误 | 上报 issue |
|
||
| 0x800003C8 | Field used by tsma | 被使用 | 确认操作是否正确 |
|
||
| 0x800003D1 | Transaction not exists | 不存在 | 确认操作是否正确 |
|
||
| 0x800003D2 | Invalid stage to kill | 事务处在不能被 kill 的节点(比如 在 commit 阶段) | 等待事务结束,如长时间不结束,上报 issue |
|
||
| 0x800003D3 | Conflict transaction not completed | 事务冲突,不能执行该操作 | 使用 show transactions 命令查看冲突的事务,等待冲突事务结束,如长时间不结束,上报 issue |
|
||
| 0x800003D4 | Transaction commitlog is null | 内部错误 | 上报 issue |
|
||
| 0x800003D5 | Unable to establish connection While execute transaction and will continue in the background | 网络错误 | 检查网络是否正常 |
|
||
| 0x800003D6 | Last Transaction not finished | 内部错误 | 上报 issue |
|
||
| 0x800003D7 | Sync timeout While execute transaction and will continue in the background | 内部错误 | 上报 issue |
|
||
| 0x800003DF | Unknown transaction error | 内部错误 | 上报 issue |
|
||
| 0x800003E0 | Topic already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x800003E1 | Topic not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x800003E3 | Invalid topic | 内部错误 | 上报 issue |
|
||
| 0x800003E4 | Topic with invalid query | 内部错误 | 上报 issue |
|
||
| 0x800003E5 | Topic with invalid option | 内部错误 | 上报 issue |
|
||
| 0x800003E6 | Consumer not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x800003E7 | Topic unchanged | 无变化 | 确认操作是否正确 |
|
||
| 0x800003E8 | Subscribe not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x800003E9 | Offset not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x800003EA | Consumer not ready | 内部错误 | 上报 issue |
|
||
| 0x800003EB | Topic subscribed cannot be dropped | 被使用 | 确认操作是否正确 |
|
||
| 0x800003EC | Consumer group being used by some consumer | 被使用 | 确认操作是否正确 |
|
||
| 0x800003ED | Topic must be dropped first | 被使用 | 确认操作是否正确 |
|
||
| 0x800003EE | Invalid subscribe option | 内部错误 | 确认操作是否正确 |
|
||
| 0x800003EF | Topic being rebalanced | 操作中 | 重试 |
|
||
| 0x800003F0 | Stream already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x800003F1 | Stream not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x800003F2 | Invalid stream option | 内部错误 | 上报 issue |
|
||
| 0x800003F3 | Stream must be dropped first | 被使用 | 确认操作是否正确 |
|
||
| 0x800003F5 | Stream temporarily does not support source db having replica > 1 | 超过限制 | 操作不被允许 |
|
||
| 0x800003F6 | Too many streams | 超过限制 | 不能修改,代码级别限制 |
|
||
| 0x800003F7 | Cannot write the same stable as other stream | 内部错误 | 上报 issue |
|
||
| 0x80000480 | index already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x80000481 | index not exist | 不存在 | 确认操作是否正确 |
|
||
| 0x80000482 | Invalid sma index option | 内部错误 | 上报 issue |
|
||
| 0x80000483 | index already exists | 已存在 | 确认操作是否正确 |
|
||
| 0x80000484 | index not exist | 不存在 | 确认操作是否正确 |
|
||
|
||
|
||
## Bnode
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------- | ---------------------------- | ---------------------- |
|
||
| 0x80000450 | Bnode already exists | 已创建 | 检查节点状态 |
|
||
| 0x80000451 | Bnode already deployed | 已部署 | 确认操作是否正确 |
|
||
| 0x80000452 | Bnode not deployed | 内部错误 | 上报 issue |
|
||
| 0x80000453 | Bnode not there | 不在线 | 确认操作是否正确 |
|
||
| 0x80000454 | Bnode not found | 内部错误 | 上报 issue |
|
||
| 0x80000455 | Bnode exec launch failed | 内部错误 | 上报 issue |
|
||
| 0x8000261C | Invalid Bnode option | Bnode 选项值非法 | 检查并修正数据库选项值 |
|
||
|
||
|
||
## dnode
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ---------------------- | ---------------------------- | ------------------ |
|
||
| 0x80000408 | Dnode is offline | 不在线 | 检查节点状态 |
|
||
| 0x80000409 | Mnode already deployed | 已部署 | 确认操作是否正确 |
|
||
| 0x8000040A | Mnode not found | 内部错误 | 上报 issue |
|
||
| 0x8000040B | Mnode not deployed | 内部错误 | 上报 issue |
|
||
| 0x8000040C | Qnode already deployed | 已部署 | 确认操作是否正确 |
|
||
| 0x8000040D | Qnode not found | 内部错误 | 上报 issue |
|
||
| 0x8000040E | Qnode not deployed | 内部错误 | 上报 issue |
|
||
| 0x8000040F | Snode already deployed | 已部署 | 确认操作是否正确 |
|
||
| 0x80000410 | Snode not found | 内部错误 | 上报 issue |
|
||
| 0x80000411 | Snode not deployed | 已部署 | 确认操作是否正确 |
|
||
|
||
|
||
## vnode
|
||
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------------------------------- | ------------------------------ | ------------------ |
|
||
| 0x80000503 | Invalid vgroup ID | 老客户端未更新 cache,内部错误 | 上报问题 |
|
||
| 0x80000512 | No writing privilege | 无写权限 | 寻求授权 |
|
||
| 0x80000520 | Vnode does not exist | 内部错误 | 上报问题 |
|
||
| 0x80000521 | Vnode already exists | 内部错误 | 上报问题 |
|
||
| 0x80000522 | Hash value of table is not in the vnode hash range | 表不属于 vnode | 上报问题 |
|
||
| 0x80000524 | Invalid table operation | 表非法操作 | 上报问题 |
|
||
| 0x80000525 | Column already exists | 修改表是列已存在 | 上报问题 |
|
||
| 0x80000526 | Column does not exists | 修改表时,表不存在 | 上报问题 |
|
||
| 0x80000527 | Column is subscribed | 列被订阅,不能操作 | 上报问题 |
|
||
| 0x80000529 | Vnode is stopped | Vnode 已经关闭 | 上报问题 |
|
||
| 0x80000530 | Duplicate write request | 重复写入请求,内部错误 | 上报问题 |
|
||
| 0x80000531 | Vnode query is busy | 查询忙碌 | 上报问题 |
|
||
| 0x80000540 | Vnode already exist but Dbid not match | 内部错误 | 上报问题 |
|
||
|
||
|
||
## tsdb
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ----------------------------------------- | ------------------------------------------ | ------------------------------ |
|
||
| 0x80000600 | Invalid table ID to write | 写表不存在 | 重启客户端 |
|
||
| 0x80000602 | Invalid table schema version | 表的 schema 版本号过期,内部错误 | 无需处理,内部自动更新 |
|
||
| 0x80000603 | Table already exists | 表已存在 | 上报问题 |
|
||
| 0x80000604 | Invalid configuration | 内部错误 | 上报问题 |
|
||
| 0x80000605 | Init failed | 启动失败 | 上报问题 |
|
||
| 0x8000060B | Timestamp is out of range | 写入时间范围越界 | 上报问题,检查应用写入时间逻辑 |
|
||
| 0x8000060C | Submit message is messed up | 消息错误,可能由于客户端和服务端不兼容导致 | 上报问题 |
|
||
| 0x80000618 | Table does not exists | 表已经存在 | 上报问题 |
|
||
| 0x80000619 | Super table already exists | 超级表已经存在 | 上报问题 |
|
||
| 0x8000061A | Super table does not exist | 超级表不存在 | 上报问题 |
|
||
| 0x8000061B | Invalid table schema version | 同 TSDB_CODE_TDB_IVD_TB_SCHEMA_VERSION | 上报问题 |
|
||
| 0x8000061D | Table already exists in other super table | 表已存在,但属于其他超级表 | 检查写入应用逻辑 |
|
||
|
||
## query
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ------------------------------------ | ------------------------------------------ | ------------------------------------------------------ |
|
||
| 0x80000700 | Invalid query handle | 当前查询句柄不存在 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000709 | Multiple retrieval of this query | 当前子查询已经正在进行中 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000070A | Too many groups/time window in query | 当前查询结果中的分组或窗口个数超过限制个数 | 调整查询语句,确保查询条件中的分组和窗口个数不超过上限 |
|
||
| 0x8000070D | System error | 底层系统 API 返回错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000720 | Scheduler not exist | 当前子查询对应的客户端信息不存在 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000721 | Task not exist | 子查询不存在 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000722 | Task already exist | 子查询已经存在 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000729 | Task message error | 查询消息错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000072B | Task status error | 子查询状态错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x8000072F | Job not exist | 查询 JOB 已经不存在 | 保留现场和日志,github 上报 issue |
|
||
| 0x80000739 | Query memory upper limit is reached | 单个查询达到内存使用上限 | 设置合理的内存上限或调整 SQL 语句 |
|
||
| 0x8000073A | Query memory exhausted | dnode 查询内存到达使用上限 | 设置合理的内存上限或调整并发查询量或增大系统内存 |
|
||
| 0x8000073B | Timeout for long time no fetch | 查询被长时间中断未恢复 | 调整应用实现尽快 fetch 数据 |
|
||
| 0x8000073C | Memory pool not initialized | 内存池没有初始化 | 确认开关 queryUseMemoryPool 是否打开;如果 queryUseMemoryPool 已经打开,检查服务器是否达到了开启内存池的基本条件:1. 系统的可用内存总量不低于 5G;2. 扣除预留部分后系统的可用内存不低于 4G |
|
||
| 0x8000073D | Alter minReservedMemorySize failed since no enough system available memory | 更新 minReservedMemorySize 失败 | 确认当前的系统内存:1. 系统的可用内存总量不低于 5G;2. 扣除预留部分后系统的可用内存不低于 4G |
|
||
|
||
## grant
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ----------------------------------- | ---------------------------- | -------------------------------- |
|
||
| 0x80000800 | License expired | 授权时间过期 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x80000801 | DNode creation limited by license | Dnode 数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x80000802 | Account creation limited by license | 账号数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x80000803 | Time series limited by license | 测点数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x80000804 | DB creation limited by license | 数据库数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x80000805 | User creation limited by license | 用户数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x80000806 | Conn creation limited by license | 连接数量超过授权限制 | 暂未限制,联系交付进行检查 |
|
||
| 0x80000807 | Stream creation limited by license | 流数量超过授权限制 | 暂未限制,联系交付进行检查 |
|
||
| 0x80000808 | Write speed limited by license | 写入速度超过授权限制 | 暂未限制,联系交付进行检查 |
|
||
| 0x80000809 | Storage capacity limited by license | 存储空间超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x8000080A | Query time limited by license | 查询次数超过授权限制 | 暂未限制,联系交付进行检查 |
|
||
| 0x8000080B | CPU cores limited by license | CPU 核数超过授权限制 | 暂未限制,联系交付进行检查 |
|
||
| 0x8000080C | STable creation limited by license | 超级表数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
| 0x8000080D | Table creation limited by license | 子表/普通表数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
|
||
|
||
## sync
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||
| 0x80000903 | Sync timeout | 场景 1:发生了切主 旧主节点上已经开始协商但尚未达成一致的请求将超时。场景 2:从节点响应超时,导致协商超时。 | 检查集群状态,例如:show vgroups 查看服务端日志,以及服务端节点之间的网络状况。 |
|
||
| 0x8000090C | Sync leader is unreachable | 场景 1:选主过程中 场景 2:客户端请求路由到了从节点,且重定向失败 场景 3:客户端或服务端网络配置错误 | 检查集群状态、网络配置、应用程序访问状态等。查看服务端日志,以及服务端节点之间的网络状况。 |
|
||
| 0x8000090F | Sync new config error | 成员变更配置错误 | 内部错误,用户无法干预 |
|
||
| 0x80000911 | Sync not ready to propose | 场景 1:恢复未完成 | 检查集群状态,例如:show vgroups。查看服务端日志,以及服务端节点之间的网络状况。 |
|
||
| 0x80000914 | Sync leader is restoring | 场景 1:发生了切主 选主后,日志重演中 | 检查集群状态,例如:show vgroups。查看服务端日志,观察恢复进度。 |
|
||
| 0x80000915 | Sync invalid snapshot msg | 快照复制消息错误 | 服务端内部错误 |
|
||
| 0x80000916 | Sync buffer is full | 场景 1:客户端请求并发数特别大,超过了服务端处理能力,或者因为网络和 CPU 资源严重不足,或者网络连接问题等。 | 检查集群状态,系统资源使用率(例如磁盘 IO、CPU、网络通信等),以及节点之间网络连接状况。 |
|
||
| 0x80000917 | Sync write stall | 场景 1:状态机执行被阻塞,例如因系统繁忙,磁盘 IO 资源严重不足,或落盘失败等 | 检查集群状态,系统资源使用率(例如磁盘 IO 和 CPU 等),以及是否发生了落盘失败等。 |
|
||
| 0x80000918 | Sync negotiation win is full | 场景 1:客户端请求并发数特别大,超过了服务端处理能力,或者因为网络和 CPU 资源严重不足,或者网络连接问题等。 | 检查集群状态,系统资源使用率(例如磁盘 IO、CPU、网络通信等),以及节点之间网络连接状况。 |
|
||
| 0x800009FF | Sync internal error | 其它内部错误 | 检查集群状态,例如:show vgroups |
|
||
|
||
|
||
|
||
## tq
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ------------------------- | --------------------------------------------------------------- | -------------------------------------- |
|
||
| 0x80000A0C | TQ table schema not found | 消费数据时表不存在 | 内部错误,不透传给用户 |
|
||
| 0x80000A0D | TQ no committed offset | 消费时设置 offset reset = none,并且 server 端没有之前消费的 offset | 设置 offset reset 为 earliest 或者 latest |
|
||
|
||
|
||
## wal
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | --------------------- | -------------------------------- | ------------------ |
|
||
| 0x80001001 | WAL file is corrupted | WAL 文件损坏 | 服务端内部错误 |
|
||
| 0x80001003 | WAL invalid version | 请求日志版本,超过了当前日志范围 | 服务端内部错误 |
|
||
| 0x80001005 | WAL log not exist | 请求日志记录,不存在 | 服务端内部错误 |
|
||
| 0x80001006 | WAL checksum mismatch | 场景:发生了 WAL 文件损坏 | 服务端内部错误 |
|
||
| 0x80001007 | WAL log incomplete | 日志文件发生了丢失或损坏 | 服务端内部错误 |
|
||
|
||
## tfs
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------------- | ----------------------------------- | ---------------------------------------- |
|
||
| 0x80002201 | TFS invalid configuration | 多级存储配置错误 | 检查配置是否正确 |
|
||
| 0x80002202 | TFS too many disks on one level | 多级存储配置错误 | 检查一级硬盘上的配置个数是否超过最大限制 |
|
||
| 0x80002203 | TFS duplicate primary mount disk | 多级存储配置错误 | 检查配置是否正确 |
|
||
| 0x80002204 | TFS no primary mount disk | 多级存储配置错误 | 检查配置是否正确 |
|
||
| 0x80002205 | TFS no disk mount on tire | 多级存储配置错误 | 检查配置是否正确 |
|
||
| 0x80002208 | No disk available on a tier. | TFS 内部错误,多发生在硬盘满的场景下 | 增加硬盘,扩充容量 |
|
||
|
||
|
||
|
||
## catalog
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------------- | ---------------------------- | -------------------------------- |
|
||
| 0x80002400 | catalog internal error | catalog 内部错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002401 | catalog invalid input parameters | catalog 输入参数错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002402 | catalog is not ready | catalog 未初始化完成 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002403 | catalog system error | catalog 系统错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002404 | Database is dropped | db 缓存被删除 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002405 | catalog is out of service | catalog 模块已经退出 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002550 | Invalid msg order | 消息顺序错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002501 | Job status error | 任务状态错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002502 | scheduler internal error | scheduler 内部错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002504 | Task timeout | 子任务超时 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002505 | Job is dropping | 任务正在或已经被取消 | 检查是否有手动或应用中断当前任务 |
|
||
|
||
|
||
|
||
## parser
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
|------------| ------------------------------------------------------------------------------------------------------ |---------------------------------------------| ------------------------------------- |
|
||
| 0x80002600 | syntax error near | SQL 语法错误 | 检查并修正 SQL 语句 |
|
||
| 0x80002601 | Incomplete SQL statement | 不完整的 SQL 语句 | 检查并修正 SQL 语句 |
|
||
| 0x80002602 | Invalid column name | 不合法或不存在的列名 | 检查并修正 SQL 语句 |
|
||
| 0x80002603 | Table does not exist | 表不存在 | 检查并确认 SQL 语句中的表是否存在 |
|
||
| 0x80002604 | Column ambiguously defined | 列名(别名)重复定义 | 检查并修正 SQL 语句 |
|
||
| 0x80002605 | Invalid value type | 常量值非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002608 | There mustn't be aggregation | 聚合函数出现在非法子句中 | 检查并修正 SQL 语句 |
|
||
| 0x80002609 | ORDER BY item must be the number of a SELECT-list expression | Order by 指定的位置不合法 | 检查并修正 SQL 语句 |
|
||
| 0x8000260A | Not a GROUP BY expression | 非法 group by 语句 | 检查并修正 SQL 语句 |
|
||
| 0x8000260B | Not SELECTed expression | 非法表达式 | 检查并修正 SQL 语句 |
|
||
| 0x8000260C | Not a single-group group function | 非法使用列与函数 | 检查并修正 SQL 语句 |
|
||
| 0x8000260D | Tags number not matched | tag 列个数不匹配 | 检查并修正 SQL 语句 |
|
||
| 0x8000260E | Invalid tag name | 无效或不存在的 tag 名 | 检查并修正 SQL 语句 |
|
||
| 0x80002610 | Value is too long | 值长度超出限制 | 检查并修正 SQL 语句或 API 参数 |
|
||
| 0x80002611 | Password too short or empty | 密码为空或少于 8 个字符 | 使用合法的密码 |
|
||
| 0x80002612 | Port should be an integer that is less than 65535 and greater than 0 | 端口号非法 | 检查并修正端口号 |
|
||
| 0x80002613 | Endpoint should be in the format of 'fqdn:port' | 地址格式错误 | 检查并修正地址信息 |
|
||
| 0x80002614 | This statement is no longer supported | 功能已经废弃 | 参考功能文档说明 |
|
||
| 0x80002615 | Interval too small | interval 值超过允许的最小值 | 更改 INTERVAL 值 |
|
||
| 0x80002616 | Database not specified | 未指定数据库 | 指定当前操作的数据库 |
|
||
| 0x80002617 | Invalid identifier name | ID 非法或长度不合法 | 检查语句中相关的库、表、列、TAG 等名称 |
|
||
| 0x80002618 | Corresponding super table not in this db | 超级表不存在 | 检查库中是否存在对应的超级表 |
|
||
| 0x80002619 | Invalid database option | 数据库选项值非法 | 检查并修正数据库选项值 |
|
||
| 0x8000261A | Invalid table option | 表选项值非法 | 检查并修正数据表选项值 |
|
||
| 0x80002624 | GROUP BY and WINDOW-clause can't be used together | Group by 和窗口不能同时使用 | 检查并修正 SQL 语句 |
|
||
| 0x80002627 | Aggregate functions do not support nesting | 函数不支持嵌套使用 | 检查并修正 SQL 语句 |
|
||
| 0x80002628 | Only support STATE_WINDOW on integer/bool/varchar column | 不支持的 STATE_WINDOW 数据类型 | 检查并修正 SQL 语句 |
|
||
| 0x80002629 | Not support STATE_WINDOW on tag column | 不支持 TAG 列的 STATE_WINDOW | 检查并修正 SQL 语句 |
|
||
| 0x8000262A | STATE_WINDOW not support for super table query | 不支持超级表的 STATE_WINDOW | 检查并修正 SQL 语句 |
|
||
| 0x8000262B | SESSION gap should be fixed time window, and greater than 0 | SESSION 窗口值非法 | 检查并修正 SQL 语句 |
|
||
| 0x8000262C | Only support SESSION on primary timestamp column | SESSION 窗口列非法 | 检查并修正 SQL 语句 |
|
||
| 0x8000262D | Interval offset cannot be negative | INTERVAL offset 值非法 | 检查并修正 SQL 语句 |
|
||
| 0x8000262E | Cannot use 'year' as offset when interval is 'month' | INTERVAL offset 单位非法 | 检查并修正 SQL 语句 |
|
||
| 0x8000262F | Interval offset should be shorter than interval | INTERVAL offset 值非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002630 | Does not support sliding when interval is natural month/year | sliding 单位非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002631 | sliding value no larger than the interval value | sliding 值非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002632 | sliding value can not less than 1%% of interval value | sliding 值非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002633 | Only one tag if there is a json tag | 只支持单个 JSON TAG 列 | 检查并修正 SQL 语句 |
|
||
| 0x80002634 | Query block has incorrect number of result columns | 列个数不匹配 | 检查并修正 SQL 语句 |
|
||
| 0x80002635 | Incorrect TIMESTAMP value | 主键时间戳列值非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002637 | soffset/offset can not be less than 0 | soffset/offset 值非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002638 | slimit/soffset only available for PARTITION/GROUP BY query | slimit/soffset 只支持 PARTITION BY/GROUP BY 语句 | 检查并修正 SQL 语句 |
|
||
| 0x80002639 | Invalid topic query | 不支持的 TOPIC 查询语法 |
|
||
| 0x8000263A | Cannot drop super table in batch | 不支持批量删除超级表 | 检查并修正 SQL 语句 |
|
||
| 0x8000263B | Start(end) time of query range required or time range too large | 窗口个数超出限制 | 检查并修正 SQL 语句 |
|
||
| 0x8000263C | Duplicated column names | 列名称重复 | 检查并修正 SQL 语句 |
|
||
| 0x8000263D | Tags length exceeds max length | TAG 值长度超出最大支持范围 | 检查并修正 SQL 语句 |
|
||
| 0x8000263E | Row length exceeds max length | 行长度检查并修正 SQL 语句 | 检查并修正 SQL 语句 |
|
||
| 0x8000263F | Illegal number of columns | 列个数错误 | 检查并修正 SQL 语句 |
|
||
| 0x80002640 | Too many columns | 列个数超出上限 | 检查并修正 SQL 语句 |
|
||
| 0x80002641 | First column must be timestamp | 第一列必须是主键时间戳列 | 检查并修正 SQL 语句 |
|
||
| 0x80002642 | Invalid binary/nchar column/tag length | binary/nchar 长度错误 | 检查并修正 SQL 语句 |
|
||
| 0x80002643 | Invalid number of tag columns | TAG 列个数错误 | 检查并修正 SQL 语句 |
|
||
| 0x80002644 | Permission denied | 权限错误 | 检查确认用户是否有相应操作权限 |
|
||
| 0x80002645 | Invalid stream query | 非法流语句 | 检查并修正 SQL 语句 |
|
||
| 0x80002646 | Invalid _c0 or _rowts expression | _c0 或 _rowts 非法使用 | 检查并修正 SQL 语句 |
|
||
| 0x80002647 | Invalid timeline function | 函数依赖的主键时间戳不存在 | 检查并修正 SQL 语句 |
|
||
| 0x80002648 | Invalid password | 密码不符合规范 | 检查并修改密码 |
|
||
| 0x80002649 | Invalid alter table statement | 修改表语句不合法 | 检查并修正 SQL 语句 |
|
||
| 0x8000264A | Primary timestamp column cannot be dropped | 主键时间戳列不允许删除 | 检查并修正 SQL 语句 |
|
||
| 0x8000264B | Only binary/nchar column length could be modified, and the length can only be increased, not decreased | 非法列修改 | 检查并修正 SQL 语句 |
|
||
| 0x8000264C | Invalid tbname pseudo column | 非法使用 tbname 列 | 检查并修正 SQL 语句 |
|
||
| 0x8000264D | Invalid function name | 非法函数名 | 检查并修正函数名 |
|
||
| 0x8000264E | Comment too long | 注释长度超限 | 检查并修正 SQL 语句 |
|
||
| 0x8000264F | Function(s) only allowed in SELECT list, cannot mixed with non scalar functions or columns | 非法的函数混用 | 检查并修正 SQL 语句 |
|
||
| 0x80002650 | Window query not supported, since no valid timestamp column included in the result of subquery | 窗口查询依赖的主键时间戳列不存在 | 检查并修正 SQL 语句 |
|
||
| 0x80002651 | No columns can be dropped | 必须的列不能被删除 | 检查并修正 SQL 语句 |
|
||
| 0x80002652 | Only tag can be json type | 普通列不支持 JSON 类型 | 检查并修正 SQL 语句 |
|
||
| 0x80002655 | The DELETE statement must have a definite time window range | DELETE 语句中存在非法 WHERE 条件 | 检查并修正 SQL 语句 |
|
||
| 0x80002656 | The REDISTRIBUTE VGROUP statement only support 1 to 3 dnodes | REDISTRIBUTE VGROUP 指定的 DNODE 个数非法 | 检查并修正 SQL 语句 |
|
||
| 0x80002657 | Fill now allowed | 函数不允许 FILL 功能 | 检查并修正 SQL 语句 |
|
||
| 0x80002658 | Invalid windows pc | 非法使用窗口伪列 | 检查并修正 SQL 语句 |
|
||
| 0x80002659 | Window not allowed | 函数不能在窗口中使用 | 检查并修正 SQL 语句 |
|
||
| 0x8000265A | Stream not allowed | 函数不能在流计算中使用 | 检查并修正 SQL 语句 |
|
||
| 0x8000265B | Group by not allowed | 函数不能在分组中使用 | 检查并修正 SQL 语句 |
|
||
| 0x8000265D | Invalid interp clause | 非法 INTERP 或相关语句 | 检查并修正 SQL 语句 |
|
||
| 0x8000265E | Not valid function ion window | 非法窗口语句 | 检查并修正 SQL 语句 |
|
||
| 0x8000265F | Only support single table | 函数只支持在单表查询中使用 | 检查并修正 SQL 语句 |
|
||
| 0x80002660 | Invalid sma index | 非法创建 SMA 语句 | 检查并修正 SQL 语句 |
|
||
| 0x80002661 | Invalid SELECTed expression | 无效查询语句 | 检查并修正 SQL 语句 |
|
||
| 0x80002662 | Fail to get table info | 获取表元数据信息失败 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002663 | Not unique table/alias | 表名(别名)冲突 | 检查并修正 SQL 语句 |
|
||
| 0x80002664 | Join requires valid time series input | 不支持子查询不含主键时间戳列输出的 JOIN 查询 | 检查并修正 SQL 语句 |
|
||
| 0x80002665 | The _TAGS pseudo column can only be used for subtable and supertable queries | 非法 TAG 列查询 | 检查并修正 SQL 语句 |
|
||
| 0x80002666 | 子查询不含主键时间戳列输出 | 检查并修正 SQL 语句 |
|
||
| 0x80002667 | Invalid usage of expr: %s | 非法表达式 | 检查并修正 SQL 语句 |
|
||
| 0x80002687 | True_for duration cannot be negative | true_for 的值不能是负数 | 检查并修正 SQL 语句 |
|
||
| 0x80002688 | Cannot use 'year' or 'month' as true_for duration | 不能使用 n(月), y(年) 作为 true_for 的时间单位 | 检查并修正 SQL 语句 |
|
||
| 0x80002689 | Invalid using cols function | cols 函数使用错误 | 检查并修正 SQL 语句 |
|
||
| 0x8000268A | Cols function's first param must be a select function that output a single row | cols 函数第一个参数应该为选择函数 | 检查并修正 SQL 语句 |
|
||
| 0x8000268B | Invalid using alias for cols function | cols 函数输出列重命名错误 | 检查并修正 SQL 语句 |
|
||
| 0x8000268C | Join primary key col must be timestamp type | 关联查询主键列等值条件类型错误 | 检查并修正 SQL 语句 |
|
||
| 0x8000268D | Invalid virtual table's ref column | 创建/更新虚拟表时数据源列不正确 | 检查并修正 SQL 语句 |
|
||
| 0x8000268E | Invalid table type | 表类型不正确 | 检查并修正 SQL 语句 |
|
||
| 0x8000268F | Invalid ref column type | 虚拟表列的数据类型与数据源的数据类型不同 | 检查并修正 SQL 语句 |
|
||
| 0x80002690 | Create child table using virtual super table | 创建非虚拟子表 USING 了虚拟超级表 | 检查并修正 SQL 语句 |
|
||
| 0x800026FF | Parser internal error | 解析器内部错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002700 | Planner internal error | 计划期内部错误 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002701 | Expect ts equal | JOIN 条件校验失败 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002702 | Cross join not support | 不支持 CROSS JOIN | 检查并修正 SQL 语句 |
|
||
| 0x80002704 | Planner slot key not found | 生成物理计划时查找不到 slotId | 保留现场和日志,github 上报 issue |
|
||
| 0x80002705 | Planner invalid table type | 计划器生成计划时得到了错误的表类型 | 保留现场和日志,github 上报 issue |
|
||
| 0x80002706 | Planner invalid query control plan type | 计划器生成 dynamic query control 计划时得到的类型不正确 | 保留现场和日志,github 上报 issue |
|
||
|
||
## function
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||
| 0x80002800 | Function internal error | 函数参数输入不合理造成的错误,随错误码会返回具体错误描述信息。比如 APERCENTILE 函数第三个参数指定算法时只能使用字符串"default" | "t-digest", 使用其他输入会报此类错误。或者 TO_ISO8601 函数第二个参数指定时区时,字符串不符合时区格式规范等。 | 根据具体错误描述信息,调整函数输入。 |
|
||
| 0x80002801 | Invalid function para number | 函数输入参数个数不正确。函数规定必须要使用 n 个参数,而用户给定参数个数不为 n。比如 COUNT(col1, col2)。 | 调整函数输入参数为正确个数。 |
|
||
| 0x80002802 | Invalid function para type | 函数输入参数类型不正确。函数输入参数要求为数值类型,但是用户所给参数为字符串。比如 SUM("abc")。 | 调整函数参数输入为正确类型 |
|
||
| 0x80002803 | Invalid function para value | 函数输入参数取值不正确。函数输入参数范围不正确。比如 SAMPLE 函数第二个参数指定采样个数范围为 [1, 1000], 如果不在这个范围内会会报错。 | 调整函数参数输入为正确取值。 |
|
||
| 0x80002804 | Not builtin function | 函数非内置函数。内置函数不在的哈希表中会报错,用户应该很少遇见这个问题,否则是内部内置函数哈希初始化的时候出错或者写坏。 | 客户应该不会遇到,如果遇到,说明程序有 bug,咨询开发人员。 |
|
||
| 0x80002805 | Duplicate timestamps not allowed in function | 函数输入主键列有重复时间戳。对某些依赖时间线顺序函数做超级表查询时,所有子表数据会按照时间戳进行排序后合并为一条时间线进行计算,因此子表合并后的时间戳可能会出现重复,导致某些计算没有意义而报错。涉及到的函数有:CSUM、DERIVATIVE、DIFF、IRATE、MAVG、STATECOUNT、STATEDURATION、TWA | 如果需要对超级表查询并且使用这些依赖时间线顺序函数时,确保子表中不存在重复时间戳数据。 |
|
||
|
||
|
||
## udf
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ---------------------------------- | ------------------------------------------------------------------------------------- | --------------------------------------------- |
|
||
| 0x80002901 | udf is stopping | dnode 退出时,收到 udf 调用 | 停止执行 udf 查询 |
|
||
| 0x80002902 | udf pipe read error | taosd 读取 udfd pipe,发生错误 | udfd 异常退出,1. c udf 崩溃 2. udfd 崩溃 |
|
||
| 0x80002903 | udf pipe connect error | taosd 建立到 udfd 的管道连接时,发生错误 | 1. taosd 对应的 udfd 未启动。重启 taosd |
|
||
| 0x80002904 | udf pip not exist | udf 建立,调用,拆除三个阶段,两个阶段中间发生连接错误,导致连接消失,后续阶段继续执行 | udfd 异常退出,1. c udf 崩溃 2. udfd 崩溃 |
|
||
| 0x80002905 | udf load failure | udfd 加载 udf 时错误 | 1.mnode 中 udf 不存在 2. udf 加载出错。查看日志 |
|
||
| 0x80002906 | udf invalid function input | udf 检查输入 | udf 函数不接受输入,如输入列类型错误 |
|
||
| 0x80002907 | udf invalid bufsize | udf 聚合函数中间结果大于创建 udf 中指定的 bufsize | 增大 bufSize,或者降低中间结果大小 |
|
||
| 0x80002908 | udf invalid output type | udf 输出的类型和创建 udf 中指定的类型 | 修改 udf,或者创建 udf 的类型,使得结果相同 |
|
||
| 0x80002909 | udf program language not supported | udf 编程语言不支持 | 使用支持的语言,当前支持 c、python |
|
||
| 0x8000290A | udf function execution failure | udf 函数执行错误,如返回错误的行数 | 具体查看错误日志 |
|
||
|
||
|
||
## sml
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | -------------------------------- | ----------------------------------------------- | --------------------------------------------------------------- |
|
||
| 0x80003000 | Invalid line protocol type | schemaless 接口传入的协议非法 | 检查传入的协议是否为 taos.h 中定位的三种 TSDB_SML_PROTOCOL_TYPE |
|
||
| 0x80003001 | Invalid timestamp precision type | schemaless 接口传入的时间精度非法 | 检查传入的协议是否为 taos.h 中定位的七种 TSDB_SML_TIMESTAMP_TYPE |
|
||
| 0x80003002 | Invalid data format | schemaless 接口传入的数据格式非法 | 具体查看 client 端的错误日志提示 |
|
||
| 0x80003004 | Not the same type as before | schemaless 数据一批的多行数据里相同列类型不一致 | 检测数据里每行相同列的数据类型是否一致 |
|
||
| 0x80003005 | Internal error | schemaless 内部逻辑错误,一般不会出现 | 具体查看 client 端的错误日志提示 |
|
||
|
||
|
||
## sma
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ----------------------------- | ---------------------------------------------------------- | -------------------------- |
|
||
| 0x80003100 | Tsma init failed | TSMA 环境初始化失败 | 检查错误日志,联系开发处理 |
|
||
| 0x80003101 | Tsma already exists | TSMA 重复创建 | 避免重复创建 |
|
||
| 0x80003102 | Invalid tsma env | TSMA 运行环境异常 | 检查错误日志,联系开发处理 |
|
||
| 0x80003103 | Invalid tsma state | 流计算下发结果的 vgroup 与创建 TSMA index 的 vgroup 不一致 | 检查错误日志,联系开发处理 |
|
||
| 0x80003104 | Invalid tsma pointer | 在处理写入流计算下发的结果,消息体为空指针。 | 检查错误日志,联系开发处理 |
|
||
| 0x80003105 | Invalid tsma parameters | 在处理写入流计算下发的结果,结果数量为 0。 | 检查错误日志,联系开发处理 |
|
||
| 0x80003113 | Tsma optimization cannot be applied with INTERVAL AUTO offset. | 当前查询条件下使用 INTERVAL AUTO OFFSET 无法启用 tsma 优化。 | 使用 SKIP_TSMA Hint 或者手动指定 INTERVAL OFFSET。 |
|
||
| 0x80003150 | Invalid rsma env | Rsma 执行环境异常。 | 检查错误日志,联系开发处理 |
|
||
| 0x80003151 | Invalid rsma state | Rsma 执行状态异常。 | 检查错误日志,联系开发处理 |
|
||
| 0x80003152 | Rsma qtaskinfo creation error | 创建流计算环境异常。 | 检查错误日志,联系开发处理 |
|
||
| 0x80003153 | Rsma invalid schema | 启动恢复时元数据信息错误 | 检查错误日志,联系开发处理 |
|
||
| 0x80003154 | Rsma stream state open | 打开流算子状态存储失败 | 检查错误日志,联系开发处理 |
|
||
| 0x80003155 | Rsma stream state commit | 提交流算子状态存储失败 | 检查错误日志,联系开发处理 |
|
||
| 0x80003156 | Rsma fs ref error | 算子文件引用计数错误 | 检查错误日志,联系开发处理 |
|
||
| 0x80003157 | Rsma fs sync error | 算子文件同步失败 | 检查错误日志,联系开发处理 |
|
||
| 0x80003158 | Rsma fs update error | 算子文件更新失败 | 检查错误日志,联系开发处理 |
|
||
|
||
|
||
## index
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | ---------------- | --------------------------------------------------------------------- | -------------------------- |
|
||
| 0x80003200 | INDEX 正在重建中 | 1.写入过快,导致 index 的合并线程处理不过来 2.索引文件损坏,正在重建 | 检查错误日志,联系开发处理 |
|
||
| 0x80003201 | 索引文件损坏 | 文件损坏 | 检查错误日志,联系开发处理 |
|
||
|
||
|
||
## tmq
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
| ---------- | --------------------- | -------------------------------------------------------------------------------- | ------------------------------ |
|
||
| 0x800003E6 | Consumer not exist | Consumer 超时下线 | 重新建 consumer 订阅数据 |
|
||
| 0x800003EA | Consumer not ready | Consumer 正在平衡中 | 等待 2 秒后重试 |
|
||
| 0x80004000 | Invalid message | 订阅到的数据非法,一般不会出现 | 具体查看 client 端的错误日志提示 |
|
||
| 0x80004001 | Consumer mismatch | 订阅请求的 vnode 和重新分配的 vnode 不一致,一般存在于有新消费者加入相同消费者组里时 | 内部错误 |
|
||
| 0x80004002 | Consumer closed | 消费者已经不存在了 | 查看是否已经 close 掉了 |
|
||
| 0x80004017 | Invalid status, please subscribe topic first | 数据订阅状态不对 | 没有调用 subscribe,直接 poll 数据 |
|
||
| 0x80004100 | Stream task not exist | 流计算任务不存在 | 具体查看 server 端的错误日志 |
|
||
|
||
|
||
## virtual table
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
|------------|---------------------------------------------------------|------------------------------------------------|-------------------------|
|
||
| 0x80006200 | Virtual table scan 算子内部错误 | virtual table scan 算子内部逻辑错误,一般不会出现 | 具体查看 client 端的错误日志提示 |
|
||
| 0x80006201 | Virtual table scan invalid downstream operator type | 由于生成的执行计划不对,导致 virtual table scan 算子的下游算子类型不正确 | 保留 explain 执行计划,联系开发处理 |
|
||
| 0x80006202 | Virtual table prim timestamp column should not has ref | 虚拟表的时间戳主键列不应该有数据源,如果有,后续查询虚拟表的时候就会出现该错误 | 检查错误日志,联系开发处理 |
|
||
| 0x80006203 | Create virtual child table must use virtual super table | 虚拟子表必须建在虚拟超级表下,否则就会出现该错误 | 创建虚拟子表的时候,USING 虚拟超级表 |
|
||
| 0x80006204 | Virtual table not support decimal type | 虚拟表不支持 decimal 类型 | 创建虚拟表时不使用 decimal 类型的列/tag |
|
||
| 0x80006205 | Virtual table not support in STMT query and STMT insert | 不支持在 stmt 写入和查询中使用虚拟表 | 不在 stmt 写入和查询中使用虚拟表 |
|
||
| 0x80006206 | Virtual table not support in Topic | 不支持在订阅中使用虚拟表 | 不在订阅中使用虚拟表 |
|
||
| 0x80006207 | Virtual super table query not support origin table from different databases | 虚拟超级表不支持子表的数据源来自不同的数据库 | 确保虚拟超级表的子表的数据源都来自同一个数据库 |
|
||
|
||
|
||
## TDgpt
|
||
|
||
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
|
||
|------------|-----------------------------------------------------|----------------|--------------------------------------|
|
||
| 0x80000440 | Analysis service response is NULL | 分析服务返回错误 | 检查服务端日志确认返回信息是否正确 |
|
||
| 0x80000441 | Analysis service can't access | 分析服务无法使用 | 检查 anoded 服务是否可用 |
|
||
| 0x80000442 | Analysis algorithm is missing | 未指定分析算法名称 | 增加算法名称 |
|
||
| 0x80000443 | Analysis algorithm not loaded | 指定算法未加载 | 指定算法未加载 |
|
||
| 0x80000444 | Analysis invalid buffer type | 缓存数据格式不对 | 具体查看 server 端的错误日志 |
|
||
| 0x80000445 | Analysis failed since anode return error | anode 返回错误信息 | 请检查服务端日志确认问题原因 |
|
||
| 0x80000446 | Analysis failed since too many input rows for anode | 输入数据太多 | 减小分析数据输入规模 |
|
||
| 0x80000447 | white-noise data not processed | 白噪声数据不分析 | |
|
||
| 0x80000448 | Analysis internal error, not processed | anode 出现内部错误 | 具体查看 server 端的日志 (taosanode.app.log) |
|
||
| 0x80000449 | Analysis failed since not enough rows | 预测分析输入数据行数太少 | 增加输入数据规模(预测至少 10 行记录) |
|
||
| 0x8000044A | Not support co-variate/multi-variate forecast | 不支持协变量/多变量预测 | 更换使用的预测模型 |
|