You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2020/10/15 07:25:00 UTC

[jira] [Created] (HDDS-4352) Container info is not correct when there is QUASI_CLOSED replica

Sammi Chen created HDDS-4352:
--------------------------------

             Summary: Container info is not correct when there is QUASI_CLOSED replica
                 Key: HDDS-4352
                 URL: https://issues.apache.org/jira/browse/HDDS-4352
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Sammi Chen


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
}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org