History log of /trafficserver/iocore/hostdb/P_RefCountCache.h (Results 1 - 25 of 29)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5a0f7e93 10-Apr-2019 Alan M. Carroll

Fix HostDBReverseTest unitilization sa_family, remove LRAND48 and SRAND48 for C++11 random.


# 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 ...


# d77cd731 18-Mar-2019 Masaori Koshiba

Ran clang-tidy

"proxy/logging/LogField.h" is changed by hand to follow changes made by performance-unnecessary-value-param
to "proxy/logging/LogAccess.h".


Revision tags: 8.0.3
# e1ea2cb6 04-Feb-2019 Susan Hinrichs

Make mutex lock routines deal with null mutex and general clean up.


Revision tags: 7.1.6, 8.0.2, 8.0.1, 7.1.5
# 66610170 13-Nov-2018 Xavier Chi

hostdb: Replace the last TSHashTable with IntrusiveHashMap.


# bf1cfb92 06-Nov-2018 Alan M. Carroll

Cleanup: Update Version support to be actual C++ code.


Revision tags: 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
# b82d0aaf 11-Apr-2018 Masakazu Kitajo

Use #pragma once


Revision tags: 7.1.3
# 305f1d86 06-Mar-2018 Persia Aziz

Diagnostic message when openning hostdb file fails


Revision tags: 7.1.2, 7.1.2-rc3, 7.1.2-rc2, 7.1.2-rc1, 7.1.2-rc0
# b6c0e55a 14-Sep-2017 IvanStarodubtsev

Getting rid of ts::Vec implementation and replacing it with std::vector

ts::Vec now used only within ts::Map - the rest of source code is free of it


Revision tags: 7.1.1, 7.1.1-rc0, 6.2.2, 6.2.2-rc0, 7.1.0, 7.1.0-rc0, 6.2.1
# 4a380d9d 26-Nov-2016 James Peach

TS-5066: Fix HostDB memory leaks on serialization failure.

If the serializer fails to write the partition, the copied entries were
being leaked. Clean up the cache entry allocation to ce

TS-5066: Fix HostDB memory leaks on serialization failure.

If the serializer fails to write the partition, the copied entries were
being leaked. Clean up the cache entry allocation to centralize the
pain of it and allow both the cache and the serializer to share the same
allocation and free helpers.

show more ...


# 23672db4 26-Nov-2016 James Peach

TS-5065: Fix RefCountCache iterator invalidation.

Removing items from the TSHashMap invalidates the iterator because the
linked list pointers are embedded in the hash node, so we can't d

TS-5065: Fix RefCountCache iterator invalidation.

Removing items from the TSHashMap invalidates the iterator because the
linked list pointers are embedded in the hash node, so we can't do that
while clearing. Instead, deallocate and remove each entry explicitly.

show more ...


Revision tags: 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.


# 0bd04285 11-Oct-2016 Bryan Call

TS-4956: Memory leaks in hostdb test


# b19348c8 11-Oct-2016 Susan Hinrichs

TS-4915: Crash from hostdb in PriorityQueueLess


Revision tags: 6.2.0
# 2c4b3528 06-Jul-2016 James Peach

TS-4635: Move RefCountCacheSerializer to a separate header.


# bf84d640 06-Jul-2016 James Peach

TS-4635: Fix RefCountCacheSerializer file descriptor error path.

Simplify RefCountCacheSerializer::finalize_sync() and consistently
propagate the error to the caller as -errno so we can

TS-4635: Fix RefCountCacheSerializer file descriptor error path.

Simplify RefCountCacheSerializer::finalize_sync() and consistently
propagate the error to the caller as -errno so we can log any errors
in the caller. Retail the open file descriptor on error.

Close the open file descriptor and deliver the completion event in
the serializer destructor. This handles the error case.

show more ...


Revision tags: 6.2.0-rc2
# 67404970 28-Jun-2016 Thomas Jackson

TS-4606 TS-4331 0 is a valid FD


Revision tags: 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 ...


# b6c0e55a 14-Sep-2017 IvanStarodubtsev

Getting rid of ts::Vec implementation and replacing it with std::vector

ts::Vec now used only within ts::Map - the rest of source code is free of it


# 4a380d9d 26-Nov-2016 James Peach

TS-5066: Fix HostDB memory leaks on serialization failure.

If the serializer fails to write the partition, the copied entries were
being leaked. Clean up the cache entry allocation to ce

TS-5066: Fix HostDB memory leaks on serialization failure.

If the serializer fails to write the partition, the copied entries were
being leaked. Clean up the cache entry allocation to centralize the
pain of it and allow both the cache and the serializer to share the same
allocation and free helpers.

show more ...


# 23672db4 26-Nov-2016 James Peach

TS-5065: Fix RefCountCache iterator invalidation.

Removing items from the TSHashMap invalidates the iterator because the
linked list pointers are embedded in the hash node, so we can't d

TS-5065: Fix RefCountCache iterator invalidation.

Removing items from the TSHashMap invalidates the iterator because the
linked list pointers are embedded in the hash node, so we can't do that
while clearing. Instead, deallocate and remove each entry explicitly.

show more ...


# ced4da13 14-Oct-2016 James Peach

TS-4977: Prefer nullptr to NULL.


# 0bd04285 11-Oct-2016 Bryan Call

TS-4956: Memory leaks in hostdb test


# b19348c8 11-Oct-2016 Susan Hinrichs

TS-4915: Crash from hostdb in PriorityQueueLess


12