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

Container info is not correct when there is QUASI_CLOSED replica

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      When all the blocks are deleted in the container, "usedBytes" and "numberOfKeys" are expected to be "0". But there are following containers found. All of them are previsouly on QUASI_CLOSED state.

      {
        "state" : "CLOSED",
        "replicationFactor" : "THREE",
        "replicationType" : "RATIS",
        "usedBytes" : 0,
        "numberOfKeys" : -1,
        "lastUsed" : "2020-10-13T06:35:24.678Z",
        "stateEnterTime" : "2020-10-10T12:06:35.445Z",
        "owner" : "0097000b-519c-4e11-b20c-a6e657a4b7c9",
        "containerID" : 11,
        "deleteTransactionId" : 1555,
        "sequenceId" : 0,
        "open" : false
      }
      
      {
        "state" : "CLOSED",
        "replicationFactor" : "THREE",
        "replicationType" : "RATIS",
        "usedBytes" : 33554432,
        "numberOfKeys" : 0,
        "lastUsed" : "2020-10-13T06:35:24.678Z",
        "stateEnterTime" : "2020-10-10T12:06:35.663Z",
        "owner" : "0097000b-519c-4e11-b20c-a6e657a4b7c9",
        "containerID" : 16,
        "deleteTransactionId" : 1532,
        "sequenceId" : 0,
        "open" : false
      }
      

      Attachments

        Issue Links

          Activity

            People

              ashishk Ashish Kumar
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: