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

Excessive number of save() operations for Zone objects #197

Closed
peteeckel opened this issue Mar 5, 2024 · 0 comments · Fixed by #198
Closed

Excessive number of save() operations for Zone objects #197

peteeckel opened this issue Mar 5, 2024 · 0 comments · Fixed by #198
Assignees

Comments

@peteeckel
Copy link
Owner

Versions
NetBox DNS Version: 0.22.4 and before

Describe the bug
While working on #89 it became obvious that saving modified a Zone object can result in an excessive number of additional save() operations for the object itself and other zones related to it, e.g. reverse zones and RFC2317 zones.

Essentially every save() to a Record objects causes a subsequent save() to its associated zone because the SOA serial number of the zone needs to be updated. Since a save() operation on a zone object can result in the creation of multiple records, or in some cases many records (i.e. when a reverse zone is created, deleted, or moved), this can be a very substantial performance issue at times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant