mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
refactor: refactor PgStore (#5309)
* refactor: refactor PgStore * fix: election use bytea and txn use Serializable to avoid read unrepeatable (#4) * fix: election use bytea as well * fix: use Serializable to avoid read unrepeatable * chore: remove unused error * ci: enable pg kvbackend and sqlness * ci: switch on pg_kvbackend feature * fix: fix sqlness runner * chore: add pg_kvbackend feature gate * build(ci): add feature gate * fix: add retry for `PgStore` txn * fix: correct `SET_IDLE_SESSION_TIMEOUT` --------- Co-authored-by: Yohan Wal <1035325592@qq.com> Co-authored-by: CookiePieWw <profsyb@gmail.com>
This commit is contained in:
7
.github/workflows/develop.yml
vendored
7
.github/workflows/develop.yml
vendored
@@ -100,7 +100,7 @@ jobs:
|
||||
- name: Build greptime binaries
|
||||
shell: bash
|
||||
# `cargo gc` will invoke `cargo build` with specified args
|
||||
run: cargo gc -- --bin greptime --bin sqlness-runner
|
||||
run: cargo gc -- --bin greptime --bin sqlness-runner --features pg_kvbackend
|
||||
- name: Pack greptime binaries
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -261,7 +261,7 @@ jobs:
|
||||
- name: Build greptime bianry
|
||||
shell: bash
|
||||
# `cargo gc` will invoke `cargo build` with specified args
|
||||
run: cargo gc --profile ci -- --bin greptime
|
||||
run: cargo gc --profile ci -- --bin greptime --features pg_kvbackend
|
||||
- name: Pack greptime binary
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -573,6 +573,9 @@ jobs:
|
||||
- name: "Remote WAL"
|
||||
opts: "-w kafka -k 127.0.0.1:9092"
|
||||
kafka: true
|
||||
- name: "Pg Kvbackend"
|
||||
opts: "--setup-pg"
|
||||
kafka: false
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user