Commit graph

19 commits

Author SHA1 Message Date
Kaili Xu
b3e56f99ae
enh(rbac): access control (#34259) 2026-01-28 19:06: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
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
xiao-77
bc95f82373 add ut . 2024-12-30 17:45:43 +08:00
xiao-77
c822e57aef fix windows build. 2024-12-24 22:57:51 +08:00
xiao-77
3a29a7e2c3 fix windows build. 2024-12-24 22:15:36 +08:00
xiao-77
eaa416f7f0 Fix res check. 2024-12-24 20:03:02 +08:00
xiao-77
3c3e8fdbff Add wal & config UT. 2024-12-24 17:34:57 +08:00
xiao-77
cda8bd8047 Add category in configuration's struct 2024-10-21 13:51:33 +08:00
Shungang Li
4281289eef feat: (errcode) tconfig.c 2024-07-24 15:16:46 +08:00
Haojun Liao
2b44211928 fix(test): update test case and fix a typo. 2024-05-15 14:52:59 +08:00
Haojun Liao
e1cd7710ed fix(test): fix error in unit test. 2024-04-25 14:23:54 +08:00
Shungang Li
c6f5e2a9bd enh: add dynamic configuration 2023-11-03 14:28:02 +08:00
afwerar
5acf419019 fix(os): win not close file ctest error 2022-05-21 23:47:39 +08:00
afwerar
f966242047 feature(dnode): mul parameter start. 2022-04-25 13:57:55 +08:00
Shengliang Guan
9fc0fa4fee minor changes 2022-02-28 16:45:25 +08:00
Shengliang Guan
9a9e87ec34 config from hash to array 2022-02-28 16:29:25 +08:00
Shengliang Guan
6f92389ad0 arg list 2022-02-25 10:40:53 +08:00
Shengliang Guan
4278439666 refact config 2022-02-24 18:13:57 +08:00
Renamed from source/libs/config/test/cfgTest.cpp (Browse further)