Siddhant Sangwan created HDDS-11008:
---------------------------------------

             Summary: OM's directoryTable shows, with ldb, negative long values 
as objectID and parentObjectID
                 Key: HDDS-11008
                 URL: https://issues.apache.org/jira/browse/HDDS-11008
             Project: Apache Ozone
          Issue Type: Bug
          Components: OM
    Affects Versions: 1.4.0
            Reporter: Siddhant Sangwan


{code}
# ozone debug ldb --db=om.db scan --cf=directoryTable
24/06/13 05:14:45 INFO helpers.OmKeyInfo: OmKeyInfo.getCodec ignorePipeline = 
true
24/06/13 05:14:45 INFO helpers.OmKeyInfo: OmKeyInfo.getCodec ignorePipeline = 
true
24/06/13 05:14:45 INFO helpers.OmKeyInfo: OmKeyInfo.getCodec ignorePipeline = 
true
24/06/13 05:14:45 INFO helpers.OmKeyInfo: OmKeyInfo.getCodec ignorePipeline = 
true
24/06/13 05:14:45 INFO helpers.OmKeyInfo: OmKeyInfo.getCodec ignorePipeline = 
true
{ "/-9223371984968727296/-9223371984968698880/-9223371984968698880/0c2lg4xioj": 
{
  "name": "0c2lg4xioj",
  "creationTime": 1718108840313,
  "modificationTime": 1718108840313,
  "acls": [
    {
      "type": "USER",
      "name": "[email protected]",
      "aclBitSet": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1
      ],
      "aclScope": "ACCESS"
    },
    {
      "type": "GROUP",
      "name": "om",
      "aclBitSet": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1
      ],
      "aclScope": "ACCESS"
    }
  ],
  "parentObjectID": -9223371984968698880,
  "objectID": -9223371984968667903,
  "updateID": 202680109,
  "metadata": {}
}, 
"/-9223371985070811904/-9223371985070784768/-9223371985070784768/0c2lg4xioj": {
  "name": "0c2lg4xioj",
  "creationTime": 1718108677371,
  "modificationTime": 1718108677371,
  "acls": [
    {
      "type": "USER",
      "name": "[email protected]",
      "aclBitSet": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1
      ],
      "aclScope": "ACCESS"
    },
    {
      "type": "GROUP",
      "name": "om",
      "aclBitSet": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1
      ],
      "aclScope": "ACCESS"
    }
  ],
  "parentObjectID": -9223371985070784768,
  "objectID": -9223371985070755327,
  "updateID": 202281330,
  "metadata": {}
},
...
...
{code}

The negative Long values look like an overflow bug. There are 31 directories 
and 102 million keys in this cluster. Keys created using freon ockg. They are 
FSO keys.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to