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

[4.x] Ignore duplicate tags #1431

Merged
merged 1 commit into from
Jan 30, 2024
Merged

[4.x] Ignore duplicate tags #1431

merged 1 commit into from
Jan 30, 2024

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Jan 30, 2024

I couldn't immediately figure out why this happens but sometimes Telescopes seems to attempt to insert an entry tag for a uuid and tag combo which already exists. I figured just ignoring the exception here is the best way to handle this as having the entry in the database is what's important.

This problem started to arise after we added the primary key: #1425. That's a good thing though, since this probably was happening before and filling the database table with duplicate entries, which it now won't anymore.

Fixes #1430

@driesvints driesvints changed the title Ignore duplicate tags [4.x] Ignore duplicate tags Jan 30, 2024
@taylorotwell taylorotwell merged commit 2c52952 into 4.x Jan 30, 2024
14 checks passed
@taylorotwell taylorotwell deleted the ignore-duplicate-tags branch January 30, 2024 15:41
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.

Telescope Entries Key Collisions Across Multiple Servers
2 participants