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

Cache the number of members assigned on each virtual chassis #10197

Closed
jeremystretch opened this issue Aug 29, 2022 · 1 comment
Closed

Cache the number of members assigned on each virtual chassis #10197

jeremystretch opened this issue Aug 29, 2022 · 1 comment
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

jeremystretch commented Aug 29, 2022

NetBox version

v3.3.1

Feature type

New functionality

Proposed functionality

Store the current count of members assigned to each VirtualChassis directly on the instance in the database.

Use case

Caching the member count improves query efficiency and solves for the challenge identified in #9329.

Database changes

Introduce a read-only _member_count field on the VirtualChassis to be updated automatically whenever members are added or removed.

External dependencies

No response

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Oct 29, 2022
@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed pending closure Requires immediate attention to avoid being closed for inactivity labels Nov 16, 2022
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed needs milestone Awaiting prioritization for inclusion with a future NetBox release labels May 5, 2023
@jeremystretch jeremystretch added this to the v3.6 milestone May 5, 2023
@arthanson arthanson self-assigned this May 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants