TDengine/source/dnode/mnode/impl/inc
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
..
mndAcct.h
mndAnode.h enh(analysis): add the algorithm in telemetry report. 2025-01-23 00:29:18 +08:00
mndArbGroup.h fix/TS-5805-check-arb 2024-12-25 02:43:51 +00:00
mndBnode.h feat(mqtt): mqtt subscription (#30127) 2025-06-25 14:58:51 +08:00
mndCluster.h feat: support uniq grant 2024-01-22 13:20:15 +08:00
mndCompact.h fix/TD-30742 2024-08-02 04:46:30 +00:00
mndCompactDetail.h more code 2024-11-13 16:17:16 +08:00
mndConfig.h merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
mndConsumer.h fix(tmq): add log 2025-04-24 11:45:37 +08:00
mndDb.h feat: support mount data path (#31677) 2025-07-12 15:39:29 +08:00
mndDef.h feat[ts-6107]: shared storage (#31552) 2025-07-14 16:33:53 +08:00
mndDnode.h Merge branch '3.0' into enh/3.0/TD-31709 2024-12-16 10:00:02 +08:00
mndFunc.h
mndGrant.h feat: support uniq grant 2024-02-13 23:17:05 +08:00
mndIndex.h enh: change redo logs of trans create-stb-index and drop-index as prepare logs 2024-02-23 10:22:58 +08:00
mndIndexComm.h fix iter and case 2023-02-18 18:24:10 +08:00
mndInfoSchema.h
mndInt.h enh: adjust some logs 2025-02-27 09:55:11 +08:00
mndMnode.h feat/restore dnode 2023-05-09 17:15:37 +08:00
mndMount.h feat: support mount data path (#31677) 2025-07-12 15:39:29 +08:00
mndPerfSchema.h
mndPrivilege.h feat: database engine (taosd) supports IPV6 (#31101) 2025-06-10 09:18:58 +08:00
mndProfile.h
mndQnode.h feat/restore dnode 2023-05-09 17:15:37 +08:00
mndQuery.h
mndScheduler.h feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
mndShow.h feat: support mount data path (#31677) 2025-07-12 15:39:29 +08:00
mndSma.h tsma avoid fetching tsma for no tsma tables 2024-04-16 14:25:34 +08:00
mndSnode.h
mndSsMigrate.h feat[ts-6107]: shared storage (#31552) 2025-07-14 16:33:53 +08:00
mndStb.h feat: support mount data path (#31677) 2025-07-12 15:39:29 +08:00
mndStream.h fix(stream): collect involved tasks firstly. 2025-05-21 18:41:47 +08:00
mndSubscribe.h feat[TS-6115]: support deletion of topics with active consumers. (#30232) 2025-03-18 14:11:00 +08:00
mndSync.h
mndTelem.h
mndTopic.h fix:[TD-31115] add consumer check when drop topic or group in tmq 2024-08-06 19:27:42 +08:00
mndTrans.h enh: [TS-6089] trans-parallel (#30265) 2025-05-29 16:49:43 +08:00
mndUser.h feat: support mount data path (#31677) 2025-07-12 15:39:29 +08:00
mndVgroup.h feat[ts-6107]: shared storage (#31552) 2025-07-14 16:33:53 +08:00
mndView.h feat: support view meta updating 2023-10-13 16:29:34 +08:00