Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update gh-ost (#15467)

p0nyf75ee281c502
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index 43e8b9183d..ca6c9be6fe 100644
--- a/.github/workflows/backend-tests.yml
+++ b/.github/workflows/backend-tests.yml
@@ -28,7 +28,7 @@ jobs:
go mod tidy
git diff --exit-code
- name: Run all tests
- run: go test -p=8 -ldflags "-w -s" -v ./backend/... | tee test.log; exit ${PIPESTATUS[0]}
+ run: go test -p=16 -timeout 30m -ldflags "-w -s" -v ./backend/... | tee test.log; exit ${PIPESTATUS[0]}
- name: Pretty print tests running time
# grep: filter out lines like "--- PASS: Test (15.04s)"
# sed: remove unnecessary characters
diff --git a/go.mod b/go.mod
index b23317331f..581210a3f8 100644
--- a/go.mod
+++ b/go.mod
@@ -370,7 +370,7 @@ require (
// fix potential security issue(CVE-2020-26160) introduced by indirect dependency.
replace github.com/dgrijalva/jwt-go => github.com/form3tech-oss/jwt-go v3.2.6-0.20210809144907-32ab6a8243d7+incompatible
-replace github.com/github/gh-ost => github.com/bytebase/gh-ost2 v0.0.0-20250221080129-d3c3cc3b9931
+replace github.com/github/gh-ost => github.com/bytebase/gh-ost2 v1.1.7-0.20250310031106-33e16ca4b2e0
replace github.com/pingcap/tidb => github.com/bytebase/tidb2 v0.0.0-20231129002249-5bbb6bb83940
diff --git a/go.sum b/go.sum
index aefc0e800f..ac6f1c1bb9 100644
--- a/go.sum
+++ b/go.sum
@@ -829,8 +829,8 @@ github.com/bytebase/azure-sdk-for-go/sdk/data/azcosmos v0.0.0-20250109032656-87c
github.com/bytebase/azure-sdk-for-go/sdk/data/azcosmos v0.0.0-20250109032656-87cf24d45689/go.mod h1:YwUyrNUtcZcibA99JcfCP6UUp95VVQKO2MJfBzgJDwA=
github.com/bytebase/cosmosdb-parser v0.0.0-20250207092310-6249cdad18cb h1:lGiSU3pSxYP0aa6/qf2IYk5cnSd2diRBHhyYM2Rz5e0=
github.com/bytebase/cosmosdb-parser v0.0.0-20250207092310-6249cdad18cb/go.mod h1:sivaOoKlMrXkuude2VGsKv6p83CRRGgblNfeVKQka/Y=
-github.com/bytebase/gh-ost2 v0.0.0-20250221080129-d3c3cc3b9931 h1:w1x0kyXEPMt92sKI9JnqaTXJYE3e/7yeESq6Bjg3rwY=
-github.com/bytebase/gh-ost2 v0.0.0-20250221080129-d3c3cc3b9931/go.mod h1:X0CGYwIZUnjfrv02/nBlftxqSBMm4mYJzFwiyn2D4d8=
+github.com/bytebase/gh-ost2 v1.1.7-0.20250310031106-33e16ca4b2e0 h1:wm4Set2lwArmC4f9hYdiunXtEYYzr6SyYRepTXNdkm4=
+github.com/bytebase/gh-ost2 v1.1.7-0.20250310031106-33e16ca4b2e0/go.mod h1:X0CGYwIZUnjfrv02/nBlftxqSBMm4mYJzFwiyn2D4d8=
github.com/bytebase/go-lsp v0.0.0-20240130071507-c04b5c75010c h1:W832GNANCst4C6TgYbQnKKxbuMZKQxTD4++b3HOuzBo=
github.com/bytebase/go-lsp v0.0.0-20240130071507-c04b5c75010c/go.mod h1:SULmZY7YNBsvNiQbrb/BEDdEJ84TGnfyUQxaHt8t8rY=
github.com/bytebase/go-mssqldb v0.0.0-20240801091126-3ff3ca07d898 h1:0ggqA9XL4yvtePPvRDRYMed3jtdNk4s0o8AMW8uJPSA=