Commit Graph

358 Commits

Author SHA1 Message Date
Haojun Liao 9ee9174608 other: merge 3.0 2023-11-11 15:48:31 +08:00
Haojun Liao 801b211cd8 refactor:do some internal refactor. 2023-11-11 15:39:45 +08:00
wangmm0220 07aa749fcd fix:adapt to windows 2023-11-08 10:28:45 +08:00
kailixu 135c411bd5 enh: set thread name for windows 2023-10-12 17:27:16 +08:00
xsren a24817e85c semaphore test 2023-09-26 20:48:56 +08:00
kailixu 8f828e052b enh: timeseries calculation optimization 2023-09-22 20:07:51 +08:00
kailixu 97c87bdbdc enh: mutex/rwlock/pread/pwrite adaption for windows 2023-09-20 15:35:38 +08:00
xsren 8787e0d58c build failed on linux 2023-09-12 14:30:11 +08:00
kailixu f4dd1895b2 Merge branch '3.0' into feat/TD-25964-3.0 2023-08-31 08:56:53 +08:00
kailixu eb7d2d495a chore: supports obtaining physical/virtual CPU cores 2023-08-30 15:21:03 +08:00
dapan1121 f6321d0c4f Merge remote-tracking branch 'origin/main' into fix/m23.1 2023-08-30 11:03:33 +08:00
wangmm0220 26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
Ganlin Zhao c8c30e0a00 fix 2023-08-25 10:15:52 +08:00
Ganlin Zhao af130cc92f Revert "add seperate function for createLogs"
This reverts commit 13d2d72bb6.
2023-08-25 09:55:50 +08:00
Ganlin Zhao 13d2d72bb6 add seperate function for createLogs 2023-08-24 14:56:14 +08:00
Ganlin Zhao 962a0cd403 fix 2023-08-23 23:34:02 +08:00
wangmm0220 b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
wangmm0220 f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
Haojun Liao 63bc50a723
Merge pull request #22427 from taosdata/feature/rebuildIndex0
rebuild index at tag0
2023-08-16 09:47:43 +08:00
yihaoDeng 1447d1d55c rebuild index at tag0 2023-08-15 00:40:12 +00:00
Minglei Jin 33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
jiacy-jcy 6fd2ae138e fix: taosMktime on windows platform 2023-08-07 17:32:20 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
kailixu 1d23b0215c fix: exclude sys/sysinfo.h for mac 2023-07-24 10:07:15 +08:00
kailixu 3b11661c40 chore: code optimization 2023-07-24 09:14:49 +08:00
kailixu e566c051f7 chore: code optimization 2023-07-24 09:03:19 +08:00
kailixu d597ba8e71 chore: code optimize 2023-07-24 06:35:54 +08:00
kailixu 3cfa49066a chore: uptime logic optimize 2023-07-23 23:25:58 +08:00
kailixu 163adf1908 chore: dm monitor refactor 2023-07-14 13:27:19 +08:00
yihaoDeng 4f2f441816 fix invalid free 2023-06-05 09:06:50 +00:00
yihaoDeng d7ff00a9d2 change write opt 2023-04-21 08:47:43 +00:00
yihaoDeng 98bc1b6101 change write opt 2023-04-20 01:55:44 +00:00
yihaoDeng 6f6fd3e147 fix compile error 2023-04-17 15:01:41 +00:00
yihaoDeng b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
Shuduo Sang 5e2b26f146
chore: refactor cus prompt (#20688)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-30 19:30:54 +08:00
yihaoDeng 86fe216921 add backend 2023-03-28 11:23:24 +00:00
Haojun Liao d18dd3067b other: merge main. 2023-02-28 00:38:37 +08:00
Haojun Liao 5e9f53560d
Merge branch 'main' into feature/3_liaohj 2023-02-27 18:23:35 +08:00
Haojun Liao b46098793d refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:16:45 +08:00
Haojun Liao f933f604e4 fix: undefine the strdup by default. 2023-02-25 11:09:24 +08:00
Haojun Liao a217b3e457 fix(query): fix syntax errors on centos. 2023-02-24 13:37:35 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang 7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
merge main
2023-02-21 16:27:19 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
dapan1121 1128b1222b feat: add memory debug option 2023-02-17 17:40:14 +08:00
Haojun Liao a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
Ganlin Zhao 3b03341de4 fix: setting logKeepDays to -1 result in old log files not compressed and
empty.
2023-02-07 18:15:55 +08:00
Haojun Liao e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
Shengliang Guan d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
dapan1121 5a98690a63 fix: windows stack display issue 2023-01-06 13:39:36 +08:00
xinsheng Ren 936f282eab
TD-21220 fix assert (#19363)
* TD-21220 fix assert

* fix/compile failed

* fix/taosEOFFile exception return

Co-authored-by: facetosea <25808407@qq.com>
2023-01-05 09:20:14 +08:00
dapan 47125b5d9d fix: windows crash report issues 2023-01-04 15:11:01 +08:00
dapan1121 b8cbc93584 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 17:38:38 +08:00
xinsheng Ren e93863a652
enh/TD-21425/windows print trace (#19258)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:39 +08:00
xinsheng Ren fcf64fa3d5
Enh/xsren/win print trace mainbase (#19279)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:15 +08:00
dapan1121 8ff3b2fda3 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 13:31:37 +08:00
dapan1121 dfefb68aa6 feat: support crash report 2022-12-30 13:30:54 +08:00
xinsheng Ren 1876d6d748 Fix/xsren/td 20817 mac fqdn (#19078)
* fix/TD-20817-mac-fqdn use localhostname

* fix/TD-20817-mac-fqdn redundant codes

* fix/TD-20817-mac-fqdn,replace command with api

Co-authored-by: facetosea <25808407@qq.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-12-29 09:38:48 +08:00
xinsheng Ren 853b93fbe1
Fix/xsren/td 20817 mac fqdn (#19078)
* fix/TD-20817-mac-fqdn use localhostname

* fix/TD-20817-mac-fqdn redundant codes

* fix/TD-20817-mac-fqdn,replace command with api

Co-authored-by: facetosea <25808407@qq.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-12-29 09:21:20 +08:00
Shengliang Guan 04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Haojun Liao 8f02297890 refactor: do some internal refactor. 2022-12-12 17:53:04 +08:00
Shengliang Guan a3c1d3e1ba fix: compile error in windows 2022-12-08 12:26:10 +08:00
Shengliang Guan 1d34b7edf8 enh: print dnode startup parameters 2022-12-08 10:50:24 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Shengliang Guan c6e9b8c0fa enh: add tassert funcs 2022-12-07 16:27:20 +08:00
Shengliang Guan e7ee48fd38 enh: add tassert funcs 2022-12-07 16:06:07 +08:00
Hongze Cheng 3fc30c991e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-01 18:59:21 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Shengliang Guan fd31980b91
Merge pull request #18535 from taosdata/enh/addTraceInfo
enh: add trace info
2022-11-30 17:23:20 +08:00
Hongze Cheng df7c07a541 Merge branch 'fix/tdb-async-commit' of https://github.com/taosdata/TDengine into feat/async_commit 2022-11-30 16:48:09 +08:00
Shuduo Sang f565ff3769
fix: get cpuid on x86 only (#18552)
* chore: taostools sanitizer flag align with tdengine

* chore: re-enable old style build asan config for taos-tools

* chore: update taos-tools 274d230

* chore: update taos-tools and add x86 definition

* fix: get cpu id on x86 only
2022-11-29 23:42:20 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
wangmm0220 10c0d45b3a fix: cpuid.h error in mac for M1 cpu type 2022-11-29 11:57:12 +08:00
yihaoDeng 5425d67c9a add timestamp to msg head 2022-11-29 11:40:58 +08:00
Benguang Zhao d52e731953 fix: define CLOCK_MONOTONIC for Win OS 2022-11-29 09:34:28 +08:00
Minglei Jin 7a7d7f7d00 tdb/write: new tdbPWriteFile api for commit and prep async to maindb 2022-11-28 17:31:11 +08:00
Benguang Zhao dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Haojun Liao d77f5fa70c fix(query): fix error in windows and darwin system. 2022-11-25 22:54:54 +08:00
Haojun Liao 7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
Liu Jicong ec7df42347 fix(tmq): time wait 2022-11-25 13:33:15 +08:00
Haojun Liao 611ab8b394 refactor: make sure the memory is aligned to 32 bytes. 2022-11-23 21:52:51 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Benguang Zhao def4058eb1 feat: impl pipelining negotiation 2022-11-11 22:55:21 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Cary Xu 4ef8676aaf fix: invalid read of tsdb path 2022-11-02 17:11:12 +08:00
Cary Xu a96534d945 fix: invalid read problem of tsdb path 2022-11-01 17:07:24 +08:00
Cary Xu 0b6d117121 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 11:44:17 +08:00
Cary Xu d42214e94a fix: add TD_PATH_MAX to support multi-platform 2022-11-01 11:09:27 +08:00
Cary Xu 9f14c599f2 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 10:49:27 +08:00
gccgdb1234 f52000d86e return mem to os 2022-10-29 22:25:40 +08:00
Shengliang Guan 79f16a6d54 refact: remove multi process codes 2022-10-19 17:53:01 +08:00
Shengliang Guan 8764cf9adb refact: remove multi process codes 2022-10-19 11:08:42 +08:00
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 56b32a77a4 fix: allow to restart on disk space full, e.g. in dmCheckDiskSpace 2022-10-14 22:57:27 +08:00