Weny Xu
20ce7d428d
fix(metric-engine): missing catchup implementation ( #4048 )
...
* fix(metric-engine): missing catchup implementation
* fix: should be `metadata_region_id`
2024-05-27 07:56:46 +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
LFC
297105266b
feat: enable tcp keepalive for http server ( #4019 )
...
* feat: enable tcp keepalive for http server
* chore: for enterprise's update
* resolve PR comments
2024-05-27 04:07:36 +00:00
Ruihang Xia
1de17aec74
feat: change EXPIRE WHEN to EXPIRE AFTER ( #4002 )
...
* feat: change EXPIRE WHEN to EXPIRE AFTER
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change remaining
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename create_if_not_exist to create_if_not_exists
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* parse interval expr
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update comment
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Apply suggestions from code review
Co-authored-by: Jeremyhi <jiachun_feng@proton.me >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Jeremyhi <jiachun_feng@proton.me >
2024-05-27 04:05:55 +00:00
Weny Xu
389ded93d1
chore: add logs for setting the region to writable ( #4044 )
...
* chore: add logs for setting the region to writable
* fix: ignore redundant logs
2024-05-27 04:01:40 +00:00
Eugene Tolbakov
af486ec0d0
feat(opertor): check if a database is in use before dropping it ( #4035 )
...
feat(opertor): check if database is in use before dropping it
2024-05-27 03:31:58 +00:00
irenjj
25d64255a3
feat: support table level comment ( #4042 )
...
* feat: support table level comment
* use constants
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
Co-authored-by: tison <wander4096@gmail.com >
2024-05-27 02:28:52 +00:00
tison
3790020d78
build(deps): upgrade promql-parser to 0.4 ( #4047 )
...
* build(deps): upgrade promql-parser to 0.4
Signed-off-by: tison <wander4096@gmail.com >
* lock
Signed-off-by: tison <wander4096@gmail.com >
* catch up upgrades
Signed-off-by: tison <wander4096@gmail.com >
* concise method
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
2024-05-27 01:51:59 +00:00
Weny Xu
5df3d4e5da
feat: implement the LogStoreRawEntryReader and RawEntryReaderFilter ( #4030 )
...
* feat: implement the `LogStoreRawEntryReader`
* feat: implement the `RawEntryReaderFilter`
* test: add tests
2024-05-24 11:53:15 +00:00
Ruihang Xia
a58256d4d3
feat: round-robin selector ( #4024 )
...
* feat: implement round robin peer selector
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add document and test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-05-24 07:29:07 +00:00
Weny Xu
466f7c6448
feat: add RawEntryReader and OneshotWalEntryReader trait ( #4027 )
...
* feat: add `RawEntryReader` and `OneShotWalEntryReader` trait
* chore: rename `OneShot` to `Oneshot`
* refacotr: remove `region_id` from `OneshotWalEntryReader`
2024-05-24 06:30:50 +00:00
Ruihang Xia
0101657649
feat: remove one clone on constructing partition ( #4028 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-05-24 04:01:19 +00:00
taobo
a3a2c8d063
feat: Add TLS support for gRPC service ( #3957 )
...
* feat: Add tls support for grpc service
* feat: add integration test
* fix: integration test
* fix: revert by suggestion
* fix: typos
* fix: optimize code
* fix: optimize code
* docs: update configs
2024-05-23 19:00:16 +00:00
Yingwen
dfc1acbb2a
fix: notifies all workers once a region is flushed ( #4016 )
...
* fix: notify workers to handle stalled requests if flush is finished
* chore: change stalled count to gauge
* feat: process stalled requests eagerly
2024-05-23 12:45:00 +00:00
Lei, HUANG
0d055b6ee6
refactor: remove unused log config ( #4021 )
2024-05-23 08:59:42 +00:00
Ning Sun
b90b7adf6f
feat: add fallback logic for vmagent sending wrong content type ( #4009 )
...
* feat: add fallback logic for vmagent sending wrong content type
* fix: resolve lint issues
* Update src/servers/src/http/prom_store.rs
Co-authored-by: Yingwen <realevenyag@gmail.com >
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
2024-05-23 02:40:17 +00:00
Jeremyhi
418090b464
chore: log error for detail ( #4011 )
...
* chore: log error for detail
* chore: by cr
2024-05-22 12:17:20 +00:00
Lei, HUANG
090b59e8d6
feat: manual compaction ( #3988 )
...
* add compaction udf params
* wip: pass compaction options through grpc
* wip: pass compaction options all the way down to region server
* wip: window compaction task
* feat: trigger major compaction
* refactor: optimize compaction parameter parsing
* chore: rebase main
* chore: update proto
* chore: add some tests
* feat: validate catalog
* chore: fix typo and rebase main
* fix: some cr comments
* fix: file_time_bucket_span
* fix: avoid upper bound overflow
* chore: update proto
2024-05-22 09:42:21 +00:00
shuiyisong
9e1af79637
chore: add ttl to write_cache ( #4010 )
...
* chore: add ttl to write_cache
* chore: update test & add example config
* chore: fix typo
* chore: fix typo
* chore: fix typo
2024-05-22 06:50:12 +00:00
zyy17
b86d79b906
fix: can't print log because the tracing guard is dropped ( #4005 )
...
* fix: avoid logging guard drop
* chore: remove unused '#[allow(dead_code)]'
2024-05-22 03:24:40 +00:00
Lei, HUANG
e070ba3c32
feat: respect time range when building parquet reader ( #3947 )
...
* feat: convert timestamp range filters to predicates
* chore: rebase main
* fix: remove prediactes once they have been added to timestamp filters to avoid duplicate filtering
* fix: some comments
* fix: resolve conflicts
2024-05-21 16:02:25 +00:00
zyy17
47785756e5
fix: move log_version() into build() of App to fix no log version on bootstrap ( #4004 )
2024-05-21 09:15:15 +00:00
Jeremyhi
0aa523cd8c
feat: make create view procedure simple as others ( #4001 )
2024-05-21 08:30:57 +00:00
maco
40c585890a
refactor: replace Expr with datafusion::Expr ( #3995 )
...
* refactor: replace Expr with datafusion::Expr
* fix: fmt-toml
* fix: cr comment
2024-05-21 06:40:29 +00:00
Yingwen
179c8c716c
feat: Adds RegionScanner trait ( #3948 )
...
* feat: define region scanner
* feat: single partition scanner
* feat: use single partition scanner
* feat: implement ExecutionPlan wip
* feat: mito engine returns single partition scanner
* feat: implement DisplayAs for region server
* feat: dummy table provider use handle_partitioned_query()
* test: update sqlness test
* feat: table provider use ReadFromRegion
* refactor: remove StreamScanAdapter
* chore: update lock
* style: fix clippy
* refactor: remove handle_query from the RegionEngine trait
* chore: address CR comments
* refactor: rename methods
* refactor: rename ReadFromRegion to RegionScanExec
2024-05-20 11:52:00 +00:00
shuiyisong
19543f9819
feat: support compression on gRPC server ( #3961 )
...
* feat: enable gzip in grpc server side
* feat: add enable_gzip_compression config
* test: add grpc compression test
* feat: support user configured compression on grpc server
* chore: update doc
* chore: add tests
* fix: make config-docs
* chore: fix cr issue
* chore: add test
* refactor: remove config on server side, auto enable all compression support
* chore: minor update
* chore: remove unused code
* refactor: enable zstd compression internally by default
* chore: minor fix
2024-05-20 11:28:00 +00:00
discord9
533ada70ca
chore: remove a dbg! forget to remove ( #3990 )
...
* chore: remove a dbg! forget to remove
* remove other dbg! and add lint
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix pyo3 feature
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2024-05-20 08:34:47 +00:00
zyy17
82c3eca25e
refactor: make the command entry cleaner ( #3981 )
...
* refactor: move run() in App trait
* refactor: introduce AppBuilder trait
* chore: remove AppBuilder
* refactor: remove Options struct and make the start() clean
* refactor: init once for common_telemetry::init_global_logging
2024-05-20 03:34:06 +00:00
Yingwen
df13832a59
feat: use cache in compaction ( #3982 )
2024-05-20 02:36:51 +00:00
Eugene Tolbakov
6a9a92931d
chore: change binary array type from LargeBinaryArray to BinaryArray ( #3924 )
...
* chore: change binary array type from LargeBinaryArray to BinaryArray
* fix: adjust try_into_vector logic
* fix: apply CR suggestions, add tests
* chore: fix failing test
* chore: fix integration test
* chore: adjust the assertions according to changed implementation
* chore: add a test with LargeBinary type
* chore: apply CR suggestions
* chore: simplify tests
2024-05-18 08:04:41 +00:00
Weny Xu
11a08cb272
feat(cli): prevent exporting physical table data ( #3978 )
...
* feat: prevent exporting physical table data
* chore: apply suggestions from CR
2024-05-17 14:58:10 +00:00
Ruihang Xia
e9b178b8b9
fix: tql parser hang on abnormal input ( #3977 )
...
* fix: tql parser hang on abnormal input
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* apply review sugg
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-05-17 14:22:20 +00:00
discord9
3477fde0e5
feat(flow): tumble window func ( #3968 )
...
* feat(WIP): tumble window rewrite parser
* tests: tumble func
* feat: add `update_at` column for all flow output
* chore: cleanup per review
* fix: update_at not as time index
* fix: demo tumble
* fix: tests&tumble signature&accept both ts&datetime
* refactor: update_at now ts millis type
* chore: per review advices
2024-05-17 12:10:28 +00:00
dennis zhuang
9baa431656
fix: changing column data type can't process type alias ( #3972 )
2024-05-17 11:34:31 +00:00
WU Jingdi
e2a1cb5840
feat: support evaluate expr in range query param ( #3823 )
...
* feat: support evaluate expr in range query param
* chore: fix comment
* chore: fix code comment
* fix: disbale now in duration param
2024-05-17 08:31:55 +00:00
Weny Xu
f696f41a02
fix: prevent registering logical regions with AliveKeeper ( #3965 )
...
* fix: register logical region
* chore: fix Clippy
* chore: apply suggestions from CR
2024-05-17 07:38:35 +00:00
Weny Xu
0168d43d60
fix: prevent exporting metric physical table data ( #3970 )
2024-05-17 07:19:28 +00:00
zyy17
ca409a732f
refactor(naming): use the better naming for pubsub ( #3960 )
2024-05-17 03:00:15 +00:00
Ruihang Xia
5c0a530ad1
feat: skip read-only region when trying to flush on region full ( #3966 )
...
* feat: skip read-only region when trying to flush on region full
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* improve log
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* also skip in periodically
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-05-16 14:56:43 +00:00
Ruihang Xia
4b030456f6
feat: remove timeout in the channel between frontend and datanode ( #3962 )
...
* style: change builder pattern
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* feat: remove timeout
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unused config
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update docs
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-05-16 14:12:42 +00:00
irenjj
f93b5b19f0
feat: limit total rows copied in COPY TABLE FROM with LIMIT segment ( #3910 )
...
* feat: limit total rows copied in COPY TABLE FROM with LIMIT segment
* fmt
* disable default limit
* fix: check parse
* fix test, add error case
* fix: forbide LIMIT in database
* fix: only support LIMIT segment
* fix: simplify
* fix
* fix
* fix
* fix
* fix: test
* fix: change error info
* fix clippy
* fix: fix error msg
* fix test
* fix: test error info
2024-05-16 13:39:26 +00:00
discord9
a45017ad71
feat(flow): expire arrange according to time_index type ( #3956 )
...
* feat: render_reduce's arrangement expire after time passed
* feat: set expire when create flow
2024-05-16 11:41:03 +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
discord9
93f178f3ad
feat(flow): avg func rewrite to sum/count ( #3955 )
...
* feat(WIP): parse avg
* feat: RelationType::apply_mfp no need expr typs
* feat: avg&tests
* fix(WIP): avg eval
* fix: sum ret correct type
* chore: typos
2024-05-16 10:03:56 +00:00
WU Jingdi
9f4a6c6fe2
feat: support any precision in PromQL ( #3933 )
...
* feat: support any precision in PromQL
* chore: add test
2024-05-16 07:00:24 +00:00
Weny Xu
c915916b62
feat(cli): export metric physical tables first ( #3949 )
...
* feat: export metric physical tables first
* chore: apply suggestions from CR
2024-05-16 06:30:20 +00:00
Weny Xu
dff7ba7598
feat: ignore internal columns in SHOW CREATE TABLE ( #3950 )
...
* feat: ignore internal columns
* chore: add new line
* chore: apply suggestions from CR
* chore: apply suggestions from CR
2024-05-16 06:28:48 +00:00
Ning Sun
fe34ebf770
test: give windows file watcher more time ( #3953 )
...
* test: give windows file watcher more time
* refactor: use constants for timeout
2024-05-16 01:58:45 +00:00
zyy17
63a8d293a1
refactor: add Configurable trait ( #3917 )
...
* refactor: add Configurable trait
* refactor: add merge_with_cli_options() to simplify load_options()
* docs: add comments
* fix: clippy errors
* fix: toml format
* fix: build error
* fix: clippy errors
* build: downgrade config-rs
* refactor: use '#[snafu(source(from()))'
* refactor: minor modification for load_layered_options() to make it clean
2024-05-15 12:56:40 +00:00
tison
6c621b7fcf
ci: implement docbot in cyborg ( #3937 )
...
* ci: implement docbot in cyborg
Signed-off-by: tison <wander4096@gmail.com >
* allow remove non-existing label
Signed-off-by: tison <wander4096@gmail.com >
* fixup
Signed-off-by: tison <wander4096@gmail.com >
* fixup org name
Signed-off-by: tison <wander4096@gmail.com >
* fixup step name
Signed-off-by: tison <wander4096@gmail.com >
* remove unused file
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
2024-05-15 12:55:49 +00:00