-
Notifications
You must be signed in to change notification settings - Fork 935
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
Profiles & instance listing efficency improvements (from Incus) #14315
Merged
tomponline
merged 9 commits into
canonical:main
from
hamistao:improve_listing_profiles_instances
Oct 21, 2024
Merged
Profiles & instance listing efficency improvements (from Incus) #14315
tomponline
merged 9 commits into
canonical:main
from
hamistao:improve_listing_profiles_instances
Oct 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hamistao
force-pushed
the
improve_listing_profiles_instances
branch
2 times, most recently
from
October 21, 2024 15:25
9bd992a
to
69f8d96
Compare
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit edcea63a7604786a9fe5396022f8a5b9cd02560f) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit db2a8cd1d136dc2463775b4066245576b7001fe7) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit 3c886fc6b354f4f07a2b8bba1f798092c7084704) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit 5d46fd8efdaf27bba1033e08ddc52b07dac8f964) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
…oAPI Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit 38d7c3087c235d59bf194333c766c975b48c6b3c) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit caa997d50cb785d3c0489be59e46dd67b80b3880) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit 06b59879623c03cf3e7c3b7cbd23df5b3ec82467) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit 8f46deddeeadb68218d942cd8521259e278b241a) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> Sponsored-by: https://webdock.io (cherry picked from commit 8261a78dd1134a7a41e704361b271b328c05388a) Signed-off-by: hamistao <pedro.ribeiro@canonical.com> License: Apache-2.0
hamistao
force-pushed
the
improve_listing_profiles_instances
branch
from
October 21, 2024 15:25
69f8d96
to
740a7f9
Compare
tomponline
approved these changes
Oct 21, 2024
@tomponline @MggMuggins |
Lets include that retry logic cleanup please |
tomponline
changed the title
Profiles/instance listing efficency improvements
Profiles/instance listing efficency improvements (from Incus)
Oct 21, 2024
tomponline
changed the title
Profiles/instance listing efficency improvements (from Incus)
Profiles & instance listing efficency improvements (from Incus)
Oct 21, 2024
1 task
tomponline
added a commit
that referenced
this pull request
Oct 24, 2024
Follow-up to #14315 This tidies up the queries used for project limits checking; it likely results in improved performance for clusters with many entities.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improves listing profiles/instances by caching some data on the entities and making DB queries way more efficient.
Contains cherry picks from lxc/incus#1140 and lxc/incus#1314.
@MggMuggins