-
Notifications
You must be signed in to change notification settings - Fork 730
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
Fix backend update racing problem with dpvs-agent and healthcheck. #937
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
9648beb
API: /${SVCID}/rs/health return the specified service detail when fet…
you-looks-not-tasty f9ab755
lock snapshot
you-looks-not-tasty e278598
format snapshot id
you-looks-not-tasty 3bf1c3f
BUGFIX: do not release the lock of snapshot if not the snapshot have …
you-looks-not-tasty c2c4d8d
NEW API(/v2/vs/{VSID}/rs/health) for dpvs-healthcheck module
you-looks-not-tasty dfa9c96
tools/healthcheck: fix rs weight update problem when rs's weight chan…
ywc689 1806cd0
tools/healthcheck: further fix the problem discussed in previous commit
ywc689 cba78e9
update snapshot service info when snapshot exist
you-looks-not-tasty 3bc93dd
more debug log
you-looks-not-tasty c2d2863
clean healthcheck inhibited default
you-looks-not-tasty a392793
tools/healthcheck: fix serveral problems
ywc689 e18c333
tools/healthcheck: fix a deadlock problem caused by notification resync
ywc689 e5d71d1
dpvs-agent local cache builded depend on the user api invoke only. (e…
you-looks-not-tasty 134a098
remove debug log
you-looks-not-tasty 3528ef2
release service lock
you-looks-not-tasty 6b153c0
update local cache real server inhibited
ywc689 30fb605
tools/healthcheck: fix problems in config update
ywc689 add443b
tools/dpvs-agent: fix crash problem in reconfiguring existing virtual…
ywc689 05eb6fa
tools/healthcheck: fix bad icmp checksum problem for udp and udpping …
ywc689 fad525d
release v1.9.7
ywc689 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,14 @@ | ||
#!/bin/sh | ||
# program: dpvs | ||
# Dec 19, 2023 # | ||
# Mar 12, 2024 # | ||
## | ||
# Features | ||
# - New tool: **dpvs-agent**, a management daemon tool for dpvs based on OpenAPI. | ||
# - New tool: **healthcheck**, a service health check daemon tool cooperating with dpvs-agent. | ||
# - Dpvs: Develop **passive health check** methods for tcp and bidirectional udp backends. | ||
# - Dpvs: Add supports for **Proxy Protocol** with both v1 and v2 versions. | ||
# - Dpvs: Add supports for extended statistics of ethernet devices. | ||
# - Dpvs: Add configuration file and dpip supports for allmulticast setting switch. | ||
# - Build: Transfer all build configurations to a top-level file `config.mk`. | ||
# - Containerization: Draft a Dockerfile and a tutorial document to build and run dpvs in container. | ||
# | ||
# Bugfixes | ||
# - Dpvs: Protect toa from source address spoofing attack and increase success ratio for source address delievery via toa. | ||
# - Dpvs: Adjust tcp window scale in outbound direction for synproxy to improve throughput in bulk upload cases. | ||
# - Dpvs: Fix timer inaccuracy problem when timing over 524s. | ||
# - Dpvs: Fix the crash problem caused by ether address list buffer overflow. | ||
# - Dpvs: Fix the crash problem caused by dividing by zero when bonding slaves attempt to send packets out. | ||
# - Dpvs: Fix the crash problem caused by inconsistent data structures of `dp_vs_dest_compat` between dpvs and keepalived. | ||
# - Dpvs: Correct ipo option length for judgement of branching to standalone uoa. | ||
# - Dpvs: Inhibit setting multicast ether address from slave lcores. | ||
# - Dpvs: Fix service flag conflicts of synproxy and expire-quiescent. | ||
# - Dpvs: Fix the chaos use of flag, flags and fwdmode in dest and service structures. | ||
# - Dpvs: Fix service flush function not usable problem. | ||
# - Dpvs: Fix invalid port problem when getting verbose information of netif devices. | ||
# - Dpvs: Use atomic operation to generate packet id for ipv4 header. | ||
# - Dpvs: Remove fragile implementations of strategy routing for snat. | ||
# - Dpvs: Remove the stale config item "ipc_msg/unix_domain". | ||
# - Keepalived: Do not delete and re-add vs/rs to eliminate service disturbances at reload. | ||
# - Keepalived: Fix a carsh problem caused by missing definition of allowlist/denylist config items. | ||
# - Ipvsadm: Add `conn-timeout` configuration option for service. | ||
# - Ipvsadm: Fix the ambiguous use of '-Y' configuration option. | ||
# - Ipvsadm: Fix icmpv6 configuration option `-1` lost problem.. | ||
# - Ipvsadm: Update help text, including supported schedulers, laddr and allow/deny ip list. | ||
# - Dpip: Fix line break problem in help message. | ||
# - Uoa: Enable ipv6 with a macro for uoa example server. | ||
# - tools: Fix concurrency problem between dpvs-agent and healthcheck in editing realserver . | ||
# - tools/dpvs-agent: Add the snapshot cache. | ||
# - tools/healthchech: Fix occasionally arising bad icmp checksum problem for udp and udpping checkers. | ||
# | ||
|
||
export VERSION=1.9 | ||
export RELEASE=6 | ||
export RELEASE=7 | ||
|
||
echo $VERSION-$RELEASE |
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 do you remove DumpTo? And how to generate cache file?
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.
The default value of
snapshot
is true, and the dpvs-healthcheck module has not been setsnapshot
to false.healthcheck module makes heavily invoked to getVs(), which will generate a large number of cache files.
We will fix this issue in the next version.