Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2470

Add partName, partNumber for CommitMultipartUpload

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • S3

    Description

      Right now when complete Multipart Upload is not printing partName and  partNumber into the audit log. This will help in analyzing audit logs for MPU.

       

       

      2019-11-13 15:14:10,191 | INFO  | OMAudit | user=root | ip=xx.xx.xx.xx | op=COMMIT_MULTIPART_UPLOAD_PARTKEY {volume=s325d55ad283aa400af464c76d713c07ad, bucket=ozone-test, key=plc_1570850798896_2991, dataSize=5242880, replicationType=RATIS, replicationFactor=ONE, keyLocationInfo=[blockID {

        containerBlockID

      {     containerID: 2     localID: 103129366531867089   }

        blockCommitSequenceId: 4978

      }

      offset: 0

      length: 5242880

      createVersion: 0

      pipeline {

        leaderID: ""

        members {

          uuid: "5d03aed5-cfb3-4689-b168-0c9a94316551"

          ipAddress: "xx.xx.xx.xx"

          hostName: "xx.xx.xx.xx"

          ports

      {       name: "RATIS"       value: 9858     }

          ports

      {       name: "STANDALONE"       value: 9859     }

          networkName: "5d03aed5-cfb3-4689-b168-0c9a94316551"

          networkLocation: "/default-rack"

        }

        members {

          uuid: "a71462ae-7865-4ed5-b84e-60616df60a0d"

          ipAddress: "9.134.51.25"

          hostName: "9.134.51.25"

          ports

      {       name: "RATIS"       value: 9858     }

          ports

      {       name: "STANDALONE"       value: 9859     }

          networkName: "a71462ae-7865-4ed5-b84e-60616df60a0d"

          networkLocation: "/default-rack"

        }

        members {

          uuid: "79bf7bdf-ed29-49d4-bf7c-e88fdbd2ce03"

          ipAddress: "9.134.51.215"

          hostName: "9.134.51.215"

          ports

      {       name: "RATIS"       value: 9858     }

          ports

      {       name: "STANDALONE"       value: 9859     }

          networkName: "79bf7bdf-ed29-49d4-bf7c-e88fdbd2ce03"

          networkLocation: "/default-rack"

        }

        state: PIPELINE_OPEN

        type: RATIS

        factor: THREE

        id

      {     id: "ec6b06c5-193f-4c30-879b-5a12284dc4f8"   }

      }

      ]} | ret=SUCCESS |

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              bharat Bharat Viswanadham
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m