Commit graph

18 commits

Author SHA1 Message Date
Yihao Deng
0b50ab8d8c
enh: update show creata table (#32320) 2025-07-29 10:37:47 +08:00
huohong
71f3109e60 fix failed case 2025-07-19 09:57:01 +08:00
huohong
8d4b7b2e07 fix failed case 2025-07-18 11:42:16 +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
20ffa6b55e
test: rename tdsql functions (#31065) 2025-05-17 11:47:26 +08:00
Simon Guan
b874cf66fe
test: migrate cases (#31037) 2025-05-16 20:35:26 +08:00
Nie Minhui
b68ae4bb93
reorganized catalog (#31099)
* reorganized catalog

* reorganized catalog
2025-05-16 11:30:57 +08:00
Simon Guan
dbcc15b57c
test: migrate cases (#31050) 2025-05-12 09:00:19 +08:00
Simon Guan
be0cb312b0
test: migrat cases (#31032) 2025-05-10 09:12:33 +08:00
Simon Guan
2156b6e8ff
test: remove unused files (#31024) 2025-05-08 23:08:29 +08:00
Simon Guan
78dbc6947c
test: migrate cases (#30997) 2025-05-08 10:51:33 +08:00
Simon Guan
b2169c0c9a
test: migrate cases (#30987) 2025-05-07 13:38:12 +08:00
Simon Guan
51e53a7926
test: migrate cases (#30979) 2025-05-06 17:31:34 +08:00
Simon Guan
e7dee103fb
test: migrate cases (#30976) 2025-05-06 13:32:43 +08:00
Simon Guan
94d57f739e
test: migrate cases (#30974) 2025-05-05 17:36:46 +08:00
Simon Guan
644972d160
test: migrate cases (#30973) 2025-05-05 14:08:10 +08:00
Simon Guan
d42ce53afe
test: migrate cases (#30960) 2025-04-30 12:45:50 +08:00
Simon Guan
23c0574059
test: migrate cases (#30957) 2025-04-30 10:35:45 +08:00