Upgrading to ATS v10.x

Deprecated or Removed Features

The following features, configurations and plugins are either removed or deprecated in this version of ATS. Deprecated features should be avoided, with the expectation that they will be removed in the next major release of ATS.

  • Removed TS API

    • TSHttpTxnArgSet

    • TSHttpTxnArgGet

    • TSHttpSsnArgSet

    • TSHttpSsnArgGet

    • TSVConnArgSet

    • TSVConnArgGet

    • TSHttpTxnArgIndexReserve

    • TSHttpTxnArgIndexNameLookup

    • TSHttpTxnArgIndexLookup

    • TSHttpSsnArgIndexReserve

    • TSHttpSsnArgIndexNameLookup

    • TSHttpSsnArgIndexLookup

    • TSVConnArgIndexReserve

    • TSVConnArgIndexNameLookup

    • TSVConnArgIndexLookup

API Changes

The following APIs have changed, either in semantics, interfaces, or both.

Cache

The cache in this releases of ATS is compatible with previous versions of ATS. You would not expect to lose your cache, or have to reinitialize the cache when upgrading.

Configuration changes

The following incompatible changes to the configurations have been made in this version of ATS.

The records.yaml entry proxy.config.http.down_server.abort_threshold has been removed.

The records.yaml entry proxy.config.http.connect_attempts_max_retries_dead_server has been renamed to proxy.config.http.connect_attempts_max_retries_down_server.

The records.yaml entry proxy.config.http.connect.dead.policy has been renamed to proxy.config.http.connect.down.policy.

Plugins

Lua Plugin

The following Http config constants have been renamed:

TS_LUA_CONFIG_HTTP_CONNECT_ATTEMPTS_MAX_RETRIES_DEAD_SERVER has been renamed to TS_LUA_CONFIG_HTTP_CONNECT_ATTEMPTS_MAX_RETRIES_DOWN_SERVER.

TS_LUA_CONFIG_HTTP_CONNECT_DEAD_POLICY has been renamed to TS_LUA_CONFIG_HTTP_CONNECT_DOWN_POLICY.

Metrics

The HTTP connection metric proxy.process.http.dead_server.no_requests has been renamed to proxy.process.http.down_server.no_requests.

Logging

The cqtx log field has been removed, but can be replaced by cqhm pqu cqpv.