You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2021/04/13 20:11:45 UTC

[trafficserver] branch master updated (890fe3d -> e91ca3c)

This is an automated email from the ASF dual-hosted git repository.

eze pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


    from 890fe3d  Add new TS API function TSUrlRawPortGet. (#7568)
     add e91ca3c  Parent Select Plugin (#7467)

No new revisions were added by this update.

Summary of changes:
 include/ts/apidefs.h.in                            |  20 +
 include/ts/nexthop.h                               |  49 --
 include/ts/parentselectdefs.h                      |  60 +++
 include/ts/ts.h                                    |  28 ++
 iocore/cache/test/stub.cc                          |   2 +-
 iocore/utils/I_Machine.h                           |   1 +
 iocore/utils/Machine.cc                            |  15 +-
 plugins/Makefile.am                                |   1 +
 .../Makefile.inc                                   |  16 +-
 .../experimental/parent_select/consistenthash.cc   | 559 +++++++++++++++++++++
 .../experimental/parent_select/consistenthash.h    |  80 +++
 .../parent_select/consistenthash_config.cc         | 232 +++++++++
 .../consistenthash_config.h}                       |  12 +-
 plugins/experimental/parent_select/healthstatus.cc | 147 ++++++
 plugins/experimental/parent_select/healthstatus.h  |  55 ++
 .../experimental/parent_select/parent_select.cc    | 460 +++++++++++++++++
 .../experimental/parent_select/strategy.cc         | 208 ++++----
 plugins/experimental/parent_select/strategy.h      | 271 ++++++++++
 plugins/experimental/parent_select/util.h          |  56 +++
 proxy/HostStatus.h                                 |  17 +-
 proxy/ParentConsistentHash.cc                      |  30 +-
 proxy/ParentRoundRobin.cc                          |  14 +-
 proxy/ParentSelection.cc                           |  56 +--
 proxy/ParentSelection.h                            |   2 +-
 proxy/http/HttpTransact.cc                         | 114 +++--
 proxy/http/HttpTransact.h                          |  12 +
 proxy/http/remap/NextHopConsistentHash.cc          |  26 +-
 proxy/http/remap/NextHopRoundRobin.cc              |  14 +-
 proxy/http/remap/NextHopSelectionStrategy.cc       |   2 +-
 proxy/http/remap/NextHopSelectionStrategy.h        |  11 +-
 proxy/http/remap/unit-tests/nexthop_test_stubs.cc  |  22 +-
 .../remap/unit-tests/test_NextHopConsistentHash.cc |   4 +-
 src/traffic_server/HostStatus.cc                   |  93 ++--
 src/traffic_server/InkAPI.cc                       |  63 +++
 34 files changed, 2423 insertions(+), 329 deletions(-)
 delete mode 100644 include/ts/nexthop.h
 create mode 100644 include/ts/parentselectdefs.h
 copy plugins/experimental/{redo_cache_lookup => parent_select}/Makefile.inc (63%)
 create mode 100644 plugins/experimental/parent_select/consistenthash.cc
 create mode 100644 plugins/experimental/parent_select/consistenthash.h
 create mode 100644 plugins/experimental/parent_select/consistenthash_config.cc
 copy plugins/experimental/{uri_signing/cookie.h => parent_select/consistenthash_config.h} (68%)
 create mode 100644 plugins/experimental/parent_select/healthstatus.cc
 create mode 100644 plugins/experimental/parent_select/healthstatus.h
 create mode 100644 plugins/experimental/parent_select/parent_select.cc
 copy proxy/http/remap/NextHopSelectionStrategy.cc => plugins/experimental/parent_select/strategy.cc (50%)
 create mode 100644 plugins/experimental/parent_select/strategy.h
 create mode 100644 plugins/experimental/parent_select/util.h
 mode change 100644 => 100755 proxy/http/HttpTransact.h