deepflowio / deepflow

eBPF Observability - Distributed Tracing and Profiling
https://deepflow.io
Apache License 2.0
2.87k stars 317 forks source link

[BUG] unknown column 'system_load_circuit_breaker_threshold' #6544

Open yhcloud123 opened 4 months ago

yhcloud123 commented 4 months ago

Search before asking

DeepFlow Component

Agent

What you expected to happen

升级6.4最新镜像后发现无法更新agent组配置,更新deepflow-ctl agent-group-config update -f xxxxxx 报错如下,显示保存配置出错,缺少这个参数字段 ec6aa2df0f093a2284db37ee6ec2e6f

How to reproduce

这个参数应该是最近开放出来的?旧的example里没有公开这个参数

DeepFlow version

af6b125ab857503b42e274340321f73

DeepFlow agent list

10156dab46679d8ad3c6cf7bd68fb16

Kubernetes CNI

calico

Operation-System/Kernel version

No response

Anything else

No response

Are you willing to submit a PR?

Code of Conduct

yhcloud123 commented 4 months ago

有了新的发现 镜像打包的init.sql 为create 语句 非新增列语句 image ls /etc/mysql/issu 如下 应该已经到了6.4.1.32,sql 实际镜像内为6.4.1.13.sql 相差过远 image @1473371932 帮忙检查镜像问题 在6.4.129.sql中是有新增列语句的 image

yhcloud123 commented 4 months ago

func ExecuteIssus(db *gorm.DB, curVersion string) error { issus, err := ioutil.ReadDir(fmt.Sprintf("%s/issu", SQL_FILEDIR)) if err != nil { log.Errorf("read sql dir faild: %v", err) return err } nextVersions := getAscSortedNextVersions(issus, curVersion) log.Infof("issus to be executed: %v", nextVersions) for , nv := range nextVersions { err = executeIssu(db, nv) if err != nil { return err } err = executeScript(db, nv) if err != nil { return err } } return nil }

db版本控制中,新部署的没有问题,只有更新的会去遍历执行issue目录下的sql,这部分有缺失

sharang commented 4 months ago

@yhcloud123 deepflow-server 也使用 6.4 最新的看看

sharang commented 4 months ago

这是 6.4 追加的一个防护配置

yhcloud123 commented 4 months ago

@yhcloud123 deepflow-server 也使用 6.4 最新的看看

您好 使用的就是最新37hour前的 server 感觉好像不是流水线打包出来的镜像 要不不应该issue.sql会少 而且应该相差了一段时间了