Weny Xu
0a959f9920
feat: add TLS support for mysql backend ( #6979 )
...
* refactor: move etcd tls code to `common-meta`
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: move postgre pool logic to `utils::postgre`
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: setup mysql ssl options
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: add test for mysql backend with tls
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: simplify certs generation
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-09-16 13:46:37 +00:00
Weny Xu
7aba9a18fd
chore: add tests for postgre backend with tls ( #6973 )
...
* chore: add tests for postgre backend with tls
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: minor
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-09-16 11:03:11 +00:00
liyang
e595885dc6
chore: use greptime dockerhub image ( #6865 )
...
Signed-off-by: liyang <daviderli614@gmail.com >
2025-09-01 11:07:26 +00:00
liyang
7bc669e991
chore: update bitnami config ( #6847 )
...
* chore: update bitnami config
Signed-off-by: liyang <daviderli614@gmail.com >
* update postgresql chart version
Signed-off-by: liyang <daviderli614@gmail.com >
* fix ci
Signed-off-by: liyang <daviderli614@gmail.com >
* refactor: add pull-test-deps-images.sh to pull images one by one to avoid rate limit
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: liyang <daviderli614@gmail.com >
Signed-off-by: zyy17 <zyylsxm@gmail.com >
Co-authored-by: zyy17 <zyylsxm@gmail.com >
2025-08-29 02:45:14 +00:00
Logic
cbcfdf9d65
feat: add optional schema for Postgres metadata tables ( #6764 )
...
* feat(meta): add optional schema for Postgres metadata tables
- Add `schema` option to specify a custom schema for metadata tables
- Update `PgStore` and `PgElection` to support optional schema
- Modify SQL templates to use schema when provided
- Add tests for schema support in Postgres backend
Signed-off-by: Logic <zqr10159@dromara.org >
* refactor(meta): remove unused `create_schema_statement` and simplify `PgSqlTemplateFactory`
- Remove `create_schema_statement` from `PgSqlTemplateSet` struct
- Simplify `PgSqlTemplateFactory` by removing `new` method and merging it with `with_schema`
- Update related tests to reflect these changes
Signed-off-by: Logic <zqr10159@dromara.org >
* refactor(meta-srv): remove unused imports
- Remove unused import of BoxedError from common_error::ext- Remove unused import of TlsOption from servers::tls
Signed-off-by: Logic <zqr10159@dromara.org >
* build(meta): update Postgres version and add error handling imports
- Update Postgres version to 17 in docker-compose.yml
- Add BoxedError import for error handling in meta-srv
Signed-off-by: Logic <zqr10159@dromara.org >
* feat(postgres): add support for optional schema in PgElection and related components
Signed-off-by: Logic <zqr10159@dromara.org >
* feat(postgres): add support for optional schema in PgElection and related components
Signed-off-by: Logic <zqr10159@dromara.org >
* fix(develop): update Postgres schema commands to specify host
Signed-off-by: Logic <zqr10159@dromara.org >
* refactor(postgres): simplify plugin options handling and update SQL examples
Signed-off-by: Logic <zqr10159@dromara.org >
* refactor(postgres): simplify plugin options handling and update SQL examples
Signed-off-by: Logic <zqr10159@dromara.org >
* fix(postgres): update meta_election_lock_id description for optional schema support
Signed-off-by: Logic <zqr10159@dromara.org >
* fix(postgres): add health check and fallback wait for Postgres in CI setup
* fix(postgres): update Docker setup for Postgres and add support for Postgres 15
* fix(postgres): remove redundant Postgres setup step in CI configuration
* Update tests-integration/fixtures/postgres/init.sql
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* Update .github/workflows/develop.yml
* Update tests-integration/fixtures/docker-compose.yml
* Update src/common/meta/src/kv_backend/rds/postgres.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* Update src/common/meta/src/kv_backend/rds/postgres.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* Update src/common/meta/src/kv_backend/rds/postgres.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* Update src/common/meta/src/kv_backend/rds/postgres.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* fix: Refactor PostgreSQL backend to support optional schema in PgStore and related SQL templates
* feat: Update PostgreSQL configuration and add PG15 specific integration tests
* feat: Update PostgreSQL configuration and add PG15 specific integration tests
* refactor(postgres): update test schemas from 'greptime_schema' to 'test_schema'
* Update .github/workflows/develop.yml
* refactor: minor factor
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix unit test
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: Logic <zqr10159@dromara.org >
Signed-off-by: WenyXu <wenymedia@gmail.com >
Co-authored-by: Weny Xu <wenymedia@gmail.com >
2025-08-28 09:24:14 +00:00
Yan Tingwang
32a3ef36f9
feat(metasrv): support tls for etcd client ( #6818 )
...
* add TLS support for etcd client connections~
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
* locate correct certs
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
* Updated certs
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
* Updated CI
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
* Updated CI
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
* Update docker-compose.yml
* tests for TLS client creation
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
* modify tests
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
---------
Signed-off-by: codephage2020 <tingwangyan2020@163.com >
2025-08-27 07:41:05 +00:00
Weny Xu
864cc117b3
fix: append noop entry when auto topic creation is disabled ( #6092 )
...
* feat: improve topic management and add stale records cleanup
* fix: fix unit tests
* chore: apply suggestions from CR
* chore: apply suggestions from CR
2025-05-16 11:26:47 +00:00
Weny Xu
30f1cbf0bf
chore: bump rskafka version ( #6090 )
...
* chore: upgrade rskafka
* chore(test): bump kafka version
2025-05-13 11:57:31 +00:00
Yohan Wal
af1920defc
feat: add mysql kvbackend ( #5528 )
...
* feat: add mysql kvbackend txn support
* chore: error handling
* chore: follow review comments
* chore: follow review comments
* chore: follow review comments
* revert: mysql QAQ
* revert: revert changes to sqls
This reverts commit cf98c50dd9 .
* chore: add comments
2025-03-12 06:52:56 +00:00
Ning Sun
ddf36c8324
ci: disable docker/rust cache temporarily and merge docker compose files ( #5293 )
...
* ci: disable docker cache temporarily and merge docker compose files
* ci: fix compose file name and options
* ci: try to disable rust cache
2025-01-06 08:23:46 +00:00