mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-08-22 14:08:28 +00:00
6a53bb053c
* feat: add purge_table admin function Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix: restrict purge_table to admin Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix: keep purge tombstone lookup consistent Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * test: verify soft-drop table lifecycle Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * ci: run soft-drop lifecycle sqlness Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix: read purge tombstones authoritatively Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(meta): invalidate soft-drop marker caches Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * feat(meta): enable configurable table soft drop Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(ci): configure gc for soft-drop sqlness Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(meta): close regions before soft-drop metadata Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(meta): avoid rollback after soft-drop tombstone Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(function): validate admin single-row calls Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(meta): log purge dropped table target Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix(meta): mark soft-drop config experimental Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> * fix: sqlness test base Signed-off-by: Lei, HUANG <ratuthomm@gmail.com> --------- Signed-off-by: Lei, HUANG <ratuthomm@gmail.com>
43 lines
805 B
Plaintext
43 lines
805 B
Plaintext
node_id = 1
|
|
mode = 'distributed'
|
|
require_lease_before_startup = true
|
|
rpc_runtime_size = 8
|
|
|
|
[[region_engine]]
|
|
[region_engine.mito]
|
|
{{ if enable_flat_format }}
|
|
default_flat_format = true
|
|
{{ endif }}
|
|
{{ if enable_gc }}
|
|
[region_engine.mito.gc]
|
|
enable = true
|
|
{{ endif }}
|
|
|
|
[wal]
|
|
{{ if is_raft_engine }}
|
|
provider = "raft_engine"
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '10GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
{{ else }}
|
|
provider = "kafka"
|
|
broker_endpoints = {kafka_wal_broker_endpoints | unescaped}
|
|
overwrite_entry_start_id = true
|
|
{{ endif }}
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_home = '{data_home}'
|
|
|
|
[meta_client_options]
|
|
metasrv_addrs = ['{addrs.metasrv_addr}']
|
|
timeout_millis = 3000
|
|
connect_timeout_millis = 5000
|
|
tcp_nodelay = false
|
|
|
|
[procedure]
|
|
max_retry_times = 3
|
|
retry_delay = "500ms"
|