Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-34508

Update Stream Filtering on BlobStoreGroupMemberRemovalTask

    Details

    • Story Points:
      3
    • Sprint:
      NXRM Optimus Sprint 47
    • Notability:
      2

      Description

      as discussed on https://issues.sonatype.org/browse/NEXUS-34246 a customer identified a bug on the blobs transfer when removing a blob store member from a group, on the processBlobs method we are limiting the number of blobs to 128, and then filtering for a transfer, in case none of the 128 (the chunk) blobs pass the filter the process is finished prematurely.

       

      The logic should be improved to avoid a premature end of the task without transferring further blobs

      Acceptance criteria

      • the loop keeps working in case there are no valid blobs in the evaluated chunk

      Technical notes

      on the BlobStoreGroupMemberRemovalTask we are limiting before filtering every chunk, in case none of the first 128 blobs applies to the filter, the chunk returns empty so the process ends up prematurely, we should improve the logic to limit after verifying the blobs we are going to move are valid (filtered)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iudovika Igor Udovika
              Reporter:
              leonardor Leonardo Ruiz
              Last Updated By:
              Alexandre Santos Alexandre Santos
              Team:
              NXRM - Optimus
              Owner:
              Igor Udovika Igor Udovika
              Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title