Ruihang Xia
dd3a509607
chore: bump opendal to fork version to fix prometheus layer ( #5223 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-01-04 02:12:27 +08:00
Weny Xu
d4cae6af1e
refactor: remove unnecessary wrap ( #5221 )
...
* chore: remove unnecessary arc
* chore: remove unnecessary box
2025-01-04 02:12:27 +08:00
Ruihang Xia
3fec71b5c0
feat: logs query endpoint ( #5202 )
...
* define endpoint
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* planner
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update lock file
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add unit test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix toml format
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* revert metric change
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/query/src/log_query/planner.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix compile
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor and tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-01-04 02:12:27 +08:00
Zhenchi
9e31a6478b
feat(index-cache): abstract IndexCache to be shared by multi types of indexes ( #5219 )
...
* feat(index-cache): abstract `IndexCache` to be shared by multi types of indexes
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix typo
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: remove added label
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: simplify cached reader impl
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* rename func
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2025-01-04 02:12:27 +08:00
zyy17
bce291a8e1
docs: add greptimedb-operator project link in 'Tools & Extensions' and other small improvements ( #5216 )
2025-01-04 02:12:27 +08:00
Ning Sun
c788eb67e2
ci: fix nightly ci task on nix build ( #5198 )
2025-01-04 02:12:27 +08:00
Yiran
0c32dcf46c
fix: dead links ( #5212 )
2025-01-04 02:12:27 +08:00
Zhenchi
68a05b38bd
feat(bloom-filter): add bloom filter reader ( #5204 )
...
* feat(bloom-filter): add bloom filter reader
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* chore: remove unused dep
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix conflict
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2025-01-04 02:12:27 +08:00
Zhenchi
ee72ae8bd0
feat(bloom-filter): add memory control for creator ( #5185 )
...
* feat(bloom-filter): add memory control for creator
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: remove meaningless buf
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* feat: add codec for intermediate
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2025-01-04 02:12:27 +08:00
Weny Xu
556bd796d8
chore: adjust fuzz tests cfg ( #5207 )
2025-01-04 02:12:27 +08:00
Ruihang Xia
1327e8809f
feat: bump opendal and switch prometheus layer to the upstream impl ( #5179 )
...
* feat: bump opendal and switch prometheus layer to the upstream impl
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unused files
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unused things
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove root dir on recovering cache
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* filter out non-files entry in test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-01-04 02:12:27 +08:00
Yingwen
17d75c767c
chore: update all arm64 builders ( #5215 )
v0.11.1
2024-12-21 18:14:45 +08:00
Yingwen
a1ed450c0c
chore: arm64 use 8xlarge runner ( #5213 )
2024-12-20 22:29:25 +08:00
evenyag
ea4ce9d1e3
chore: set version to 0.11.1
2024-12-20 14:12:19 +08:00
evenyag
1f7d9666b7
chore: Downgrade opendal for releasing 0.11.1
...
Revert "feat: bump opendal and switch prometheus layer to the upstream impl (#5179 )"
This reverts commit 422d18da8b .
2024-12-20 14:12:19 +08:00
LFC
9f1a0d78b2
ci: install latest protobuf in dev-builder image ( #5196 )
2024-12-20 14:12:19 +08:00
discord9
ed8e418716
fix: auto created table ttl check ( #5203 )
...
* fix: auto created table ttl check
* tests: with hint
2024-12-20 14:12:19 +08:00
discord9
9e7121c1bb
fix(flow): batch builder with type ( #5195 )
...
* fix: typed builder
* chore: clippy
* chore: rename
* fix: unit tests
* refactor: per review
2024-12-20 14:12:19 +08:00
dennis zhuang
94a49ed4f0
chore: update PR template ( #5199 )
2024-12-20 14:12:19 +08:00
discord9
f5e743379f
feat: show flow's mem usage in INFORMATION_SCHEMA.FLOWS ( #4890 )
...
* feat: add flow mem size to sys table
* chore: rm dup def
* chore: remove unused variant
* chore: minor refactor
* refactor: per review
2024-12-20 14:12:19 +08:00
Ruihang Xia
6735e5867e
feat: bump opendal and switch prometheus layer to the upstream impl ( #5179 )
...
* feat: bump opendal and switch prometheus layer to the upstream impl
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unused files
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unused things
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove root dir on recovering cache
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* filter out non-files entry in test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-20 14:12:19 +08:00
Weny Xu
925525726b
fix: ensure table route metadata is eventually rolled back on failure ( #5174 )
...
* fix: ensure table route metadata is eventually rolled back on procedure failure
* fix(fuzz): enhance procedure condition checking
* chore: add logs
* feat: close downgraded leader region actively
* chore: apply suggestions from CR
2024-12-20 14:12:19 +08:00
Ning Sun
6427682a9a
feat: show create postgresql foreign table ( #5143 )
...
* feat: add show create table for pg in parser
* feat: implement show create table operation
* fix: adopt upstream changes
2024-12-20 14:12:19 +08:00
Ning Sun
55b0022676
chore: make nix compilation environment config more robust ( #5183 )
...
* chore: improve nix-shell support
* fix: add pkg-config
* ci: add a github action to ensure build on clean system
* ci: optimise dependencies of task
* ci: move clean build to nightly
2024-12-20 14:12:19 +08:00
Ruihang Xia
2d84cc8d87
refactor: remove unused symbols ( #5193 )
...
chore: remove unused symbols
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-20 14:12:19 +08:00
Yingwen
c030705b17
docs: fix grafana dashboard row ( #5192 )
2024-12-20 14:12:19 +08:00
Ruihang Xia
443c600bd0
fix: validate matcher op for __name__ in promql ( #5191 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-20 14:12:19 +08:00
Lei, HUANG
39cadfe10b
fix(sqlness): enforce order in union tests ( #5190 )
...
Add ORDER BY clause to subquery union tests
Updated the SQL and result files for subquery union tests to include an ORDER BY clause, ensuring consistent result ordering. This change aligns with the test case from the DuckDB repository.
2024-12-20 14:12:19 +08:00
jeremyhi
9b5e4e80f7
feat: extract hints from http header ( #5128 )
...
* feat: extract hints from http header
* Update src/servers/src/http/hints.rs
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
* chore: by comment
* refactor: get instead of loop
---------
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2024-12-20 14:12:19 +08:00
Yingwen
041a276b66
feat: do not remove time filters in ScanRegion ( #5180 )
...
* feat: do not remove time filters
* chore: remove `time_range` from parquet reader
* chore: print more message in the check script
* chore: fix unused error
2024-12-20 14:12:19 +08:00
Yingwen
614a25ddc5
feat: do not keep MemtableRefs in ScanInput ( #5184 )
2024-12-20 14:12:19 +08:00
dennis zhuang
4337e20010
feat: impl label_join and label_replace for promql ( #5153 )
...
* feat: impl label_join and label_replace for promql
* chore: style
* fix: dst_label is eqauls to src_label
* fix: forgot to sort the results
* fix: processing empty source label
2024-12-20 14:12:19 +08:00
Lanqing Yang
65c52cc698
fix: display inverted and fulltext index in show index ( #5169 )
2024-12-20 14:12:19 +08:00
Yohan Wal
50f31fd681
feat: introduce Buffer for non-continuous bytes ( #5164 )
...
* feat: introduce Buffer for non-continuous bytes
* Update src/mito2/src/cache/index.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* chore: apply review comments
* refactor: use opendal::Buffer
---------
Co-authored-by: Weny Xu <wenymedia@gmail.com >
2024-12-20 14:12:19 +08:00
LFC
b5af5aaf8d
refactor: produce BatchBuilder from a Batch to modify it again ( #5186 )
...
chore: pub some mods
2024-12-20 14:12:19 +08:00
Lei, HUANG
27693c7f1e
perf: avoid holding memtable during compaction ( #5157 )
...
* perf/avoid-holding-memtable-during-compaction: Refactor Compaction Version Handling
• Introduced CompactionVersion struct to encapsulate region version details for compaction, removing dependency on VersionRef.
• Updated CompactionRequest and CompactionRegion to use CompactionVersion.
• Modified open_compaction_region to construct CompactionVersion without memtables.
• Adjusted WindowedCompactionPicker to work with CompactionVersion.
• Enhanced flush logic in WriteBufferManager to improve memory usage checks and logging.
* reformat code
* chore: change log level
* reformat code
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
2024-12-20 14:12:19 +08:00
discord9
a59fef9ffb
test: sqlness upgrade compatibility tests ( #5126 )
...
* feat: simple version switch
* chore: remove debug print
* chore: add common folder
* tests: add drop table
* feat: pull versioned binary
* chore: don't use native-tls
* chore: rm outdated docs
* chore: new line
* fix: save old bin dir
* fix: switch version restart all node
* feat: use etcd
* fix: wait for election
* fix: normal sqlness
* refactor: hashmap for bin dir
* test: past 3 major version compat crate table
* refactor: allow using without setup etcd
2024-12-20 14:12:19 +08:00
Zhenchi
bcecd8ce52
feat(bloom-filter): add basic bloom filter creator (Part 1) ( #5177 )
...
* feat(bloom-filter): add a simple bloom filter creator (Part 1)
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: clippy
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: header
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* docs: add format comment
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-12-20 14:12:19 +08:00
Yingwen
ffdcb8c1ac
fix: deletion between two put may not work in last_non_null mode ( #5168 )
...
* fix: deletion between rows with the same key may not work
* test: add sqlness test case
* chore: comments
2024-12-20 14:12:19 +08:00
Yingwen
554121ad79
chore: add aquamarine to dep lists ( #5181 )
2024-12-20 14:12:19 +08:00
Weny Xu
43c12b4f2c
fix: correct set_region_role_state_gracefully behaviors ( #5171 )
...
* fix: reduce default max rows for fuzz testing
* chore: remove Postgres setup from fuzz test workflow
* chore(fuzz): increase resource limits for GreptimeDB cluster
* chore(fuzz): increase resource limits for kafka
* fix: correct `set_region_role_state_gracefully` behaviors
* chore: remove Postgres setup from fuzz test workflow
* chore(fuzz): redue resource limits for GreptimeDB & kafka
2024-12-20 14:12:19 +08:00
discord9
7aa8c28fe4
test: flow rebuild ( #5162 )
...
* tests: rebuild flow
* tests: more rebuild
* tests: restart
* chore: drop clean
2024-12-20 14:12:19 +08:00
Ning Sun
34fbe7739e
chore: add nix-shell configure for a minimal environment for development ( #5175 )
...
* chore: add nix-shell development environment
* chore: add rust-analyzer
* chore: use .envrc as a private file
2024-12-20 14:12:19 +08:00
ZonaHe
06d7bd99dd
feat: update dashboard to v0.7.3 ( #5172 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-20 14:12:19 +08:00
Ruihang Xia
b71d842615
feat: introduce SKIPPING index (part 1) ( #5155 )
...
* skip index parser
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* wip: sqlness
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl show create part
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add empty line
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change keyword to SKIPPING INDEX
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename local variables
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-20 14:12:19 +08:00
Lei, HUANG
7f71693b8e
chore: gauge for flush compaction ( #5156 )
...
* add metrics
* chore/bench-metrics: Add INFLIGHT_FLUSH_COUNT Metric to Flush Process
• Introduced INFLIGHT_FLUSH_COUNT metric to track the number of ongoing flush operations.
• Incremented INFLIGHT_FLUSH_COUNT in FlushScheduler to monitor active flushes.
• Removed redundant increment of INFLIGHT_FLUSH_COUNT in RegionWorkerLoop to prevent double counting.
* chore/bench-metrics: Add Metrics for Compaction and Flush Operations
• Introduced INFLIGHT_COMPACTION_COUNT and INFLIGHT_FLUSH_COUNT metrics to track the number of ongoing compaction and flush operations.
• Incremented INFLIGHT_COMPACTION_COUNT when scheduling remote and local compaction jobs, and decremented it upon completion.
• Added INFLIGHT_FLUSH_COUNT increment and decrement logic around flush tasks to monitor active flush operations.
• Removed redundant metric updates in worker.rs and handle_compaction.rs to streamline metric handling.
* chore: add metrics for remote compaction jobs
* chore: format
* chore: also add dashbaord
2024-12-20 14:12:19 +08:00
Lin Yihai
615ea1a171
feat: Add vector_scalar_mul function. ( #5166 )
2024-12-20 14:12:19 +08:00
shuiyisong
4e725d259d
chore: remove unused dep ( #5163 )
...
* chore: remove unused dep
* chore: remove more unused dep
2024-12-20 14:12:19 +08:00
Niwaka
dc2252eb6d
fix: support alter table ~ add ~ custom_type ( #5165 )
2024-12-20 14:12:19 +08:00
Yingwen
6d4cc2e070
ci: use 4xlarge for nightly build ( #5158 )
2024-12-20 14:12:19 +08:00