Commit graph

77 commits

Author SHA1 Message Date
pengrongkun94@qq.com
5b072f702c Merge remote-tracking branch 'origin/3.3.6' into HEAD 2025-12-04 11:07:41 +08:00
Zhixiao Bao
22716053d1
fix: update config transaction is stuck. (#33793) 2025-12-03 16:39:55 +08:00
Tony Zhang
40c482f455 Merge branch '3.3.6' into merge/3.3.6tomain 2025-10-30 16:09:58 +08:00
Zhixiao Bao
d084bc5f87
fix: change sdb config before send req to dnode. (#33408) 2025-10-30 09:53:08 +08:00
Simon Guan
39e0f97694
merge: from 3.3.6 to main #33344 2025-10-23 10:33:02 +08:00
Zhixiao Bao
320f6dc2dc
fix: use trans to alter global config. (#33324) 2025-10-23 08:24:34 +08:00
Simon Guan
75492f7346 Merge branch 'merge/tmp' into merge/3.3.6tomain 2025-09-16 09:35:54 +08:00
dongming chen
0d6d5265fd
fix: TS-7219-update-in-sdb (#32968) 2025-09-15 15:29:18 +08:00
Bomin Zhang
876979b5f5
feat[ts-6107]: shared storage (#31552)
* add API to use s3 as shared storage

* support using local file system as shared storage

* upload file to shared storage

* support read, compact and drop

* finish basic mnode & vnode msg processing

* follower sync migration state

* implement mnode transaction, and improve log

* send migration progress msg to dnode to avoid deadlock

* implement following migration

* remove mcount

* avoid redo migration on startup

* avoid follower deadlock when leader is down

* trigger migrate by timer,  avoid compact after migration

* comment out the usage of 'tcs' functions in stream

* change config item prefix from s3 to ss

* change db option prefix from s3 to ss

* rename s3 data struct, function, file to ss

* rename s3 macro to ss

* update s3 sql to ss

* rename remaining s3 items to ss

* check ss configruation, improve s3 retry

* grant object storage -> shared storage,  check ssEnabled

* fix memory leaks

* update build options

* omit sensitive information when dump config

* fix backward compatibility issue

* fix issues found in ci-checks

* fix some failed test cases

* avoid follower timeout and improve log

* fix: follower timeout because migration status not updated

* refuse migration if there's an in progress one

* fix ss test case

* remove garbage files and other minor improvement

* fix failed test cases

* update unit test

* fix failed test case

* fix failed test case

* update document

* update document and fix failed test cases

* fix minor issues in code, test and document

* check new commit after migration task is scheduled

* fix several issus

1. migrate information cannot be dropped sometimes because progress response was put into read queue.
2. memory leak in rare cases
3. data corruption in rare cases
4. failed test case

* add shared storage upgrade tool

* fix compile error
2025-07-14 16:33:53 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
Zhixiao Bao
6df806eb9c
fix: update config error while start dnode. (#31567) 2025-07-01 17:25:51 +08:00
Zhixiao Bao
e25da1cd35
fix: taosd fails to start after modifying the timezone configuration parameter. 2025-04-17 19:19:05 +08:00
Zhixiao Bao
34a41bf54c
fix: crash while upgrade taosd to 3362. (#30712) 2025-04-09 18:53:47 +08:00
xinsheng Ren
4edddd6038
Merge branch '3.0' into enh/TS-5650/showLike 2025-03-07 10:29:35 +08:00
factosea
6da2e6f547 fix: test case 2025-03-02 22:48:21 +08:00
factosea
e91014f807 feat: show variables like 2025-03-02 22:48:05 +08:00
Haojun Liao
f8cc9648f6 fix(stream): fix memory leak. 2025-03-01 15:33:31 +08:00
xiao-77
adfab1f2b6 Fix some review errors. 2025-02-08 18:51:39 +08:00
xiao-77
4011d01148 Fix some review errors. 2025-02-08 17:42:48 +08:00
xiao-77
7707e5d8dd Fix some review errors. 2025-02-08 17:37:15 +08:00
xiao-77
a2f11f21c9 Fix review problems. 2025-02-08 17:07:55 +08:00
xiao-77
72f228fa97 Fix build errors. 2025-02-07 18:52:54 +08:00
xiao-77
2cbb7a7814 Fix sdb config compare errors. 2025-02-07 18:49:00 +08:00
xiao-77
c3e025713b Rename some vars. 2025-01-09 13:38:20 +08:00
xiao-77
c1732ba41d Fix asan problems at ci test. 2025-01-09 13:36:23 +08:00
xiao-77
9eb1239783 Fix mem leak. 2025-01-09 10:50:23 +08:00
xiao-77
742e3251b7 Remove unused rpcRsp. 2025-01-08 15:51:58 +08:00
xiao-77
4a5d575894 Fix unhandle msg. 2025-01-08 15:45:58 +08:00
xiao-77
430e62aab6 Fix double free. 2025-01-08 14:55:37 +08:00
xiao-77
b46bd98f6d Fix mem leak. 2025-01-08 09:29:46 +08:00
xiao-77
e597baa345 Fix mnode = 3 , trans stuck. 2025-01-07 22:01:33 +08:00
xiao-77
77359f26b3 Fix(cfg): resolve dynamic configuration update failure after rolling upgrade to 3.3.5.0 2025-01-07 15:26:01 +08:00
Shengliang Guan
40e246059e
Merge pull request #29178 from taosdata/fix/main/TD-33227
Fix(cfg):can not restart taosd  cause cfg trans exec failed.
2024-12-17 15:25:10 +08:00
xiao-77
474113da4e Move rebuild config sdb to after restored. 2024-12-17 11:22:38 +08:00
xiao-77
6eb183a032 Fix(cfg):only write sdb on leader. 2024-12-17 09:50:18 +08:00
xiao-77
9d733c03b4 Fix merge errors. 2024-12-16 14:13:23 +08:00
xiao-77
b4afa6ff90 Fix merge errors. 2024-12-16 13:44:58 +08:00
xiao-77
c4ed102c11 Merge branch '3.0' into enh/3.0/TD-31709 2024-12-16 10:00:02 +08:00
xiao-77
19ea042318 Fix some review errors. 2024-12-13 12:32:08 +08:00
xiao-77
f8a6489bb8 Fix ci problems. 2024-12-12 19:31:28 +08:00
xiao-77
d6078fd0b7 Enh use tmsg to encode/decode global config. 2024-12-12 17:40:35 +08:00
xiao-77
e2e5f0de4a Add func rebuilt cfg in sdb while add new global cfg. 2024-12-12 11:17:21 +08:00
xiao-77
9f692705c7 Fix ci mem leak. 2024-12-12 09:42:56 +08:00
xiao-77
391efd6bb9 Fix ci errors. 2024-12-11 18:36:07 +08:00
xiao-77
c50781d089 Send alter msg sync. 2024-12-11 15:46:44 +08:00
xiao-77
99f4aadef1 Fix review errors. 2024-12-11 09:35:35 +08:00
xiao-77
28ea9b9f60 Fix review errors. 2024-12-10 20:13:53 +08:00
xiao-77
db2a1a84d3 Fix build errors. 2024-12-10 14:29:12 +08:00
xiao-77
430cf9a806 Fix some review errors. 2024-12-10 14:07:31 +08:00
xiao-77
1ced6069ee Fix some review problems. 2024-12-10 10:39:50 +08:00