This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git.
from f7eb87c docs: update the content of "Does APISIX have a console
interface" in the FAQ doc (#3788)
add 8dcbe4e feat: let balancer support priority (#3755)
No new revisions were added by this update.
Summary of changes:
apisix/balancer.lua | 40 +++-
apisix/balancer/chash.lua | 10 +-
apisix/balancer/ewma.lua | 12 +-
apisix/balancer/least_conn.lua | 15 +-
apisix/balancer/priority.lua | 81 ++++++++
apisix/balancer/roundrobin.lua | 10 +-
apisix/schema_def.lua | 5 +
apisix/upstream.lua | 16 +-
apisix/utils/upstream.lua | 2 +-
docs/en/latest/admin-api.md | 36 ++++
docs/en/latest/control-api.md | 9 +
docs/zh/latest/admin-api.md | 35 ++++
t/admin/balancer.t | 40 ++--
t/control/healthcheck.t | 12 +-
t/discovery/consul_kv.t | 4 +-
t/node/priority-balancer/health-checker.t | 187 +++++++++++++++++
t/node/priority-balancer/sanity.t | 332 ++++++++++++++++++++++++++++++
t/node/upstream-discovery.t | 84 +++++++-
18 files changed, 880 insertions(+), 50 deletions(-)
create mode 100644 apisix/balancer/priority.lua
create mode 100644 t/node/priority-balancer/health-checker.t
create mode 100644 t/node/priority-balancer/sanity.t