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

Validate uniqueness_constraint using NodeGetList #5361

Closed
wants to merge 5 commits into from

Conversation

LucasG0
Copy link
Contributor

@LucasG0 LucasG0 commented Jan 3, 2025

This PR uses NodeGetListQuery instead of NodeUniquenessAttributeConstraintQuery to validate uniqueness_constraint during object mutation. This should be more efficient as NodeUniquenessAttributeConstraintQuery needs to find violations between all nodes in db, while only nodes violating created/update node matter.

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Jan 3, 2025
@LucasG0 LucasG0 force-pushed the dga-20250103-uniqueness branch from 28fa739 to ec62e99 Compare January 3, 2025 13:03
Copy link

codspeed-hq bot commented Jan 3, 2025

CodSpeed Performance Report

Merging #5361 will not alter performance

Comparing dga-20250103-uniqueness (d9dbb1b) with stable (74fbae0)

Summary

✅ 10 untouched benchmarks

@LucasG0 LucasG0 force-pushed the dga-20250103-uniqueness branch from ec62e99 to 9e285dc Compare January 3, 2025 14:31
@LucasG0 LucasG0 force-pushed the dga-20250103-uniqueness branch from 9e285dc to d9dbb1b Compare January 3, 2025 19:05
@LucasG0 LucasG0 closed this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants