Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PD panic at (*Operator).GetAdditionalInfo #8079

Closed
seiya-annie opened this issue Apr 16, 2024 · 1 comment · Fixed by #8104
Closed

PD panic at (*Operator).GetAdditionalInfo #8079

seiya-annie opened this issue Apr 16, 2024 · 1 comment · Fixed by #8104
Labels
affects-8.1 severity/critical type/bug The issue is confirmed as a bug.

Comments

@seiya-annie
Copy link

Bug Report

What did you do?

jepsen bank
run bank workload, injuct network err
value: --concurrency=3n
--tarball-url=http://minio.pingcap.net:9000/tp-team/tests/jepsen/tidb-v8.1.0-pre.tar.gz
--txn-mode=optimistic --force-reinstall=true --update-in-place=true
--nemesis=schedules,partition-pd-leader,partition-half,partition-ring
--os=image --time-limit=600 --version=master --workload=bank
--init-sql='set @@tidb_enable_mutation_checker=1,
@@tidb_txn_assertion_level=strict,
@@tidb_constraint_check_in_place_pessimistic=off'

What did you expect to see?

What did you see instead?

[2024/04/16 08:53:28.304 +00:00] [FATAL] [log.go:87] [panic] [recover={}] [stack="github.com/tikv/pd/pkg/utils/logutil.LogPanic\n\t/workspace/source/pd/pkg/utils/logutil/log.go:87\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:914\nencoding/json.(*encodeState).marshal.func1\n\t/usr/local/go/src/encoding/json/encode.go:291\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:914\nruntime.goPanicIndex\n\t/usr/local/go/src/runtime/panic.go:114\nencoding/json.mapEncoder.encode\n\t/usr/local/go/src/encoding/json/encode.go:745\nencoding/json.(*encodeState).reflectValue\n\t/usr/local/go/src/encoding/json/encode.go:323\nencoding/json.(*encodeState).marshal\n\t/usr/local/go/src/encoding/json/encode.go:295\nencoding/json.Marshal\n\t/usr/local/go/src/encoding/json/encode.go:162\ngithub.com/tikv/pd/pkg/schedule/operator.(*Operator).GetAdditionalInfo\n\t/workspace/source/pd/pkg/schedule/operator/operator.go:513\ngithub.com/tikv/pd/pkg/schedule/operator.(*Controller).buryOperator\n\t/workspace/source/pd/pkg/schedule/operator/operator_controller.go:709\ngithub.com/tikv/pd/pkg/schedule/operator.(*Controller).addOperatorInner\n\t/workspace/source/pd/pkg/schedule/operator/operator_controller.go:521\ngithub.com/tikv/pd/pkg/schedule/operator.(*Controller).PromoteWaitingOperator\n\t/workspace/source/pd/pkg/schedule/operator/operator_controller.go:413\ngithub.com/tikv/pd/pkg/schedule/operator.(*Controller).AddWaitingOperator\n\t/workspace/source/pd/pkg/schedule/operator/operator_controller.go:345\ngithub.com/tikv/pd/pkg/schedule.(*Coordinator).tryAddOperators\n\t/workspace/source/pd/pkg/schedule/coordinator.go:327\ngithub.com/tikv/pd/pkg/schedule.(*Coordinator).checkRegions\n\t/workspace/source/pd/pkg/schedule/coordinator.go:223\ngithub.com/tikv/pd/pkg/schedule.(*Coordinator).PatrolRegions\n\t/workspace/source/pd/pkg/schedule/coordinator.go:192"]

What version of PD are you using (pd-server -V)?

[2024/04/16 08:35:18.178 +00:00] [INFO] [versioninfo.go:101] [PD] [git-hash=3ec92bdc67cb6cea9de832e369dabfe7a2a5fa59]

@seiya-annie seiya-annie added the type/bug The issue is confirmed as a bug. label Apr 16, 2024
@seiya-annie
Copy link
Author

pd.log.gz

@JmPotato JmPotato changed the title pd panic for "[recover={}]" PD panic at (*Operator).GetAdditionalInfo Apr 16, 2024
ti-chi-bot bot pushed a commit that referenced this issue Apr 19, 2024
close #8079

Signed-off-by: husharp <jinhao.hu@pingcap.com>
ti-chi-bot bot pushed a commit that referenced this issue Apr 22, 2024
close #8079

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: husharp <jinhao.hu@pingcap.com>
nolouch pushed a commit to nolouch/pd that referenced this issue Apr 29, 2024
close tikv#8079

Signed-off-by: husharp <jinhao.hu@pingcap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 severity/critical type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

4 participants