Commit graph

16 commits

Author SHA1 Message Date
Simon Guan
6f5f0c3e9c Merge branch '3.0' into merge/mainto3.0_1 2025-07-16 18:07:06 +08:00
She Yanjie
72a2665feb
feat: use the new TDengine product name (#31859) 2025-07-15 10:15:57 +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
Yihao Deng
5f1e6fa4b6
update ip -white-list log (#31331) 2025-06-16 19:50:42 +08:00
Shengliang Guan
e844ced5c1 Merge remote-tracking branch 'freemine/freemine.bypass.specific.test.case.for.community' into fix/contrib 2025-01-17 09:21:05 +08:00
Minglei Jin
1f8a18d645 test/tcs: fix UT for community edition 2025-01-06 16:32:02 +08:00
freemine
4ac3d55709 bypass some specific test case which believes to fail in community version of taos 2025-01-01 16:15:37 +08:00
Minglei Jin
bc247650c5 test/az: use env vars for az testing cases 2024-10-22 12:35:32 +08:00
Minglei Jin
aa14186f18 test/tcs, _azure_sdk: use env vars for blob ut 2024-10-22 09:52:24 +08:00
Minglei Jin
35c200e6ec tcs/test: ut for s3 based tcs 2024-10-21 17:14:55 +08:00
Minglei Jin
69bc051b9a tcs/test: cleanup unused cases 2024-10-17 15:44:31 +08:00
Minglei Jin
12318f3a6d tcs/test: disable test cases for ci ut run 2024-10-17 14:40:26 +08:00
Minglei Jin
5e14f65fb9 tcs/test: new blob test for checkcfg 2024-10-16 19:01:39 +08:00
Minglei Jin
d81fa80865 az: remove unused key newing 2024-10-16 17:27:32 +08:00
Minglei Jin
b05784f524 tcs: fix mac stb link issue 2024-10-16 16:45:38 +08:00
Minglei Jin
c5b4cc760b tcs: link az later 2024-10-10 13:15:51 +08:00