summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD2
-rw-r--r--greptimedb.toml9
4 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7ecdb8f7568..201a4802e131 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = greptimedb-bin
pkgdesc = Open-source time-series database.
pkgver = 0.1.0.20230130
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/GreptimeTeam/greptimedb
arch = x86_64
license = Apache-2.0
provides = greptimedb
- source = greptime-linux-amd64-0.1.0.20221219.tgz::https://github.com/GreptimeTeam/greptimedb/releases/download/v0.1.0-alpha-20230130-weekly/greptime-linux-amd64.tgz
+ source = greptime-linux-amd64-0.1.0.20230130.tgz::https://github.com/GreptimeTeam/greptimedb/releases/download/v0.1.0-alpha-20230130-weekly/greptime-linux-amd64.tgz
source = greptimedb.sysusers
source = greptimedb.service
source = greptimedb-tmpfile.conf
diff --git a/.gitignore b/.gitignore
index 20d152e467a8..523a5750ba14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,6 @@
*.zst
src
pkg
+*~
+
diff --git a/PKGBUILD b/PKGBUILD
index c1795b380740..3c5ee95ac1a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=greptimedb-bin
pkgver=0.1.0.20230130
_pkgvergh=v0.1.0-alpha-20230130-weekly
-pkgrel=1
+pkgrel=2
pkgdesc='Open-source time-series database.'
arch=('x86_64')
url='https://github.com/GreptimeTeam/greptimedb'
diff --git a/greptimedb.toml b/greptimedb.toml
index 50c694021b9e..662f670c7fa6 100644
--- a/greptimedb.toml
+++ b/greptimedb.toml
@@ -1,8 +1,15 @@
node_id = 0
mode = 'standalone'
-wal_dir = "/var/lib/greptimedb/wal/"
enable_memory_catalog = false
+[wal]
+dir = '/var/lib/greptimedb/wal'
+file_size = '1GB'
+purge_interval = '10m'
+purge_threshold = '50GB'
+read_batch_size = 128
+sync_write = false
+
[storage]
type = 'File'
data_dir = '/var/lib/greptimedb/data/'