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
Niwaka
8dcb12e317
feat: support where in show ( #1829 )
...
* feat: support where in show
* fix: lift schema out of match
* fix: rename
* fix: improve error handling
2023-07-07 13:45:54 +08:00
LFC
03e30652c8
refactor: TableNameKey and DatanodeTableKey ( #1868 )
...
* refactor: TableNameKey and DatanodeTableKey
2023-07-07 13:27:43 +08:00
Yingwen
61c793796c
ci: skip sqlness test on docs update ( #1900 )
2023-07-07 11:45:44 +08:00
Weny Xu
dc085442d7
chore: bump orc-rust to 0.2.4 ( #1894 )
...
chore: bump orc-rust to 0.2
2023-07-06 08:18:24 +00:00
Ruihang Xia
9153191819
fix: resolve catalog and schema in dist planner ( #1891 )
...
* try resolve catalog and schema
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* upload sqlness case
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix information schema case
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix unnamed table name
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-06 08:08:44 +00:00
Lei, HUANG
979400ac58
refactor: support special characters in table keys ( #1893 )
...
* refactor: support special characters in table keys
* remnove '"()
* Allow `:` as initial character of table names.
2023-07-06 15:17:08 +08:00
Weny Xu
28748edb0d
chore: bump proto to 917ead6 ( #1892 )
...
* feat: add table_id for ddl exprs
* chore: bump proto to 917ead6
2023-07-06 13:29:36 +08:00
Niwaka
66e5ed5483
feat: support gcs storage ( #1781 )
2023-07-05 23:03:51 +08:00
Yingwen
af2fb2acbd
docs: add tsbs benchmark result of v0.3.2 ( #1888 )
...
* docs: add tsbs benchmark result of v0.3.2
* docs: table header
2023-07-05 20:55:36 +08:00
Yingwen
eb2654b89a
ci: allow update release (except release note) if it already exists ( #1887 )
2023-07-05 03:55:28 +00:00
liyang
3d0d082c56
refactor: release push binary ( #1883 )
2023-07-05 11:02:12 +08:00
Weny Xu
4073fceea5
fix: fix broken CI 😢 ( #1884 )
2023-07-05 10:43:53 +08:00
Weny Xu
8a00424468
refactor: implement Display for TableRouteKey ( #1879 )
2023-07-05 09:42:16 +08:00
liyang
4b580f4037
feat: release binary to aws s3 ( #1881 )
v0.3.2
2023-07-04 22:33:35 +08:00
Weny Xu
ee16262b45
feat: add create table procedure ( #1845 )
...
* feat: add create table procedure
* feat: change table_info type from vec u8 to RawTableInfo
* feat: return create table status
* fix: fix uncaught error
* refactor: use a notifier to respond to callers
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* chore: add comment
* chore: apply suggestions from CR
* refacotr: make CreateMetadata step after DatanodeCreateTable step
2023-07-04 22:24:43 +08:00
Yingwen
f37b394f1a
fix: check table existence in create table procedure ( #1880 )
...
* fix: check table existence in table procedures
* fix: use correct error variant
* chore: address view comments
* chore: address comments
* test: change error code
2023-07-04 22:01:27 +08:00
Eugene Tolbakov
ccee60f37d
feat(http_body_limit): add initial support for DefaultBodyLimit ( #1860 )
...
* feat(http_body_limit): add initial support for DefaultBodyLimit
* fix: address CR suggestions
* fix: adjust the const for default http body limit
* fix: adjust the toml_str for the test
* fix: address CR suggestions
* fix: body_limit units in example config toml files
* fix: address clippy suggestions
2023-07-04 20:56:56 +08:00
Ruihang Xia
bee8323bae
chore: bump sqlness to 0.5.0 ( #1877 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-04 19:49:12 +08:00
Weny Xu
000df8cf1e
feat: add ddl client ( #1856 )
...
* feat: add ddl client
* chore: apply suggestions from CR
* chore: apply suggestions from CR
2023-07-04 19:32:02 +08:00
Yingwen
884731a2c8
chore: initialize mito2 crate ( #1875 )
2023-07-04 17:55:00 +08:00
shuiyisong
2922c25a16
chore: stop caching None in CachedMetaKvBackend ( #1871 )
...
* chore: dont cache none
* fix: test case
* chore: add comment
* chore: minor rewrite
2023-07-04 17:17:48 +08:00
Lei, HUANG
4dec06ec86
chore: bump version 0.3.2 ( #1876 )
...
bump version 0.3.2
2023-07-04 17:04:27 +08:00
Lei, HUANG
3b6f70cde3
feat: initial twcs impl ( #1851 )
...
* feat: initial twcs impl
* chore: rename SimplePicker to LeveledPicker
* rename some structs
* Remove Compaction strategy
* make compaction picker a trait object
* make compaction picker configurable for every region
* chore: add some test for ttl
* add some tests
* fix: some style issues in cr
* feat: enable twcs when creating tables
* feat: allow config time window when creating tables
* fix: some cr comments
2023-07-04 16:42:27 +08:00
Yingwen
b8e92292d2
feat: Implement a new scan mode using a chain reader ( #1857 )
...
* feat: add log
* feat: print more info
* feat: use chain reader
* fix: panic on getting first range
* fix: prev not updated
* fix: reverse readers and iter backward
* chore: don't print windows in log
* feat: consider memtable range
Also fix the issue that using incorrect comparision method to sort time
ranges.
* fix: merge memtable window with sst's
* feat: add use_chain_reader option
* feat: skip empty memtables
* chore: change log level
* fix: memtable range not ordered
* style: fix clippy
* chore: address review comments
* chore: print region id in log
2023-07-04 16:01:34 +08:00
Ruihang Xia
746fe8b4fe
fix: use mark-deletion for system catalog ( #1874 )
...
* fix: use mark-deletion for system catalog
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix the default value
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean tables
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-07-04 16:00:39 +08:00
JeremyHi
20f2fc4a2a
feat: add leader kv store cache for metadata ( #1853 )
...
* feat: add leader kv store cache for metadata
* refactor: create cache internal
* fix: race condition
* fix: race condition on read
2023-07-04 15:49:42 +08:00
Yingwen
2ef84f64f1
feat(servers): enlarge default body limit to 64M ( #1873 )
2023-07-04 07:13:14 +00:00
fys
451cc02d8d
chore: add feature for metrics-process, default enable ( #1870 )
...
chore: add feature for metrics process, default enable
2023-07-04 13:28:33 +08:00