Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zone record cache lookups when prefetch is enabled #206

Merged
merged 7 commits into from
Mar 13, 2024

Conversation

DXTimer
Copy link
Contributor

@DXTimer DXTimer commented Mar 12, 2024

This Pull Request implements the following updates:

  • Corrects the method by which the prefetch configuration flag is loaded from the environment.
  • Introduces concurrent read/write locking for the cache to prevent panics during simultaneous map writes.
  • Adjusts the logic for searching zone records in the cache, utilizing the normalized content value rather than the initially configured value.

Belongs to #192

@DXTimer DXTimer self-assigned this Mar 12, 2024
@DXTimer DXTimer changed the base branch from main to task/update-ci March 12, 2024 07:35
@DXTimer DXTimer requested a review from AGS4NO March 12, 2024 07:37
@DXTimer DXTimer added the bug label Mar 12, 2024
Base automatically changed from task/update-ci to main March 13, 2024 07:17
@DXTimer DXTimer merged commit f5209a5 into main Mar 13, 2024
5 of 6 checks passed
@DXTimer DXTimer deleted the fix/zone-records-cache branch March 13, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants