Weny Xu
dd23d47743
chore(ci): bring back chaos tests ( #4456 )
...
* Revert "chore: temporarily disable fuzz chaos tests (#4457 )"
This reverts commit f0c953f84a .
* chore: update config
* Update .github/actions/setup-greptimedb-cluster/with-remote-wal.yaml
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2024-07-31 07:29:31 +00:00
Ran Miller
80aaa7725e
docs(contributing): replace expired links ( #4468 )
2024-07-31 06:11:30 +00:00
Ran Miller
c24de8b908
refactor(servers): improve postgres error message ( #4463 )
...
* refactor(servers): improve postgres error message
* refactor(servers): remove numerical representation of ErrorSeverity
2024-07-31 06:06:15 +00:00
Yingwen
f382a7695f
perf: reduce lock scope and improve log ( #4453 )
...
* feat: refine logs for scan
* feat: improve build parts and unordered scan metrics
* feat: change to debug log
* fix: release lock before reading part
* test: replace region id
* test: fix sqlness
* chore: add todo
Co-authored-by: dennis zhuang <killme2008@gmail.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2024-07-31 04:07:34 +00:00
Jeremyhi
1ea43da9ea
feat: default export catalog name ( #4464 )
...
* feat: default export catalog name
* chore: default catalog name
2024-07-31 03:39:39 +00:00
dennis zhuang
6113f46284
docs: tweak readme ( #4465 )
2024-07-31 02:35:29 +00:00
LFC
6d8a502430
chore: add more metrics about parquet and cache ( #4410 )
...
* chore: add more metrics about parquet and cache
* resolve PR comments
* resolve PR comments
* resolve PR comments
* resolve PR comments
2024-07-30 12:01:49 +00:00
Ruihang Xia
2d992f4f12
fix: check_partition uses unqualified name ( #4452 )
...
* fix: check_partition uses unqualified name
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-07-30 11:28:28 +00:00
Ruihang Xia
7daf24c47f
feat: remove dedicated runtime for grpc, mysql and pg protocols ( #4436 )
...
* feat: remove dedicated runtime for grpc, mysql and pg protocols
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove other runtimes
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* spawn compact task into compact_runtime
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refine naming
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/servers/tests/mysql/mysql_server_test.rs
Co-authored-by: Zhenchi <zhongzc_arch@outlook.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* turnoff fuzz test matrix fail fast option
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: update rt config for ci tests
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Zhenchi <zhongzc_arch@outlook.com >
Co-authored-by: Weny Xu <wenymedia@gmail.com >
2024-07-30 06:17:58 +00:00
shuiyisong
567f5105bf
fix: missing pre_write check on prometheus remote write ( #4460 )
...
fix: missing pre_write check on prometheus remote write
2024-07-30 04:55:19 +00:00
Yingwen
78962015dd
ci: keep sqlness log by default ( #4449 )
...
* ci: keep sqlness log by default
* chore: not preserve state in makefile by default
* ci: use make
2024-07-29 17:11:24 +00:00
taobo
1138f32af9
feat: support setting time range in Copy From statement ( #4405 )
...
* feat: support setting time range in Copy From statement
* test: add batch_filter_test
* fix: ts data type inconsistent error
* test: add sqlness test for copy from with statement
* fix: sqlness result error
* fix: cr comments
2024-07-29 16:55:19 +00:00
shuiyisong
53fc14a50b
fix: use status code to http status mapping in error IntoResponse ( #4455 )
2024-07-29 16:37:04 +00:00
Ruihang Xia
1895a5478b
feat: track prometheus HTTP API's query latency ( #4458 )
...
* feat: track prometheus HTTP API's query latency
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update grafana config
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: Update src/servers/src/metrics.rs
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2024-07-29 15:00:09 +00:00
Weny Xu
f0c953f84a
chore: temporarily disable fuzz chaos tests ( #4457 )
2024-07-29 13:23:40 +00:00
zyy17
1a38f36d2d
refactor!: Remove Mode from FrontendOptions ( #4401 )
...
refactor: remove `Mode` from `FrontendOptions`
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2024-07-29 06:57:01 +00:00
Zhenchi
cb94bd45d3
fix(fulltext-search): prune rows in row group forget to take remainder ( #4447 )
...
* fix(fulltext-search): prune rows in row group forget to take remainder
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: add unit test
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-07-29 06:20:07 +00:00
Ning Sun
b298b35b3b
feat: show root cause and db name on the error line ( #4442 )
...
* feat: show root cause on the error line
* feat: show root error for grpc
* feat: add error information for http error
* feat: add db information on error mysql/postgres logs
2024-07-29 03:59:42 +00:00
Weny Xu
164232e073
fix: use heartbeat runtime instead of background runtime ( #4445 )
2024-07-29 03:29:30 +00:00
JohnsonLee
9a5fa49955
feat: support pg_namespace, pg_class and related psql command ( #4428 )
...
* feat: add function 'pg_catalog.pg_table_is_visible'q
* feat: add 'pg_class' and 'pg_namespace', now we can run '\d' and '\dt'!
* refactor: move memory_table::tables to utils::tables
* refactor: move out predicate to system_schema to reuse it
* feat: predicates pushdown
* test: add pg_namespace, pg_class related sqlness test
* fix: typos and license header
* fix: sqlness test
* refactor: use `expect` instead of `unwrap` here
* refactor: remove the `information_schema::utils` mod
* doc: make the comment in pg_get_userbyid more precise
* doc: add TODO and comment in pg_catalog
* fix: typo
* fix: sqlness
* doc: change to comment on PGClassBuilder to TODO
2024-07-28 12:04:54 +00:00
dennis zhuang
92d6d4e64a
docs: update project status ( #4440 )
...
* docs: update project status
* docs: update project status
2024-07-27 05:24:09 +00:00
discord9
021ec7b6ac
feat(flow): flush_flow function ( #4416 )
...
* refactor: df err variant
* WIP
* chore: update proto version
* chore: revert mistaken rust-toolchain
* feat(WIP): added FlowService to QueryEngine
* refactor: move flow service to operator
* refactor: flush use flow name not id
* refactor: use full path in macro
* feat: flush flow
* feat: impl flush flow
* chore: remove unused
* chore: meaninful response
* chore: remove unused
* chore: clippy
* fix: flush_flow with proper blocking
* test: sqlness tests added back for flow
* test: better predicate for flush_flow
* refactor: rwlock
* fix: flush lock
* fix: flush lock write then drop
* test: add a new flow sqlness test
* fix: sqlness testcase
* chore: style
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2024-07-26 23:04:13 +00:00
dennis zhuang
0710e6ff36
fix: remove to_timezone function ( #4439 )
...
fix: remove to_timezone, it doesn't make sense
2024-07-26 07:40:07 +00:00
dennis zhuang
db3a07804e
fix: information_schema tables and views column value ( #4438 )
2024-07-26 07:39:58 +00:00
Lei, HUANG
bdd3d2d9ce
chore: add dynamic cache size adjustment for InvertedIndexConfig ( #4433 )
...
* Add dynamic cache size adjustment for InvertedIndexConfig
* Increase cache sizes in integration tests for HTTP
- Updated `metadata_cache_size` from 32MiB to 64MiB
* Remove cache size settings from config and update drop_lines_with_inconsistent_results function to handle them
* Add cache size configurations for inverted index metadata and content
- Introduced `metadata_cache_size` with a default of 64MiB.
- Introduced `content_cache_size` with a default of 128MiB.
* chore/index-content-cache-default-size: Add cache size configuration options for Mito engine's inverted index
2024-07-26 03:36:20 +00:00
zyy17
b81d3a28e6
refactor: add RetryInterceptor to print detailed error ( #4434 )
2024-07-25 11:52:28 +00:00
Weny Xu
89b86c87a2
chore: add docs for config file ( #4432 )
2024-07-25 08:11:10 +00:00
Lei, HUANG
0b0ed03ee6
fix(metrics): RowGroupLastRowCachedReader metrics ( #4418 )
...
fix/reader-metrics:
Refactor cache hit/miss logic and update metrics in mito2
- Simplify cache retrieval logic in CacheManager by removing inline update_hit_miss function call.
- Add separate functions for incrementing cache hit and miss metrics.
- Update RowGroupLastRowCachedReader to use new cache hit/miss functions and refactor to new helper methods for creating Hit and Miss variants.
2024-07-25 06:45:43 +00:00
dennis zhuang
ea4a71b387
docs: update readme ( #4431 )
2024-07-25 06:17:45 +00:00
dennis zhuang
4cd5ec7769
docs: update readme ( #4430 )
2024-07-25 02:42:18 +00:00
Ruihang Xia
c8f4a85720
chore: update grafana dashboard to reflect recent metric changes ( #4417 )
...
* chore: update grafana dashboard to reflect recent metric changes
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* chore: add a blank line at the end
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2024-07-24 20:05:44 +00:00
discord9
024dac8171
chore: add a compile cfg for python in cmd package ( #4406 )
...
* chore: add a compile cfg for python
* fix: feature gate additive turn off default features in workspace&add cfg in place
* chore: remove unused in different cfg
2024-07-24 20:03:53 +00:00
Ran Miller
918be099cd
docs(common_error): format enum StatusCode docs ( #4427 )
...
* fix: format comments end with . symbol
* docs: add commnet for RegionReadonly
* fix: comment error for DatabaseAlreadyExists
2024-07-24 15:54:35 +00:00
Zhenchi
91dbac4141
fix(fulltext-index): clean up 0-value timer ( #4423 )
...
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-07-24 15:03:36 +00:00
Ran Miller
e935bf7574
refactor: Remove PhysicalOptimizer and LogicalOptimizer trait ( #4426 )
...
* refactor(query): Remove LogicalOptimizer trait
* refactor(query): Remove PhysicalOptimizer trait
2024-07-24 13:01:44 +00:00
Ran Miller
f7872654cc
refactor(query): Remove PhysicalPlanner trait ( #4412 )
2024-07-24 03:06:46 +00:00
shuiyisong
547730a467
chore: add metrics for log ingestion ( #4411 )
...
* chore: add metrics for log ingestion
* chore: record result as well
2024-07-23 08:05:11 +00:00
Ning Sun
49f22f0fc5
fix: add back AuthBackend which is required by custom auth backend ( #4409 )
2024-07-23 05:35:29 +00:00
zyy17
2ae2a6674e
refactor: add get_storage_path() and get_catalog_and_schema() ( #4397 )
...
refactor: add get_storage_path() and get_catalog_and_schema()
v0.10.0-nightly-20240722
2024-07-20 01:55:48 +00:00
Lei, HUANG
c8cf3b1677
fix(wal): handle WAL deletion on region drop ( #4400 )
...
Add LogStore trait bound to RegionWorkerLoop and handle WAL deletion on region drop.
2024-07-19 13:24:10 +00:00
Yingwen
7aae19aa8b
fix: dictionary key type use u32 ( #4396 )
...
* fix: dictionary key type use u32
* fix: fix error whle reading content
* fix: bulk memtable dictionary type
2024-07-19 09:51:29 +00:00
Jeremyhi
b90267dd80
feat: export database data ( #4382 )
...
* feat: export database data
* feat: export data with time range
* feat: refactor the data dir
* feat: by comment
2024-07-19 09:29:45 +00:00
discord9
9fa9156bde
feat: FLOWS table in information_schema&SHOW FLOWS ( #4386 )
...
* feat(WIP): flow info table
refactor: better err handling&log
feat: add flow metadata to info schema provider
feat(WIP): info_schema.flows
feat: info_schema.flows table
* fix: err after rebase
* fix: wrong comparsion op
* feat: SHOW FLOWS&tests
* refactor: per review
* chore: unused
* refactor: json error
* chore: per review
* test: sqlness
* chore: rm inline error
* refactor: per review
2024-07-19 09:29:36 +00:00
zyy17
ce900e850a
fix: user provider can't be configured by config file or environment variables ( #4398 )
2024-07-19 08:41:29 +00:00
zyy17
5274c5a407
refactor: add &mut Plugins argument in plugins setup api and remove unnecessary mut ( #4389 )
...
refactor: add '&mut Plugins' argument in plugins setup api and remove unnecessary mut
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2024-07-19 08:12:06 +00:00
Yingwen
0b13ac6e16
ci: disable auto review ( #4387 )
2024-07-18 08:03:37 +00:00
shuiyisong
8ab6136d1c
chore: support pattern as pipeline key name ( #4368 )
...
* chore: add pattern to processor key name
* fix: typo
* refactor: test
2024-07-18 03:32:26 +00:00
Weny Xu
e39f49fe56
fix: ensure keep alive is completed in time ( #4349 )
...
* fix: ensure keep alive is completed in time
* chore: apply suggestions from CR
* chore: use write runtime
* refactor: set META_LEASE_SECS to 5
* chore: set etcd replicas to 1
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* fix: set `MissedTickBehavior::Delay`
* chore: apply suggestions from CR
2024-07-17 06:14:45 +00:00
discord9
c595a56ac8
test(flow): ignore flow tests for now ( #4377 )
...
* tests: ignore flow tests for now
* chore: typo
* test: remove file altogether
* fix: last_value sqlness test regex
* fix: last_value part REDACTED
v0.9.0
2024-07-16 10:07:21 +00:00
Yingwen
d6c7b848da
chore: bump version to v0.9.0 ( #4376 )
...
* chore: bump version to v0.9.0
* chore: format
2024-07-16 07:50:45 +00:00