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

BlobAttributes deletedReason is logged as reason: null instead of the actual reason

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4.0
    • Component/s: Logging
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Platform Team - Sprint 97

      Description

      BlobAttributes deletedReason is persisted, but is not restored on load

      This leads to the following non-helpful messages:

      2017-06-09 14:06:31,204+0100 WARN  [qtp169860459-374] admin org.sonatype.nexus.blobstore.file.internal.FileBlobStore - Attempt to access soft-deleted blob 5d13939f-3c83-4254-90ec-741c60d987db (/opt/nexus/sonatype-work/nexus3/blobs/default/content/vol-24/chap-34/5d13939f-3c83-4254-90ec-741c60d987db.properties), reason: null
      

      Instead of:

      2017-06-09 14:11:43,891+0100 WARN  [qtp680984661-293] admin org.sonatype.nexus.blobstore.file.internal.FileBlobStore - Attempt to access soft-deleted blob 7a313585-9c97-405b-9d02-f3507ccbea9e (/opt/nexus/sonatype-work/nexus3/blobs/default/content/vol-39/chap-09/7a313585-9c97-405b-9d02-f3507ccbea9e.properties), reason: Updating asset AttachedEntityId{asset->#55:8}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nblair Nicholas Blair
              Reporter:
              mcculls Stuart McCulloch
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title