History log of /trafficserver/iocore/hostdb/P_HostDBProcessor.h (Results 1 - 25 of 121)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6094492e 20-May-2020 Susan Hinrichs

Fixes to hostDB to avoid event and memory leaks (#6686)

Co-authored-by: Susan Hinrichs <shinrich@verizonmedia.com>


Revision tags: 8.0.7, 7.1.10, 7.1.9, 7.1.9-rc1, 8.0.6, 7.1.9-rc0, 8.0.6-rc0, 8.0.5, 7.1.8, 8.0.4, 7.1.7, 7.1.7-rc0, 8.0.4-rc0
# 7fa3b232 23-Apr-2019 Zizhong Zhang

cppcheck: (style) The scope of the variable can be reduced.


# 7651e269 19-Mar-2019 Masaori Koshiba

Ran clang-tidy with modernize-use-default-member-init

1. Remove unmatched #endif and set `_location` nullptr.
- iocore/eventsystem/I_IOBuffer.h
- iocore/eventsystem/P_IOBuffer.h

Ran clang-tidy with modernize-use-default-member-init

1. Remove unmatched #endif and set `_location` nullptr.
- iocore/eventsystem/I_IOBuffer.h
- iocore/eventsystem/P_IOBuffer.h

2. Include "ts/apidefs.h"
- include/tscpp/api/Stat.h

3. Rollback changes made with -fix-error option (clang-diagnostic-implicit-function-declaration)
- plugins/lua/ts_lua_client_request.c
- plugins/lua/ts_lua_client_response.c
- plugins/lua/ts_lua_server_response.c
- plugins/experimental/remap_stats/remap_stats.c

show more ...


Revision tags: 8.0.3, 7.1.6, 8.0.2, 8.0.1, 7.1.5, 7.1.5-rc0, 8.0.1-rc0, 8.0.0, 8.0.0-rc3, 8.0.0-rc2, 8.0.0-rc1, 8.0.0-rc0
# 079a4027 30-Aug-2018 Susan Hinrichs

PR #3724: Restructure library headers to unify include paths.


Revision tags: 7.1.4, 6.2.3, 7.1.4-rc0
# 78e6fae8 01-Jun-2018 Aaron Canary

HostDB timed RR fix

so that it only increments by time, not by txn.


# aa97de61 08-May-2018 Chris Lemmons

Fixed off-by-one error in select_best_srv.

This error may never actually occur, it was reported by clang-analyzer. This
just ensures that in no case does the loop run one past the end of

Fixed off-by-one error in select_best_srv.

This error may never actually occur, it was reported by clang-analyzer. This
just ensures that in no case does the loop run one past the end of the array.

show more ...


# b5037ade 11-Apr-2018 Bryan Call

Ran clang-tidy with modernize-use-nullptr


# b82d0aaf 11-Apr-2018 Masakazu Kitajo

Use #pragma once


Revision tags: 7.1.3
# 12c3537f 09-Mar-2018 Aaron Canary

HostDB - removing infinite ttl (0)

adding std::clamp implementation


Revision tags: 7.1.2, 7.1.2-rc3, 7.1.2-rc2, 7.1.2-rc1, 7.1.2-rc0
# c93790aa 10-Nov-2017 John Plevyak

Add a --enable-fips flag which will eliminate MD5 and MMH and
replace them with SHA256. This will effectively clear the cache
because existing documents will not be found.


# a5366d79 24-Sep-2017 Alan M. Carroll

Cleanup: remove ts::ConstBuffer from ink_inet.
This turns out to have a lot of tentacles all over.


Revision tags: 7.1.1, 7.1.1-rc0, 6.2.2, 6.2.2-rc0, 7.1.0, 7.1.0-rc0
# 9270d4f9 15-Jun-2017 Zizhong Zhang

make hostdb.round_robin_max_count configurable


# beac6584 27-May-2017 Zizhong Zhang

Stop looping refreshing stale hostDB records


# 6f08f53d 24-Jul-2017 Oknet Xu

replace strcpy with ink_strlcpy in select_best_srv


# 1d251b22 10-May-2017 Bryan Call

coverity 1021747: Uninitialized pointer field


# 17ea1d09 09-May-2017 Phil Sorber

Remove even more clustering bits


# e846f312 08-May-2017 Phil Sorber

Remove Clustering


Revision tags: 6.2.1, 7.0.0, 7.0.0-rc2, 7.0.0-rc1, 7.0.0-rc0
# ced4da13 14-Oct-2016 James Peach

TS-4977: Prefer nullptr to NULL.


# cdd7957b 26-Oct-2016 David Calavera

TS-4855: Make `const char` consistent accross the project.

Signed-off-by: David Calavera <david.calavera@gmail.com>


# 832f04bc 27-Jul-2016 Thomas Jackson

TS-4693 fix priority selection for SRV records

The "is_alive" check was backwards, meaning that instead of excluding dead hosts we were excluding healthy hosts. In the failure mode where all

TS-4693 fix priority selection for SRV records

The "is_alive" check was backwards, meaning that instead of excluding dead hosts we were excluding healthy hosts. In the failure mode where all reals are dead select_best_srv picks a host at random since we believe all reals to be dead.

show more ...


Revision tags: 6.2.0, 6.2.0-rc2, 6.2.0-rc1
# 53f75794 27-Jun-2016 Thomas Jackson

TS-4331: Major re-write of hostdb (#653)

* Consolidate SRV `alive` checks to use the `alive` method on `HostDBInfo`

* TS-4331 Replace MultiCache with RefCountCache

* Misc c

TS-4331: Major re-write of hostdb (#653)

* Consolidate SRV `alive` checks to use the `alive` method on `HostDBInfo`

* TS-4331 Replace MultiCache with RefCountCache

* Misc cleanup to hostdb before cleanup

Before doing the rewrite of hostdb (TS-4331) this commit cleans up someo f the method names etc. to make this subsystem less confusing

show more ...


# d6906e2a 19-Jun-2016 Leif Hedstrom

TS-4565 Update indentation with = alignment


# 10a7db90 13-Jun-2016 James Peach

TS-4531: Clarify time unit confusion in HostDB sync interval.

Commit d48b76e tried to fix some of the time unit conversions in
HostBD, but didn't notice that RefCountedHostsFileMap::next

TS-4531: Clarify time unit confusion in HostDB sync interval.

Commit d48b76e tried to fix some of the time unit conversions in
HostBD, but didn't notice that RefCountedHostsFileMap::next_sync_time
was getting initialized to a nanosecond timestamp + an interval in
seconds.

This clarifies most of the timestamps uses in hosts file update
checking, which are all in Unix epoch seconds. We remove the
HOST_DB_TIMEOUT_INTERVAL definition since that interval is not
really a changeable (all the code assumes it is 1 sec).

show more ...


Revision tags: 6.2.0-rc0
# 5f0a649f 10-May-2016 Thomas Jackson

TS-4436: Move hosts file implementation to `do_dns`

This moves the hosts file overrides down to the DNS layer instead of the HostDBInfo layer. This means that each port will get its own entr

TS-4436: Move hosts file implementation to `do_dns`

This moves the hosts file overrides down to the DNS layer instead of the HostDBInfo layer. This means that each port will get its own entry in hostdb, which will exist as its own HostDBInfo just like all the rest of the entries (with a TTL of the time remaining until the next hostdb sync). This also means we only have to do the check in the map on DNS lookup instead of on each probe().

In addition to fixing the down status issues, this also means we no longer need to keep old copies of the strings etc. since they are copied once lookup_done is called.

show more ...


# c32379b6 06-May-2016 Phil Sorber

TS-4418: Update code with new .clang-format config change


12345