Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17216

Repository is not cleanly deleted is the repo row deletion fails in DB

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      If the repository top node is not deleted from DB, it remains there forever. Was discovered during verification of RTFACT-14083.

      If deletion of sub-items in the nodes table fails, we allow re-deletion. But if the top item in nodes table fails to be deleted, this happens outside of the transaction and the table is no longer present in UI. Therefore, the junk is left in DB.

      See this comment for reproduction instructions: https://www.jfrog.com/jira/browse/RTFACT-14083?focusedCommentId=57679&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-57679

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alexd Alex Dvorkin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: