Ruihang Xia
ce43896a0b
refactor(mito2): implement serialize/deserialize for RegionMetadata ( #1964 )
...
* feat: implement serialize/deserialize for RegionMetadata
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove Raw*
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* render mermaid
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* derive Serialize
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename symbols
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-14 14:44:12 +08:00
JeremyHi
c9cce0225d
feat: ask leader ( #1957 )
...
* feat: ask leader
* fix: license header
* chore: by comment
2023-07-14 11:32:47 +08:00
Ruihang Xia
5bfd0d9857
refactor(mito): define region metadata ( #1960 )
...
* refactor(mito): define region metadata
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unneeded message
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/mito2/src/metadata.rs
Co-authored-by: Yingwen <realevenyag@gmail.com >
* add primary keys vector
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update mermaid
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2023-07-13 13:40:41 +00:00
JeremyHi
e4fd5d0fd3
refactor: let metasrv returns ref always ( #1954 )
2023-07-13 17:06:51 +08:00
Weny Xu
132668bcd1
feat: invalidate table cache after altering ( #1951 )
2023-07-13 14:19:26 +08:00
JeremyHi
8b4145b634
feat: simplify the usage of channel_manage ( #1949 )
...
* feat: simplify the usage of channelJ_manager by avoiding the external call of start_channel_recycle
* chore: fix unit test
* Update src/common/grpc/Cargo.toml
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
---------
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
2023-07-13 06:11:11 +00:00
Weny Xu
735c6390ca
feat: implement alter table procedure ( #1878 )
...
* feat: implement alter table procedure
* fix: fix uncaught error
* refactor: move fetch_table/s to table_routes.rs
* refactor: refactor error handling
* chore: apply suggestions from CR
* feat: switch to using alter table procedure
* feat: add table_version
* chore: apply suggestions from CR
* feat: introduce ddl_channel_manager
* chore: update greptime-proto
2023-07-13 10:41:46 +08:00
Ben Baoyi
9ff7670adf
refactor:remove common_error::prelude ( #1946 )
...
* feat:Remove common_error::prelude
* fix merge error
* cr comment
* fix error
2023-07-13 10:36:36 +08:00
Ruihang Xia
16be56a743
refactor(mito): port manifest storage to mito2 ( #1948 )
...
* refactor(mito): port manifest storage to mito2
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove deadcode
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-12 11:21:11 +00:00
Ben Baoyi
2bfe25157f
feat:add check port before start sqlness test ( #1895 )
...
* feat:add check port before start sqlness test
* cr comment
* feat:remove redundant check_port
* cr comment
* cr comment
* cr comment
2023-07-12 17:44:50 +08:00
LFC
4fdb6d2f21
refactor: remote catalog uses memory ( #1926 )
...
* refactor: remote catalog uses memory
* rebase develop
* fix: resolve PR comments
2023-07-12 09:33:33 +00:00
Vanish
39091421a4
feat: implement truncate table parser ( #1932 )
...
* feat: truncate parser
* chore: keyword TABLE as optional
2023-07-12 14:59:24 +08:00
Eugene Tolbakov
674bfd85c7
chore(prom)!: rename prometheus(remote storage) to prom-store and promql(HTTP server) to prometheus ( #1931 )
...
* chore(prom): rename prometheus(remote storage) to prom-store and promql(HTTP server) to prometheus
* chore: apply clippy suggestions
* chore: adjust format according to rustfmt
2023-07-12 14:47:09 +08:00
Ruihang Xia
4fa8340572
feat: support desc [table] <table_name> ( #1944 )
...
* feat: support desc [table]
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refine style
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-12 06:41:31 +00:00
shuiyisong
5422224530
chore: upgrade toml version ( #1945 )
2023-07-12 14:22:02 +08:00
Ruihang Xia
077785cf1e
refactor(mito): define manifest related API ( #1942 )
...
* refactor: port some manifest struct to mito2
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy and nextest
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* revert lock file and resolve clippy warnings
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-12 03:42:55 +00:00
Weny Xu
a751aa5ba0
feat: switch to using drop table procedure ( #1901 )
...
* feat: switch to using drop table procedure
* chore: remove unused attributes
* feat: register the drop table procedure loader
* fix: fix typo
2023-07-12 10:35:23 +08:00
Weny Xu
264c5ea720
feat: meta procedure options ( #1937 )
...
* feat: meta procedure options
* chore: tune meta procedure options in tests
* Update src/common/procedure/Cargo.toml
Co-authored-by: dennis zhuang <killme2008@gmail.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2023-07-12 02:22:08 +00:00
Weny Xu
fa12392d2c
fix: fix frontend meta client option issue ( #1939 )
2023-07-12 10:13:07 +08:00
Ruihang Xia
421103c336
refactor: remove misdirectional alias "Request as GreptimeRequest" ( #1940 )
...
remove Request as GreptimeRequest
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-12 10:06:05 +08:00
Ning Sun
41e856eb9e
refactor: change logging level for mysql error log ( #1938 )
...
* refactor: change logging level for mysql error log
* Update src/common/telemetry/Cargo.toml
Co-authored-by: LFC <bayinamine@gmail.com >
---------
Co-authored-by: LFC <bayinamine@gmail.com >
2023-07-11 20:49:05 +08:00
JeremyHi
e1ca454992
chore: grpc-timeput = 10s ( #1934 )
...
* chore: grpc-timeput = 10s
* chore: fix ut
2023-07-11 15:07:18 +08:00
Weny Xu
2d30f4c373
fix: fix broken CI ( #1933 )
2023-07-11 14:48:41 +08:00
Lei, HUANG
a7ea3bbc16
feat: manual compact api ( #1912 )
...
* merge develop
* chore: merge develop
* fix: some cr commentx
* fix: cr comments
2023-07-11 04:00:39 +00:00
Eugene Tolbakov
fc850c9988
feat(config-endpoint): add initial implementation ( #1896 )
...
* feat(config-endpoint): add initial implementation
* feat: add initial handler implementation
* fix: apply clippy suggestions, use axum response instead of string
* feat: address CR suggestions
* fix: minor adjustments in formatting
* fix: add a test
* feat: add to_toml_string method to options
* fix: adjust the assertion for the integration test
* fix: adjust expected indents
* fix: adjust assertion for the integration test
* fix: improve according to clippy
2023-07-11 11:08:32 +08:00
Ning Sun
f293126315
feat: add logical plan based prepare statement for postgresql ( #1813 )
...
* feat: add logical plan based prepare statement for postgresql
* refactor: correct more types
* Update src/servers/src/postgres/types.rs
Co-authored-by: LFC <bayinamine@gmail.com >
* fix: address review issues
* test: add datetime in integration tests
---------
Co-authored-by: LFC <bayinamine@gmail.com >
2023-07-11 11:07:18 +08:00
Weny Xu
c615fb2a93
fix: fix uncaught error 🥲 ( #1929 )
...
fix: fix uncaught error
2023-07-10 23:41:20 +08:00
Yingwen
65f5349767
feat(mito2): Define basic structs for MitoEngine ( #1928 )
...
* chore: metadata wip
* docs(mito2): Add struct relationships
* feat(mito2): define basic structs
* feat: add version and refactor other metadata
* docs: remove generics param from MitoEngine
* chore: Update src/mito2/Cargo.toml
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
* chore: Apply suggestions from code review
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
---------
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-10 12:25:33 +00:00
Weny Xu
ed756288b3
fix: fix uncaught error ( #1924 )
2023-07-10 17:46:11 +08:00
shuiyisong
04ddeffd2a
chore: add rate limit status code ( #1923 )
2023-07-10 17:41:59 +08:00
Weny Xu
c8ed1bbfae
fix: cast orc data against output schema ( #1922 )
...
fix: cast data against output schema
2023-07-10 08:53:38 +00:00
Lei, HUANG
207d3d23a1
chore: bump latest greptime-proto version ( #1920 )
2023-07-10 16:28:22 +08:00
shuiyisong
63173f63a1
chore: add interceptor for prometheus query ( #1919 )
...
* chore: add prom query interceptor
* chore: add test
* chore: add test
* chore: fix cr issue
2023-07-10 16:28:07 +08:00
Yingwen
4ea8a78817
feat: dedup rows while flushing memtables ( #1916 )
...
* test: enlarge meta client timeout
* feat: dedup on flush
* test: enlarge datanode clients timeout
* chore: fix typo
2023-07-10 15:07:10 +08:00
Lei, HUANG
553530cff4
fix: immediately reschedule a compaction after compaction ( #1882 )
...
* fix: immediately reschedule a compaction after compaction
* refactor: add WriterCompactRequest
* feat: reschedule compaction
* fix: only reschedule compaction when it's triggered by flush
* fix: remove max_files_in_l0
---------
Co-authored-by: evenyag <realevenyag@gmail.com >
2023-07-10 15:05:31 +08:00
Lei, HUANG
c3db99513a
fix: remove useless mirror subsitution and RUN command ( #1918 )
...
fix: remove useless mirror subsitution and RUN command in builder docker file
2023-07-10 14:54:43 +08:00
Ruihang Xia
8e256b317d
test: add unit test for distributed limit pushdown ( #1917 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-10 14:40:18 +08:00
Weny Xu
b31fad5d52
feat: switch to using create table procedure ( #1861 )
...
* feat: switch to using create table procedure
* fix: add missing table_id and fix uncaught error
* refactor: remove unused code and metrics
* chore: apply suggestions from CR
* chore: remove unused attributes
* feat: add info log and metrics
* fix: fix conflicts
v0.4.0-nightly-20230710
2023-07-10 10:08:09 +08:00
Weny Xu
00181885cc
refactor: remove unused code ( #1913 )
2023-07-10 10:06:22 +08:00
Niwaka
195dfdc5d3
feat: add deregister_schema to CatalogManager ( #1911 )
...
* feat: add deregister_schema to CatalogManager
* refactor: MemoryCatalogManager::deregister_schema
* fix: typo
* fix: typo
2023-07-10 09:59:14 +08:00
zyy17
f20b5695b8
ci: use enterprise ACR ( #1908 )
2023-07-07 23:14:34 +08:00
Yingwen
f731193ddc
refactor: Define RegionId as a new type ( #1903 )
...
* refactor: Define RegionId as a new type
* chore: use into
* feat: custom debug print for region id
fix: test_show_create_table
2023-07-07 21:26:03 +08:00
zyy17
963e468286
refactor: add curl binary in docker image ( #1898 )
2023-07-07 12:59:57 +00:00
LFC
f19498f73e
refactor: unify KvBackend and KvStore ( #1890 )
...
* refactor: unify KvBackend and KvStore
2023-07-07 19:53:49 +08:00
Lei, HUANG
4cc42e2ba6
fix: before/after order ( #1907 )
2023-07-07 19:41:21 +08:00
Yingwen
cd5afc8cb7
ci: fix typo and check typo in docs ci ( #1905 )
2023-07-07 17:07:17 +08:00
Weny Xu
6dd24f4dc4
feat!: rename WITH parameter ENDPOINT_URL to ENDPOINT ( #1904 )
...
* feat!: rename WITH parameter ENDPOINT_URL to ENDPOINT
* fix: typo
2023-07-07 17:04:24 +08:00
Yingwen
55500b7711
docs(rfcs): Add table engine refactor RFC ( #1899 )
...
* docs(rfcs): Add table engine refactor RFC
* docs(rfcs): add pics
* refactor: replace svg files with mermaid diagrams
---------
Co-authored-by: Lei, HUANG <mrsatangel@gmail.com >
2023-07-07 16:27:10 +08:00
Weny Xu
64acfd3802
feat: implement drop table procedure ( #1872 )
...
* feat: implement drop table procedure
* fix: fix uncaught error
* refacotr: refactor error handling
* chore: apply suggestions from CR
* refactor: move fetch_table/s to table_routes.rs
* chore: fix clippy
* chore: apply suggestions from CR
* chore: rebase onto develop
* feat: compare the table_route value before deleting
* feat: handle if table already exists on datanode
* Update src/meta-srv/src/procedure/drop_table.rs
Co-authored-by: JeremyHi <jiachun_feng@proton.me >
---------
Co-authored-by: JeremyHi <jiachun_feng@proton.me >
2023-07-07 16:03:40 +08:00
Yingwen
ad165c1c64
ci: fix sqlness action in docs.yml doesn't have same name as develop.yml ( #1902 )
2023-07-07 14:33:47 +08:00