Skip to content

Conversation

@bneradt
Copy link

@bneradt bneradt commented Jun 23, 2022

No description provided.

@bneradt bneradt force-pushed the hostdb-restructure-bneradt-updates branch from b112dc9 to 278b8b1 Compare June 28, 2022 22:05
@SolidWallOfCode SolidWallOfCode force-pushed the hostdb-restructure branch 2 times, most recently from fd79ca6 to 4d4ea43 Compare July 8, 2022 17:41
@bneradt bneradt force-pushed the hostdb-restructure-bneradt-updates branch from d800b99 to 3532a14 Compare July 8, 2022 17:48
Before this change, the parent cache logic would give up if it couldn't
resolve the origin name for a request. This will attempt to retrieve a
cached response if the resolution fails.
@bneradt bneradt force-pushed the hostdb-restructure-bneradt-updates branch from 3532a14 to 9c1185c Compare July 8, 2022 17:53
@SolidWallOfCode SolidWallOfCode merged commit 73e0abd into SolidWallOfCode:hostdb-restructure Jul 8, 2022
SolidWallOfCode added a commit that referenced this pull request Aug 21, 2022
* Rebase checkpoint for HostDB restructure.

* Post rebase fixup.

* Fix PreWarm

* Fix nexthop test.

* Timing fix for HostDB restructure (#34)

The default duration of time_since_epoch() is
std::chrono::high_resolution_clock::duration, which will not generally
be seconds. hostDB.refcountcache->put expects the epoch count to be a
number of seconds. This explicitly casts to seconds so we get that
expected value.

This also makes some other std::chrono time updates.

Co-authored-by: bneradt <bneradt@yahooinc.com>

* Debug_bw updates. And clang-format fix. (#35)

* Debug_bw updates. And clang-format fix.

* If HostDB returns only failed parents, try serving from cache.

Before this change, the parent cache logic would give up if it couldn't
resolve the origin name for a request. This will attempt to retrieve a
cached response if the resolution fails.

Co-authored-by: Brian Neradt <brian.neradt@verizonmedia.com>
Co-authored-by: bneradt <bneradt@yahooinc.com>
Co-authored-by: Brian Neradt <brian.neradt@gmail.com>
@bneradt bneradt deleted the hostdb-restructure-bneradt-updates branch March 29, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants