mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-20 15:00:40 +00:00
* refactor: refactor wal config * test: update tests related to wal * feat: introduce kafka wal config * chore: augment proto with wal options * feat: augment region open request with wal options * feat: augment mito region with wal options * feat: augment region create request with wal options * refactor: refactor log store trait * feat: add skeleton for kafka log store * feat: generalize building log store when starting datanode * feat: integrate wal options to region write * chore: minor update * refactor: remove wal options from region create/open requests * fix: compliation issues * chore: insert wal options into region options upon initializing region server * chore: integrate wal options into region options * chore: fill in kafka wal config * chore: reuse namespaces while writing to wal * chore: minor update * chore: fetch wal options from region while handling truncate/flush * fix: region options test * fix: resolve some review conversations * refactor: serde with wal options * fix: resolve some review conversations
Setup
To run the integration test, please copy .env.example to .env in the project root folder and change the values on need.
Take s3 for example. You need to set your S3 bucket, access key id and secret key:
# Settings for s3 test
GT_S3_BUCKET=S3 bucket
GT_S3_REGION=S3 region
GT_S3_ACCESS_KEY_ID=S3 access key id
GT_S3_ACCESS_KEY=S3 secret access key
Run
Execute the following command in the project root folder:
cargo test integration
Test s3 storage:
cargo test s3
Test oss storage:
cargo test oss
Test azblob storage:
cargo test azblob