Weny Xu
8d2f92c01a
chore: cherry pick fixes and bum version to v1.0.1 ( #8024 )
...
* fix: remap peer addresses during retries (#7933 )
* fix: remap peer addresses during retries
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: styling
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test: add tests
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: using uint64 datatype for postgres prepared statement parameters (#7942 )
* feat: add support for decimal parameter type, remove string replacement fallback
* chore: format
* fix: add support for using unsigned bigint in postgres
* chore: format toml
* refactor: cleanup duplicated code
* fix: rescale decimal
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix current version comparison logic for pre-releases (#7946 )
Signed-off-by: liyang <daviderli614@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(index): intersect bitmaps before early exit in predicates applier (#7867 )
* fix(index): intersect bitmaps before early exit in predicates applier
The loop skipped intersecting when the next bitmap was empty, which left
the accumulator unchanged instead of zeroing it. Intersect first, then
break when the result is empty.
Signed-off-by: Weixie Cui <cuiweixie@gmail.com >
* per gemini
* style(index): format predicates applier loop
* fix(index): remove unused mut in predicates applier
---------
Signed-off-by: Weixie Cui <cuiweixie@gmail.com >
Co-authored-by: discord9 <55937128+discord9@users.noreply.github.com >
Co-authored-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: randomize standalone test ports in cli export test (#7955 )
fix/flaky-test:
### Add Dynamic Port Selection for Standalone Tests
- **`cli.rs`**: Implemented functions `random_standalone_addrs` and `choose_random_unused_port_offset` to dynamically select unused ports for standalone tests, enhancing test reliability.
- Updated `test_export_create_table_with_quoted_names` to use dynamically assigned ports for HTTP, RPC, MySQL, and PostgreSQL addresses.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: fix git cliff errors in latest version (#7947 )
* chore: fix git cliff errors in latest version
- Fix errors in v2.12.0
- Do not generate logs for beta/rc tags between the compared commits
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: preserve blank line before release date in changelog
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: match term zh (#7952 )
* fix: match term zh
Signed-off-by: discord9 <discord9@163.com >
* chore: per gemini
Signed-off-by: discord9 <discord9@163.com >
* chore: revert accident change
Signed-off-by: discord9 <discord9@163.com >
* feat: unicode script han
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* ci: set upload timeout for uploading artifacts to S3 (#7958 )
* ci: set upload timeout for uploading artifacts to S3
Signed-off-by: liyang <daviderli614@gmail.com >
* Update upload-artifacts-to-s3.sh
---------
Signed-off-by: liyang <daviderli614@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: cargo check -p common-meta (#7964 )
fix: moka feature
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: always skip field pruning when using merge mode (#7957 )
* test: add prefilter regressions for last_row null filters
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: skip fields in all merge mode
Signed-off-by: evenyag <realevenyag@gmail.com >
* refactor: simplify pre-filter skip fields handling
Signed-off-by: evenyag <realevenyag@gmail.com >
* test: update test
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: mysql prepare correctly returns error instead of panic (#7963 )
feat: mysql writer support multiple statement execution
Signed-off-by: luofucong <luofc@foxmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: relax azblob validation requirements (#7970 )
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat(mito2): allow CompactionOutput to succeed independently (#7948 )
* refactor(mito2): improve compaction error handling and file removal
Refactor compaction task execution to enhance error handling and robustness.
- Implemented parallel execution of compaction tasks with proper error capture and logging for individual task failures.
- Ensured JoinSnafu is no longer directly used in error propagation, instead handling errors within the task processing loop.
- Adjusted file removal logic to correctly include expired SSTs after compaction merges.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* refactor(mito2): extract SstMerger trait for testability in compaction
Extract SstMerger trait and DefaultSstMerger implementation to improve the testability of DefaultCompactor.
The DefaultCompactor is now generic over SstMerger, allowing mock implementations to be injected for unit testing without relying on the full object storage access layer. This refactoring separates the concerns of SST file merging from the overall compaction orchestration logic.
Additionally:
- Updated CompactionScheduler to use DefaultCompactor::default().
- Added unit tests for DefaultCompactor using a MockMerger.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix(compaction): propagate join error during sst flush
Correctly propagates the error when joining SST flush handles during compaction. Previously, the error was logged but not returned, leading to potential silent failures.
Also reorders some imports for consistency.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* perf(compaction): pre-allocate capacity for compacted_inputs
Pre-allocates capacity for the compacted_inputs vector based on the estimated total size of inputs and expired SSTs. This optimization aims to reduce vector reallocations during the compaction process.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* feat/allow-partial-compaction:
### Commit Message
Enhance `DefaultCompactor` and `MockMerger` for Improved Flexibility
- **`compactor.rs`**:
- Added `Clone` trait to `DefaultSstMerger` and `MockMerger` to allow cloning.
- Removed `Arc` wrapping from `DefaultCompactor`'s `merger` field for direct usage.
- Updated `merge_ssts` method to require `Clone` trait for `SstMerger`.
- Modified `MockMerger` to use `Arc<Mutex>` for `results` and `call_idx` to ensure thread safety.
- Adjusted error handling to use `error::InvalidMetaSnafu` directly.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: propagate staging leader through lease and heartbeat (#7950 )
* feat(mito): expose staging leader role state
* fix(region): clear staging metadata on leader exit
* feat: propagate staging leader role through heartbeat and metasrv
* chore: update comments
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(region): unify staging exit role transitions
* chore: update proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: cancel local compaction for enter staging (#7885 )
* feat(mito2): support cancelling active local compaction
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test(mito2): cover compaction cancellation return paths
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: cancel remaining tasks
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: move group rollback ownership to parent repartition (#7967 )
* refactor(meta-srv): move group rollback ownership to parent repartition procedure
- Parent procedure now owns partial rollback based on failed/unknown subprocedures
- rollback order: group metadata first, then allocated-region cleanup
- original_target_routes captured during build-plan, persisted in RepartitionPlanEntry
- rollback_group_metadata_routes moved to utils as parent-owned helper
- Group subprocedure no longer supports rollback (rollback_supported = false)
- Removed UpdateMetadata::RollbackStaging from group state machine
- Deleted redundant group rollback tests and helpers
BREAKING CHANGE: group Procedure no longer handles rollback; parent procedure
is responsible for crash recovery and selecting which plans to roll back.
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: update comments
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: use PreFilterMode::All if only one source in the partition range (#7973 )
* feat: use PrefilterMode::All if only one source in the partition range
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: consider append_mode
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: skip merge if only one source
Signed-off-by: evenyag <realevenyag@gmail.com >
* test: fix test
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(meta): renew operating region leases from keeper roles (#7971 )
* refactor(meta): store operating region roles in memory keeper
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor(meta): register operating region roles from region routes
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor(meta): require explicit operating region roles
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(meta): renew operating region leases from keeper roles
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test(common-meta): cover region route role helpers
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test(meta): cover operating region role propagation
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(meta): prefer metadata roles for region lease renewal
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: add an index page (#7975 )
* feat: include an index page
* fix: address code review
* fix: let / auth gated
* refactor: rename public-apis to public-api-prefix
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: remove redundant error messages in admin functions (#7953 )
Closes #7938
Signed-off-by: yxrxy <yxrxytrigger@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* perf: better jieba cut (#7984 )
* perf: better jieba cut
Signed-off-by: discord9 <discord9@163.com >
* fix: also filter pun mark
Signed-off-by: discord9 <discord9@163.com >
* chore
Signed-off-by: discord9 <discord9@163.com >
* docs: explain why
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: allow ipv4_num_to_string to accept valid integers (#7994 )
* fix: allow ipv4_num_to_string to accept valid integers
Signed-off-by: Johannes Sluis <joesluis51@gmail.com >
* test: update sqlness result file
Signed-off-by: Johannes Sluis <joesluis51@gmail.com >
* fix: use coercible integer signature for ipv4_num_to_string
Signed-off-by: Johannes Sluis <joesluis51@gmail.com >
---------
Signed-off-by: Johannes Sluis <joesluis51@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: update manifest state before deleting delta files (#8001 )
* fix: update state before deleting deltas
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: update comment
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: update log level
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: upgrade mysql metadata value limit to mediumblob (#7985 )
* fix: upgrade mysql metadata values to mediumblob
* fix: fail mysql metadata startup on upgrade check errors
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: zh same underscore behavior (#8002 )
* fix: zh same underscore behavior
Signed-off-by: discord9 <discord9@163.com >
* fix: only add token with _ from en analyzer
Signed-off-by: discord9 <discord9@163.com >
* test: neg sqlness case
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: manifest recovery scans after last version if possible (#8009 )
* feat: suppport scan with start after
Signed-off-by: evenyag <realevenyag@gmail.com >
* test: add start_after test
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: adjust remove dir warning
Signed-off-by: evenyag <realevenyag@gmail.com >
* test: test list_with_start_after
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: update get_paths call with start_after arg in checkpoint test
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat: log scan metrics
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: fix start_after on manifest dir
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: add a standalone flag in plugins during startup (#7974 )
* chore: add a standalone flag in plugins during startup
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: add derive
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: bump version to v1.0.1
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
Signed-off-by: liyang <daviderli614@gmail.com >
Signed-off-by: Weixie Cui <cuiweixie@gmail.com >
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: luofucong <luofc@foxmail.com >
Signed-off-by: yxrxy <yxrxytrigger@gmail.com >
Signed-off-by: Johannes Sluis <joesluis51@gmail.com >
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Co-authored-by: Ning Sun <sunng@protonmail.com >
Co-authored-by: liyang <daviderli614@gmail.com >
Co-authored-by: cui <cuiweixie@gmail.com >
Co-authored-by: discord9 <55937128+discord9@users.noreply.github.com >
Co-authored-by: discord9 <discord9@163.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com >
Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com >
Co-authored-by: yxrxy <1532529704@qq.com >
Co-authored-by: Joe Sluis <43276756+JoeS51@users.noreply.github.com >
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2026-04-23 17:37:27 +08:00
shuiyisong
ba32c5fe9e
chore: remove unused deps using udeps ( #7906 )
...
* chore: remove unused deps using udeps
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: fmt toml
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-04-02 06:49:27 +00:00
Ning Sun
e14404c677
chore: update rust toolchain to 2026-03-21 ( #7849 )
...
* chore: update rust toolchain to 2026-03-21
* chore: new format
* fix: lint
* chore: resolve lint issues
* chore: remove as_millis_f64
* chore: deps up
2026-03-30 12:13:14 +00:00
Ning Sun
3cdf03d830
feat: introduce APIs for storing perses dashboard definition ( #7791 )
...
* feat: introduce APIs for storing perses dashboard definition
* test: ensure we can update dashboard
* refactor: construct dashboard defnition directly
* refactor: don't create table on list requests
2026-03-13 03:40:04 +00:00
discord9
00f568ed28
fix: gc update repart map properly ( #7606 )
...
* feat: update repart map
Signed-off-by: discord9 <discord9@163.com >
* fix: table id write lock
Signed-off-by: discord9 <discord9@163.com >
* chore: default value
Signed-off-by: discord9 <discord9@163.com >
* chore: config
Signed-off-by: discord9 <discord9@163.com >
* test: update repartition map
Signed-off-by: discord9 <discord9@163.com >
* fix: empty file ref set
Signed-off-by: discord9 <discord9@163.com >
* chore: per review
Signed-off-by: discord9 <discord9@163.com >
* chore: properly log error
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2026-01-28 04:31:19 +00:00
Weny Xu
5bfc728d32
fix(repartition): improve physical region allocation and compaction read path correctness ( #7621 )
...
* fix: fix metadata region
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: adjust repartition flow and compaction read compatibility
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: remove logs
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: rename compaction mapper and pk projection
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: rename `CompactionProjectionMapper`
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: clarify compaction projection naming
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: add comments
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: fmt
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: allow create physical table with internal columns
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test: add tests
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix template logic
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix unit test
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: update sqlness result
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2026-01-28 04:04:05 +00:00
dennis zhuang
a56a00224f
feat: impl vector index scan in storage ( #7528 )
...
* feat: impl vector index scan in storage
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* feat: fallback to read remote blob when blob not found
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: refactor encoding and decoding and apply suggestions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: license
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* test: add apply_with_k tests
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: apply suggestions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: forgot to align nulls when the vector column is not in the batch
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* test: add test for vector column is not in a batch while buiilding
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
2026-01-12 08:30:51 +00:00
jeremyhi
6a6b34c709
feat!: memory limiter unification write path ( #7437 )
...
* feat: remove option max_in_flight_write_bytes
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* feat: replace RequestMemoryLimiter
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* chore: add integration test
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* chore: fix test
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by AI comment
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* refactor: global permit pool on writing
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* chore: by ai comment
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
---------
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
2025-12-23 02:18:49 +00:00
discord9
ee76d50569
test: gc integration test ( #7306 )
...
* test: basic infra for set gc
Signed-off-by: discord9 <discord9@163.com >
* more stuff
Signed-off-by: discord9 <discord9@163.com >
* test: basic gc integration test
Signed-off-by: discord9 <discord9@163.com >
* rm unused
Signed-off-by: discord9 <discord9@163.com >
* clippy
Signed-off-by: discord9 <discord9@163.com >
* refactor: remove loader
Signed-off-by: discord9 <discord9@163.com >
* clippy
Signed-off-by: discord9 <discord9@163.com >
* fix: allow default endpoint
Signed-off-by: discord9 <discord9@163.com >
* filter out files
Signed-off-by: discord9 <discord9@163.com >
* chore: rm minio support
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2025-12-01 04:10:42 +00:00
fys
013d61acbb
chore(deps): remove sqlx pg feature in greptimedb build ( #7172 )
...
* chore(deps): remove sqlx pg feature in greptimedb build
* fix: ci
2025-11-03 18:49:00 +00:00
zyy17
a0e6bcbeb3
feat: add cpu_usage_millicores and memory_usage_bytes in information_schema.cluster_info table. ( #7051 )
...
* refactor: add `hostname` in cluster_info table
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: update information schema result
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* feat: enable zstd for bulk memtable encoded parts (#7045 )
feat: enable zstd in bulk memtable
Signed-off-by: evenyag <realevenyag@gmail.com >
* refactor: add `get_total_cpu_millicores()` / `get_total_cpu_cores()` / `get_total_memory_bytes()` / `get_total_memory_readable()` in common-stat
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* feat: add `cpu_usage_millicores` and `memory_usage_bytes` in `information_schema.cluster_info` table
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: compile warning and integration test failed
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: integration test failed
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add `ResourceStat`
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: apply code review comments
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: update greptime-proto
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2025-10-24 03:12:45 +00:00
LFC
aa05b3b993
feat: add max_connection_age config to grpc server ( #7031 )
...
* feat: add `max_connection_age` config to grpc server
Signed-off-by: luofucong <luofc@foxmail.com >
* Apply suggestions from code review
Co-authored-by: Yingwen <realevenyag@gmail.com >
* fix ci
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2025-09-29 07:32:43 +00:00
Weny Xu
b3d413258d
feat: extract standalone functionality and introduce plugin-based router configuration ( #7002 )
...
* feat: extract standalone functionality and introduce plugin-based router configuration
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: ensure dump file does not exist
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: introduce `External` error
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-09-22 11:21:04 +00:00
LFC
f9d2a89a0c
chore: update datafusion family ( #6675 )
...
* chore: update datafusion family
Signed-off-by: luofucong <luofc@foxmail.com >
* fix ci
Signed-off-by: luofucong <luofc@foxmail.com >
* use official otel-arrow-rust
Signed-off-by: luofucong <luofc@foxmail.com >
* rebase
Signed-off-by: luofucong <luofc@foxmail.com >
* use the official orc-rust
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
* remove the empty lines
Signed-off-by: luofucong <luofc@foxmail.com >
* try following PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
2025-08-15 12:41:49 +00:00
Weny Xu
8659412cac
feat: introduce PeriodicTopicStatsReporter ( #6730 )
...
* refactor: introduce `PeriodicTopicStatsReporter`
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix typo
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: remote wal tests styling
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix unit test
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: handling region wal options not found
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: minor
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: upgrade greptime-proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-08-13 11:46:50 +00:00
zyy17
777da35b0d
refactor: unify the event recorder ( #6689 )
...
* refactor: unify the event recorder
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add `table_name()` in `Event` trait
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: add `slow_query_options` in `Instance`
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add `EventHandlerOptions` and `options()` in `EventHandler` trait
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: add `aggregate_events_by_type()` and support log mode of slow query
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: polish the code
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: clippy errors
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: support to set ttl by using extension of query context
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: refine the configs fields
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: sqlness test errors
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: use `Duration` type instead of `String` for ttl fields
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: use pre-allocation for building RowInsertRequests
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: fix clippy errors
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: code review
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: fix integration errors
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: polish code for `group_events_by_type()` and `build_row_inserts_request()`, also add the unit tests
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: refine comments
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-08-12 18:26:12 +00:00
zyy17
3a9f0220b5
fix: unable to record slow query ( #6590 )
...
* refactor: add process manager for prometheus query
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: modify `register_query()` API to accept parsed statement(`catalog::process_manager::QueryStatement`)
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add the slow query timer in the `Tikcet` of ProcessManager
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* test: add integration tests
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add process manager in `do_exec_plan()`
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* tests: add `test_postgres_slow_query` integration test
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: polish the code
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: create a query ticket and slow query timer if the statement is a query in `query_statement()`
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: sqlness errors
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-08-06 03:35:12 +00:00
zyy17
cc35bab5e4
feat: record the migration events in metasrv ( #6579 )
...
* feat: collect procedure event
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* feat: collect region migration events
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* test: add integration test
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: fix docs error
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: fix integration test error
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: change status code for errors
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add `event()` in Procedure
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: improve trait design
1. Add `user_metadata()` in `Procedure` trait;
2. Add `Eventable` trait;
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: polish the code
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-08-06 03:30:33 +00:00
Arshdeep
2e571e351f
fix: add map datatype conversion in copy_table_from ( #6185 ) ( #6422 )
...
Signed-off-by: Arshdeep54 <balarsh535@gmail.com >
2025-07-28 03:53:10 +00:00
fys
cde7e11983
refactor: avoid adding feature to parameter ( #6391 )
...
* refactor: avoid adding feature to parameter
* avoid `cfg(not(feature = ...))` block
2025-06-25 10:47:20 +00:00
fys
9cd4a2c525
feat: add trigger ddl manager ( #6228 )
...
* feat: add trigger ddl manager
* chore: reduce the number of cfg feature code blocks
* upgrade greptime-proto
* chore: upgrade greptime-proto
2025-06-04 06:38:02 +00:00
Lin Yihai
7274ceba30
feat: Add query pipeline http api ( #5819 )
...
* feat(pipeline): add query pipeline http api.
* chore(pipeline): rename get pipepile method
* refactor(pipeline): Also insert string piple into cache after inserting into table.
---------
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2025-04-16 10:17:20 +00:00
fys
7b48ef1e97
chore: remove patch.crates-io for rustls ( #5832 )
...
* chore: remove patch.crates-io for rustls
* enable default-rustls-ring feature for mysql_sync
* fix: build error
* add comment
* update comment
2025-04-07 07:51:50 +00:00
yihong
16fddd97a7
chore: revert commit update flate2 version ( #5706 )" ( #5715 )
...
Revert "chore: update flate2 version (#5706 )"
This reverts commit a5df3954f3 .
2025-03-17 12:16:26 +00:00
Ning Sun
2260782c12
refactor: update jaeger api implementation for new trace modeling ( #5655 )
...
* refactor: update jaeger api implementation
* test: add tests for v1 data model
* feat: customize trace table name
* fix: update column requirements to use Column type instead of String
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: lint fix
* refactor: accumulate resource attributes for v1
* fix: add empty check for additional string
* feat: add table option to mark data model version
* fix: do not overwrite all tags
* feat: use table option to mark table data model version and process accordingly
* chore: update comments to reflect query changes
* feat: use header for jaeger table name
* feat: update index for service_name, drop index for span_name
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: zyy17 <zyylsxm@gmail.com >
2025-03-17 07:31:32 +00:00
yihong
a5df3954f3
chore: update flate2 version ( #5706 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-03-14 02:15:27 +00:00
yihong
aa8f119bbb
chore: format all toml files ( #5529 )
...
fix: format some cargo files
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-02-18 12:09:01 +00:00
ozewr
0e4bd59fac
build: Update Loki proto ( #5484 )
...
* build: mv loki-api to loki-proto
* fmt: fmt toml
* fix: loki-proto using rev
---------
Co-authored-by: wangrui <wangrui@baihai.ai >
2025-02-07 09:09:39 +00:00
Ning Sun
dce4ed9f1d
feat: add CORS headers for http interfaces ( #5447 )
...
* feat: add cors headers for http server
* test: add cors test
* test: add preflight test
2025-01-24 09:28:04 +00:00
Ruihang Xia
9af4160068
fix(log-query): panic on prometheus ( #5429 )
...
* fix(log-query): panic on prometheus
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix test environment setup
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-01-23 11:48:37 +00:00
Yingwen
35b635f639
feat!: Bump datafusion, prost, hyper, tonic, tower, axum ( #5417 )
...
* change dep
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* feat: adapt to arrow's interval array
* chore: fix compile errors in datatypes crate
* chore: fix api crate compiler errors
* chore: fix compiler errors in common-grpc
* chore: fix common-datasource errors
* chore: fix deprecated code in common-datasource
* fix promql and physical plan related
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* wip: upgrading network deps
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* block on updating `sqlparser`
* upgrade sqlparser
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* adapt new df's trait requirements
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: fix compiler errors in mito2
* chore: fix common-function crate errors
* chore: fix catalog errors
* change import path
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: fix some errors in query crate
* chore: fix some errors in query crate
* aggr expr and some other tiny fixes
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: fix expr related errors in query crate
* chore: fix query serializer and admin command
* chore: fix grpc services
* feat: axum serve
* chore: fix http server
* remove handle_error handler
* refactor timeout layer
* serve axum
* chore: fix flow aggr functions
* chore: fix flow
* feat: fix errors in meta-srv
* boxed()
* use TokioIo
* feat!: Remove script crate and python feature (#5321 )
* feat: exclude script crate
* chore: simplify feature
* feat: remove the script crate
* chore: remove python feature and some comments
* chore: fix warning
* chore: fix servers tests compiler errors
* feat: fix tests-integration errors
* chore: fix unused
* test: fix catalog test
* chore: fix compiler errors for crates using common-meta
testing feature is enabled when check with --workspace
* test: use display for logical plan test
* test: implement rewrite for ScanHintRule
* fix: http server build panic
* test: fix mito test
* fix: sql parser type alias error
* test: fix TestClient not listen
* test: some flow tests
* test(flow): more fix
* fix: test_otlp_logs
* test: fix promql test that using deprecated method fun()
* fix: sql type replace supports Int8 ~ Int64, UInt8 ~ UInt64
* test: fix infer schema test case
* test: fix tests related to plan display
* chore: fix last flow test
* test: fix function format related assertion
* test: use larger port range for tests
* fix: test_otlp_traces
* fix: test_otlp_metrics
* fix range query and dist plan
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: flow handle distinct use deprecated field
* fix: can't pass Join plan expressions to LogicalPlan::with_new_exprs
* test: fix deserialize test
* test: reduce split key case num
* tests: lower case aggr func name
* test: fix some sqlness tests
* tests: more sqlness fix
* tests: fixed sqlness test
* commit non-bug changes
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: make our udf correct
* fix: implement empty methods of ContextProvider for DfContextProviderAdapter
* test: update sqlness test result
* chore: remove unused
* fix: provide alias name for AggregateExprBuilder in range plan
* test: update range query result
* fix: implement missing ContextProvider methods for DfContextProviderAdapter
* test: update timestamps, cte result
* fix: supports empty projection in mito
* test: update comment for cte test
* fix: support projection for numbers
* test: update test cases after projection fix
* fix: fix range select first_value/last_value
* fix: handle CAST and time index conflict
* fix: handle order by correctly in range first_value/last_value
* test: update sqlness result
* test: update view test result
* test: update decimal test
wait for https://github.com/apache/datafusion/pull/14126 to fix this
* feat: remove redundant physical optimization
todo(ruihang): Check if we can remove this.
* test: update sqlness test result
* chore: range select default sort use nulls_first = false
* test: update filter push down test result
* test: comment deciaml test to avoid different panic message
* test: update some distributed test result
* test: update test for distributed count and filter push down
* test: update subqueries test
* fix: SessionState may overwrite our UDFs
* chore: fix compiler errors after merging main
* fix: fix elasticsearch and dashboard router panic
* chore: fix common-functions tests
* chore: update sqlness result
* test: fix id keyword and update sqlness result
* test: fix flow_null test
* fix: enlarge thread size in debug mode to avoid overflow
* chore: fix warnings in common-function
* chore: fix warning in flow
* chore: fix warnings in query crate
* chore: remove unused warnings
* chore: fix deprecated warnings for parquet
* chore: fix deprecated warning in servers crate
* style: fix clippy
* test: enlarge mito cache tttl test ttl time
* chore: fix typo
* style: fmt toml
* refactor: reimplement PartialOrd for RangeSelect
* chore: remove script crate files introduced by merge
* fix: return error if sql option is not kv
* chore: do not use ..default::default()
* chore: per review
* chore: update error message in BuildAdminFunctionArgsSnafu
Co-authored-by: jeremyhi <jiachun_feng@proton.me >
* refactor: typed precision
* update sqlness view case
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: flow per review
* chore: add example in comment
* chore: warn if parquet stats of timestamp is not INT64
* style: add a newline before derive to make the comment more clear
* test: update sqlness result
* fix: flow from substrait
* chore: change update_range_context log to debug level
* chore: move axum-extra axum-macros to workspace
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: luofucong <luofc@foxmail.com >
Co-authored-by: discord9 <discord9@163.com >
Co-authored-by: shuiyisong <xixing.sys@gmail.com >
Co-authored-by: jeremyhi <jiachun_feng@proton.me >
2025-01-23 06:15:40 +00:00
Ning Sun
f5829364a2
fix: security fix, sqlx, hashbrown, idna and CI updates ( #5330 )
...
* fix: security fix, sqlx, hashbrown, idna
* ci: optimize ci cache generation
* feat: update pprof
2025-01-14 08:19:33 +00:00
Yingwen
c19a56c79f
feat!: Remove script crate and python feature ( #5321 )
...
* feat: exclude script crate
* chore: simplify feature
* feat: remove the script crate
* chore: remove python feature and some comments
* chore: fix warning
2025-01-08 12:11:53 +00:00
shuiyisong
c199604ece
feat: Loki remote write ( #4941 )
...
* chore: add debug loki remote write url
* chore: add decode snappy
* chore: format output
* feature: impl loki remote write
* fix: special labels deserialize
* chore: move result to folder
* chore: finish todo in loki write
* test: loki write
* chore: fix cr issue
* chore: fix cr issue
* chore: fix cr issue
* chore: update pre-commit config
* chore: fix cr issue
Co-authored-by: dennis zhuang <killme2008@gmail.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2024-11-18 08:39:17 +00:00
Zhenchi
d616bd92ef
feat: introduce vector type ( #4964 )
...
* feat: introduce vector type
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: fix prepared stmt
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: add grpc test
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: parse vector value
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: column to row
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: sqlness
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: merge issue
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: add check for bytes size
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* Update tests/cases/standalone/common/types/vector/vector.sql
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* chore: update proto
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* chore: simplify cargo
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* chore: address comment
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2024-11-12 08:28:44 +00:00
LFC
2e9737c01d
refactor: pass LogicalPlan to promql execution interceptor ( #4937 )
2024-11-05 08:49:05 +00:00
zyy17
0847ff36ce
fix: config test failed and use similar_asserts::assert_eq to replace assert_eq for long string compare ( #4731 )
...
* fix: config test failed and use 'similar_asserts::assert_eq' to replace 'assert_eq' for long string compare
* Update Cargo.toml
Co-authored-by: Yingwen <realevenyag@gmail.com >
* Update src/cmd/tests/load_config_test.rs
Co-authored-by: Yingwen <realevenyag@gmail.com >
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2024-09-18 07:41:25 +00:00
shuiyisong
c014e875f3
chore: add auto-decompression layer for otlp http request ( #4723 )
...
* chore: add auto-decompression for http request
* test: otlp
2024-09-18 04:32:00 +00:00
Lanqing Yang
93be81c041
feat: implement postgres kvbackend ( #4421 )
2024-08-14 22:49:32 +00:00
dennis zhuang
d2f6daf7b7
fix: prepare inserting with column defaults not work, #4244 ( #4272 )
...
* fix: prepare inserting with column defaults not work, #4244
* fix: build column_defaults every time when creating adapters
* feat: cache the column_defaults in table
* test: assert ts column
* fix: unit
* chore: style
Co-authored-by: Yingwen <realevenyag@gmail.com >
* fix: typo
* chore: style
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2024-07-05 06:50:12 +00:00
shuiyisong
849e0b9249
feat: delete pipeline ( #4156 )
...
* feat: add delete for pipeline
* chore: remove unused code
* refactor: delete pipeline
* chore: add pipeline management api metrics
* chore: minor cr issues
* chore: add unit test
* chore: fix cr issue
* fix: test
* chore: add `GreptimedbManageResponse`
* fix: typo
* fix: typo
2024-07-05 06:23:49 +00:00
Weny Xu
b3a4362626
test: run test_flush_reopen_region and test_region_replay with KafkaLogStore ( #4083 )
...
* feat: add `LogStoreFactory` to `TestEnv`
* feat: add `multiple_log_store_factories` template
* test: run `test_flush_reopen_region` and `test_region_replay` with `KafkaLogStore`
* chore: move deps to workspace
* chore: apply suggestions from CR
2024-06-04 08:11:15 +00:00
tison
c78043d526
build(deps): merge tower deps to workspace ( #4036 )
...
Signed-off-by: tison <wander4096@gmail.com >
2024-05-27 07:15:30 +00:00
discord9
0d9e71b653
feat(flow): flow node manager ( #3954 )
...
* feat(flow): flow node manager
feat(flow): render src/sink
feat(flow): flow node manager in standalone
fix?: higher run freq
chore: remove abunant error enum variant
fix: run with higher freq if insert more
chore: fix after rebase
chore: typos
* chore(WIP): per review
* chore: per review
2024-05-16 11:37:14 +00:00
Weny Xu
89da42dbc1
refactor: refactor frontend cache ( #3912 )
...
* feat: implement the `TableCache`
* refactor: use `TableCache`
* refactor: replace `TableFlowManager` with `TableFlownodeSetCache`
* refactor: introduce cache crate
* chore: add comments
* chore: update comments
* chore: apply suggestions from CR
* chore: rename `cache_invalidator` to `local_cache_invalidator`
* chore(fuzz): set `acquire_timeout` to 30s
2024-05-11 09:58:18 +00:00
dimbtp
3b89b9ddd8
refactor: move database client to test ( #3820 )
...
* remove `Database` in `cli export`
* move `Database` to tests-integration
* fix clippy
* move `DatabaseClient` along with `Database`
* `cli export` now use http api
* add TODO for `tests-integration` dependencies
* cleanup code
* 'cli export' test use http api
* remove unsed dependencies in cmd crate
* apply review comments and clean code
* remove unused methods
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
Co-authored-by: tison <wander4096@gmail.com >
2024-05-01 05:55:13 +00:00
tison
c387687262
refactor: use secrecy SerectString to hold secrets option ( #3804 )
...
* build: centralize secrecy dependency
Signed-off-by: tison <wander4096@gmail.com >
* add secrecy to sql crate
Signed-off-by: tison <wander4096@gmail.com >
* try impl
Signed-off-by: tison <wander4096@gmail.com >
* update test
Signed-off-by: tison <wander4096@gmail.com >
* make linters happy
Signed-off-by: tison <wander4096@gmail.com >
* bundle secrecy
Signed-off-by: tison <wander4096@gmail.com >
* bundle secrecy
Signed-off-by: tison <wander4096@gmail.com >
* replace secrecy
Signed-off-by: tison <wander4096@gmail.com >
* tidy clones
Signed-off-by: tison <wander4096@gmail.com >
* fixup
Signed-off-by: tison <wander4096@gmail.com >
* fixup
Signed-off-by: tison <wander4096@gmail.com >
* updated
Signed-off-by: tison <wander4096@gmail.com >
* Apply suggestions from code review
Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com >
* use BTreeMap
Signed-off-by: tison <wander4096@gmail.com >
* tidy
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com >
2024-04-29 02:18:18 +00:00
tison
883b7fce96
refactor: bundle the lightweight axum test client ( #3669 )
...
* refactor: bundle the lightweight axum test client
Signed-off-by: tison <wander4096@gmail.com >
* address comments
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
2024-04-09 02:33:26 +00:00
Ning Sun
b32e0bba9c
feat: adding victoriametrics remote write ( #3641 )
...
* feat: adding victoria metrics remote write
* test: add e2e tests for prom and vm remote writes
2024-04-07 07:09:21 +00:00
niebayes
d33435fa84
feat: introduce wal benchmarker ( #3446 )
...
* feat: introduce wal benchmarker
* chore: add log store metrics
* chore: add some comments to wal benchmarker
* fix: ci
* chore: add more metrics for kafka logstore
* chore: add more timers for kafka logstore
* chore: add more configs
* chore: move humantime to common dependencies
* refactor: refactor wal benchmarker
* fix: apply suggestions from code review
* doc: add a simple README for wal benchmarker
* fix: Cargo.toml
* fix: clippy
* chore: rename wal.rs to wal_bench.rs
* fix: compile
2024-04-03 03:16:05 +00:00