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

could not rebuild router via timer: could not create router: concurrent incremental router rebuild without mutex, this is unsafe #9447

Closed
1 task done
wangyufengx opened this issue Sep 20, 2022 · 3 comments
Labels
bug pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...

Comments

@wangyufengx
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

3.0.0

Current Behavior

add route
2022/09/20 09:14:53 [error] 5442#0: *976 [lua] handler.lua:1195: could not rebuild router via timer: could not create router: concurrent incremental router rebuild without mutex, this is unsafe, context: ngx.timer 2022/09/20 09:14:57 [error] 5443#0: *721 [lua] handler.lua:1195: could not rebuild router via timer: could not create router: concurrent incremental router rebuild without mutex, this is unsafe, context: ngx.timer

Expected Behavior

restart kong
route success

but the route that matches the fewest rules

Steps To Reproduce

No response

Anything else?

No response

@dndx
Copy link
Member

dndx commented Sep 20, 2022

Hello,

Could you provide more information on how to reproduce this?

@dndx dndx added bug pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc... labels Sep 20, 2022
@chronolaw
Copy link
Contributor

We have found some potential bugs in 3.0's router, these fixes will be released in 3.0.1, you can test it again at that time.

@chronolaw
Copy link
Contributor

I think PR #9480 will help you. if you get other problems, please reopen this issue.

locao pushed a commit that referenced this issue Jun 21, 2024
…queue instance correctly (#9447)

Cherry-picked from #13198

KAG-4270

Co-authored-by: Qi <44437200+ADD-SP@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...
Projects
None yet
Development

No branches or pull requests

3 participants