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

[stable28] fix: avoid duplicate tag inserts by checking if the mapping exists already in db #45994

Merged
merged 3 commits into from
Jun 27, 2024

Commits on Jun 27, 2024

  1. fix: do a select in systemtag_object_mapping to see if tag exists alr…

    …eady in db. if it does not exist alone insert the same or else do nothing
    
    Signed-off-by: yemkareems <yemkareems@gmail.com>
    yemkareems authored and artonge committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    48ab7fc View commit details
    Browse the repository at this point in the history
  2. fix: filtering tags based on existing tags and doing a transaction ar…

    …ound the select and insert
    
    Signed-off-by: yemkareems <yemkareems@gmail.com>
    yemkareems authored and artonge committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    f8700e8 View commit details
    Browse the repository at this point in the history
  3. fix: removed unused variable and check if tag ids are empty before st…

    …arting the inserts
    
    Signed-off-by: yemkareems <yemkareems@gmail.com>
    yemkareems authored and artonge committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    6f9c67d View commit details
    Browse the repository at this point in the history