Skip to content

Ignore junction tables #8728

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

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Ignore junction tables #8728

merged 1 commit into from
Sep 30, 2024

Conversation

fogelito
Copy link
Contributor

When deleting a project with many2many relations attributes with junctions tables inside _metadata collection.
While iterating _metadata collections which includes junction tables. Trying to delete them will trigger an Exception Collection not found which will terminate the script leaving orphan collections not deleted and orphan collections inside _metadata.
This happens because if the collection or related collection holding the many2many attribute is deleted, the junction table is also deleted on the fly.

@fogelito
Copy link
Contributor Author


1

Copy link

Security Scan Results for PR

Docker Image Scan Results

🎉 No vulnerabilities found!

Source Code Scan Results

🎉 No vulnerabilities found!

Copy link

✨ Benchmark results

  • Requests per second: 1,403
  • Requests with 200 status code: 252,629
  • P99 latency: 0.0823845

⚡ Benchmark Comparison

Metric This PR Latest version
RPS 1,403 1,606
200 252,629 289,054
P99 0.0823845 0.070772909

@christyjacob4 christyjacob4 merged commit d31810d into 1.6.x Sep 30, 2024
25 checks passed
@christyjacob4 christyjacob4 deleted the fix-delete-project branch September 30, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy