liyang
bb62dc2491
build: use ubuntu-22.04 base image release dev-build image ( #5554 )
...
* build: use ubuntu-22.04 release dev-build image
* ci: use ubuntu-22.04 replace ubuntu-22.04-16-cores
2025-03-04 04:45:55 +00:00
Weny Xu
c0c87652c3
chore: bump version to 0.13.0 ( #5611 )
...
chore: bump main branch version to 0.13.0
2025-02-27 13:19:59 +00:00
Ruihang Xia
500d0852eb
fix: avoid run labeler job concurrently ( #5584 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-02-22 05:18:26 +00:00
liyang
009dbad581
ci: don't push nightly latest image ( #5551 )
...
* ci: don't push nightly latest image
* add push release latest image
2025-02-17 04:34:49 +00:00
liyang
a2047b096c
ci: use s5cmd upload artifacts ( #5550 )
2025-02-17 02:57:13 +00:00
liyang
92d9e81a9f
ci: use the repository variable to pass to image-name ( #5517 )
...
Co-authored-by: Yingwen <realevenyag@gmail.com >
2025-02-13 18:14:49 +00:00
Ning Sun
46947fd1de
ci: docbot requires pull_request_target ( #5514 )
2025-02-12 09:46:04 +00:00
LFC
ccfa40dc41
ci: run nightly jobs only on greptimedb repo ( #5505 )
...
ci: skip nightly ci jobs (#9 )
(cherry picked from commit 345b4c30474f47a0477263bfba9894d7b4acda2d)
(cherry picked from commit dcd779cd668802fb1ea12fefb4dc3f83f34e30a2)
2025-02-11 10:57:43 +00:00
yihong
342883e922
ci: safe ci using zizmor check ( #5491 )
...
* ci: safe ci using zizmor check
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: lines empty
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: delete useless code
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
---------
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-02-11 02:38:14 +00:00
yihong
1e61d05211
fix: arm actions test failed ( #5433 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-01-24 03:43:59 +00:00
Ning Sun
d53b9fbd03
ci: switch to nix flakes for more reproducible builds ( #5426 )
2025-01-24 03:30:45 +00:00
Ning Sun
69881e3bc1
ci: allow skipping tests as required tasks ( #5436 )
...
ci: allow skipping tests
2025-01-24 03:04:55 +00:00
Ning Sun
5daac5fe3d
ci: revert coverage runner ( #5403 )
2025-01-20 03:52:38 +00:00
Ning Sun
f53b6777cc
ci: use arm builders for tests ( #5395 )
2025-01-20 02:12:12 +00:00
Ning Sun
121ec7936f
ci: do not collect coverage from pull request any more ( #5364 )
...
* ci: do not collect coverage from pull request any more
* fix: disable toolchain cache
2025-01-15 09:33:49 +00:00
Yiran
5efcb41310
ci: automatically bump doc version when release GreptimeDB ( #5343 )
...
* ci: automatically bump doc version when release GreptimeDB
* add license header
2025-01-14 08:20:58 +00:00
Ning Sun
f5829364a2
fix: security fix, sqlx, hashbrown, idna and CI updates ( #5330 )
...
* fix: security fix, sqlx, hashbrown, idna
* ci: optimize ci cache generation
* feat: update pprof
2025-01-14 08:19:33 +00:00
Ning Sun
0685ba265c
ci: disable cache for some tasks, create cache in nightly build ( #5324 )
...
* ci: disable cache for some tasks
* ci: add a nightly test to create rust cache on main
2025-01-09 11:14:13 +00:00
Ning Sun
815ce59a3a
ci: use mold for tests ( #5319 )
...
* ci: use mold for tests
* ci: enable rust cache saving for merge group
2025-01-08 12:41:04 +00:00
Ning Sun
e18416a726
ci: do not trigger tests when there is a merge conflict ( #5318 )
...
* ci: do not trigger tests when there is a merge conflict
* Update .github/workflows/develop.yml
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
* ci: disable cache from rust toolchain action
---------
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
2025-01-08 09:02:49 +00:00
Weny Xu
c89ef85902
chore(nightly-ci): remove pg_kvbackend feature gate in windows ci ( #5310 )
2025-01-08 03:53:58 +00:00
Weny Xu
3d9df822ad
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 >
2025-01-07 07:27:58 +00:00
Weny Xu
05f115e047
fix(pg_backend): correct set idle_in_transaction_session_timeout statement ( #5304 )
...
* fix(metasrv): correct `backend` field configuration
* refactor!: added `#[serde(rename_all = "snake_case")]` macro to the `BackendImpl` enum
* fix(metasrv): correct `set idle_in_transaction_session_timeout` statement
* build: enable `pg_backend` by default
2025-01-06 12:07:35 +00:00
Ning Sun
ddf36c8324
ci: disable docker/rust cache temporarily and merge docker compose files ( #5293 )
...
* ci: disable docker cache temporarily and merge docker compose files
* ci: fix compose file name and options
* ci: try to disable rust cache
2025-01-06 08:23:46 +00:00
Ning Sun
cc5b1d42b0
ci: disable pyo3 build tasks ( #5256 )
...
* ci: disable pyo3 build tasks
* ci: skip installing python for windows
* ci: also removed python dependencies from docker base image
2024-12-31 04:53:41 +00:00
Ning Sun
1287d4cb9f
ci: make sure clippy passes before running tests ( #5253 )
...
* ci: make sure clippy passes before running tests
* ci: do not run ci on main branch
2024-12-30 07:01:15 +00:00
Yingwen
f1eb76f489
fix: implement a CacheStrategy to ensure compaction use cache correctly ( #5254 )
...
* feat: impl CacheStrategy
* refactor: replace Option<CacheManagerRef> with CacheStrategy
* feat: add disabled strategy
* ci: force update taplo
* refactor: rename CacheStrategy::Normal to CacheStrategy::EnableAll
* ci: force install cargo-gc-bin
* ci: force install
* chore: use CacheStrategy::Disabled as ScanInput default
* chore: fix compiler errors
2024-12-30 06:24:53 +00:00
Yohan Wal
ef13c52814
feat: init PgElection with candidate registration ( #5209 )
...
* feat: init PgElection
fix: release advisory lock
fix: handle duplicate keys
chore: update comments
fix: unlock if acquired the lock
chore: add TODO and avoid unwrap
refactor: check both lock and expire time, add more comments
chore: fmt
fix: deal with multiple edge cases
feat: init PgElection with candidate registration
chore: fmt
chore: remove
* test: add unit test for pg candidate registration
* test: add unit test for pg candidate registration
* chore: update pg env
* chore: make ci happy
* fix: spawn a background connection thread
* chore: typo
* fix: shadow the election client for now
* fix: fix ci
* chore: readability
* chore: follow review comments
* refactor: use kvbackend for pg election
* chore: rename
* chore: make clippy happy
* refactor: use pg server time instead of local ones
* chore: typo
* chore: rename infancy to leader_infancy for clarification
* chore: clean up
* chore: follow review comments
* chore: follow review comments
* ci: unit test should test all features
* ci: fix
* ci: just test pg
2024-12-26 12:39:32 +00:00
Ning Sun
c623404fff
ci: fix nightly ci task on nix build ( #5198 )
2024-12-21 10:09:32 +00:00
Yingwen
fa3b7ed5ea
build: use 8xlarge as arm default ( #5214 )
2024-12-21 08:39:24 +00:00
Ning Sun
2107737db1
chore: make nix compilation environment config more robust ( #5183 )
...
* chore: improve nix-shell support
* fix: add pkg-config
* ci: add a github action to ensure build on clean system
* ci: optimise dependencies of task
* ci: move clean build to nightly
2024-12-18 12:41:24 +00:00
Weny Xu
d0245473a9
fix: correct set_region_role_state_gracefully behaviors ( #5171 )
...
* fix: reduce default max rows for fuzz testing
* chore: remove Postgres setup from fuzz test workflow
* chore(fuzz): increase resource limits for GreptimeDB cluster
* chore(fuzz): increase resource limits for kafka
* fix: correct `set_region_role_state_gracefully` behaviors
* chore: remove Postgres setup from fuzz test workflow
* chore(fuzz): redue resource limits for GreptimeDB & kafka
2024-12-16 14:01:40 +00:00
Yingwen
579059d99f
ci: use 4xlarge for nightly build ( #5158 )
2024-12-13 12:53:11 +00:00
discord9
d91517688a
chore: fix aws_lc not in depend tree check in CI ( #5121 )
...
* chore: fix aws_lc check in CI
* chore: update lock file
2024-12-11 07:02:03 +00:00
Yingwen
7c69ca0502
chore: bump main branch version to 0.12 ( #5133 )
...
chore: bump version to v0.12.0
2024-12-10 13:10:37 +00:00
Ning Sun
bcadce3988
chore: remove openssl deps ( #5079 )
...
* chore: remove openssl deps
* ci: add ci task to check blacklisted dependencies
2024-12-02 07:12:15 +00:00
Zhenchi
a6571d3392
chore: bump version to 0.10.0 ( #5040 )
...
* chore: bump version to 0.10.0
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix sqlness version regex
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-22 03:56:25 +00:00
zyy17
0089cf1b4f
fix: run install.sh error ( #4989 )
...
* fix: use '/bin/sh' shebang and remove function key word
* ci: check install.sh in nightly CI
2024-11-13 21:54:24 +00:00
Weny Xu
83eb777d21
test: add fuzz test for metric region migration ( #4862 )
...
* test: add fuzz tests for migrate metric regions
* test: insert values before migrating metric region
* feat: correct table num
* chore: apply suggestions from CR
2024-10-29 15:47:48 +00:00
discord9
f3e5a5a7aa
ci: install numpy in CI ( #4895 )
...
chore: install numpy in CI
2024-10-29 07:57:40 +00:00
Weny Xu
6e776d5f98
feat: support to reject write after flushing ( #4759 )
...
* refactor: use `RegionRoleState` instead of `RegionState`
* feat: introducing `RegionLeaderState::Downgrading`
* refactor: introduce `set_region_role_state_gracefully`
* refactor: use `set_region_role` instead of `set_writable`
* feat: support to reject write after flushing
* fix: fix unit tests
* test: add unit test for `should_reject_write`
* chore: add comments
* chore: refine comments
* fix: fix unit test
* test: enable fuzz tests for Local WAL
* chore: add logs
* chore: rename `RegionStatus` to `RegionState`
* feat: introduce `DowngradingLeader`
* chore: rename
* refactor: refactor `set_role_state` tests
* test: ensure downgrading region will reject write
* chore: enhance logs
* chore: refine name
* chore: refine comment
* test: add tests for `set_role_role_state`
* fix: fix unit tests
* chore: apply suggestions from CR
* chore: apply suggestions from CR
2024-09-30 08:28:51 +00:00
discord9
0274e752ae
chore: make sure aws-lc-sys wouldn't be built ( #4767 )
...
* chore: make sure aws-lc-sys wouldn't be built
* fix: bash
* refactor: multiple line bash
2024-09-25 17:11:37 +00:00
Ruihang Xia
93f202694c
refactor: remove unused error variants ( #4666 )
...
* add python script
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unused errors
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix all negative cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* setup CI
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add license header
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-09-03 13:19:38 +00:00
zyy17
ddafcc678c
ci: disable macos integration test and some minor refactoring ( #4658 )
2024-09-02 03:06:17 +00:00
zyy17
4ea412249a
ci: add check-builder-rust-version job in release and change release-dev-builder-images trigger condition ( #4615 )
2024-08-27 16:59:01 +00:00
Ning Sun
0b102ef846
ci: improve toolchain resolution in ci ( #4614 )
...
* ci: improve toolchain resolution in ci
* fix: yaml format
2024-08-27 07:46:51 +00:00
liyang
e404e9dafc
chore: setting docker authentication in dev-build image ( #4623 )
2024-08-27 03:49:53 +00:00
liyang
63a442632e
fix: failed to get version ( #4622 )
2024-08-26 15:33:30 +00:00
liyang
d39bafcfbd
fix: change toolchain file name ( #4621 )
2024-08-26 13:04:06 +00:00
liyang
1717445ebe
fix: failed to get github sha ( #4620 )
2024-08-26 11:42:07 +00:00