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

bug: plugin config "concurrent map writes" #2167

Open
liushv0 opened this issue Feb 19, 2024 · 1 comment
Open

bug: plugin config "concurrent map writes" #2167

liushv0 opened this issue Feb 19, 2024 · 1 comment
Labels

Comments

@liushv0
Copy link

liushv0 commented Feb 19, 2024

Current Behavior

controller processor occasionally crash during running,
cause by "fatal error: concurrent map writes"

Expected Behavior

no panic

Error Logs

image

Steps to Reproduce

function call stack like this:
apisix-ingress-controller start

so function Plugins.DeepCopyInto(pkg/types/apisix/v1/types.go:187) could be called by multiple goroutine at same time,
type Plugins is alias name to map,
it is not concurrent safe,this will cause ”concurrent map writes“ error

Environment

  • APISIX Ingress controller version 1.7.1
@liushv0 liushv0 changed the title bug: bug: plugin config "concurrent map writes" Feb 19, 2024
liushv0 added a commit to liushv0/apisix-ingress-controller that referenced this issue Feb 19, 2024
@Revolyssup Revolyssup assigned AlinsRan and unassigned AlinsRan Feb 26, 2024
Copy link

This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants