Skip to content

Commit

Permalink
fix: optimise workflow node status offload with compression and fallb…
Browse files Browse the repository at this point in the history
…ack and db stability, fix CI errors

Signed-off-by: 刘达 <[email protected]>
  • Loading branch information
刘达 committed Aug 9, 2024
1 parent 5eea6d0 commit b55e3ee
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions test/stress/mysql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ package main
import (
"context"
"flag"
"github.com/argoproj/argo-workflows/v3/persist/sqldb"
wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
envutil "github.com/argoproj/argo-workflows/v3/util/env"
"github.com/argoproj/argo-workflows/v3/util/instanceid"
"github.com/argoproj/pkg/rand"
"github.com/hashicorp/go-uuid"
log "github.com/sirupsen/logrus"
"github.com/upper/db/v4"
"github.com/upper/db/v4/adapter/mysql"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
runtimeutil "k8s.io/apimachinery/pkg/util/runtime"
"os"
"os/signal"
"strconv"
Expand All @@ -23,6 +11,20 @@ import (
"sync/atomic"
"syscall"
"time"

"github.com/argoproj/pkg/rand"
"github.com/hashicorp/go-uuid"
log "github.com/sirupsen/logrus"
"github.com/upper/db/v4"
"github.com/upper/db/v4/adapter/mysql"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
runtimeutil "k8s.io/apimachinery/pkg/util/runtime"

"github.com/argoproj/argo-workflows/v3/persist/sqldb"
wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
envutil "github.com/argoproj/argo-workflows/v3/util/env"
"github.com/argoproj/argo-workflows/v3/util/instanceid"
)

type archivedRecord struct {
Expand Down

0 comments on commit b55e3ee

Please sign in to comment.