-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat: add new lua-resty-events as events implementation #10550
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
7aea90c
feat: move to apisix.events
bzp2010 692feb8
test env
bzp2010 a1d9c28
update ngx template
bzp2010 11d35ed
fix
bzp2010 bbb2fc1
fix ci env
bzp2010 df17f01
mock event list implementation
bzp2010 ecee33b
test
bzp2010 dcdb282
test patch
bzp2010 3ca211f
fix call
bzp2010 0ee5494
revert global rule
bzp2010 06701ea
revert fault injection
bzp2010 827ff8c
fix rh based test
bzp2010 14c0117
clean
bzp2010 10999fa
try fix multiple worker health check
bzp2010 76dc27b
fix mismatched debug log
bzp2010 1f68994
try force resty events
bzp2010 2cc1fbc
remove no error log on healthcheck discovery
bzp2010 ee50b1a
fix healthcheck case
bzp2010 bd8af2f
fix lint
bzp2010 7cf568b
fix cli test
bzp2010 b7549bc
fix lint
bzp2010 9e2e58f
fix lint
bzp2010 6ed090a
fix lint
bzp2010 1f3e632
fix lint
bzp2010 db2da3a
fix lint
bzp2010 af3b366
ensure consul finish health check
bzp2010 6ffc4ab
test multiple events module in ubuntu
bzp2010 8a93fed
fix
bzp2010 4c9b9b9
test only lua-resty-worker-events in centos and redhat
bzp2010 7645c38
clean
bzp2010 4e9725f
fix healthcheck passive
bzp2010 a4141d8
fix lint
bzp2010 4a1424b
recover original passive health check
bzp2010 0e97a95
add new passive healthcheck case for lua-resty-events
bzp2010 b215d35
fix typo
bzp2010 ec6ffc7
increase wait time
bzp2010 87ede50
rollback apisix runtime build script
bzp2010 b772ff3
move to apisix-build-tools master
bzp2010 8955d39
test new lib on centos and ubi
bzp2010 fa97305
clean
bzp2010 ac50b44
clean
bzp2010 a3cdf11
test clean
bzp2010 7119cb1
add default events module for test
bzp2010 2c20df4
test old lib in legacy os
bzp2010 8b4282e
fix healthcheck
bzp2010 b45bb9b
fix healthcheck
bzp2010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why update this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is impossible to execute a reload without a transient interruption because the worker that was handling the unix socket connection is being restarted, and the other workers will not be able to connect to the broker over the unix socket again until the new worker that replaces it is up and running, so the logs will be some error level logs about connection closed, which will interrupt our tests, so we'll have to change the code here to warn level.
There is no need to apply this patch in production as it has no impact other than causing some error logs, when the worker is available, the worker and broker will reconnect, and event push will be available again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.