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

OM's directoryTable shows, with ldb, negative long values as objectID and parentObjectID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.0
    • None
    • OM
    • None

    Description

      # 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": "om@A.B.C",
            "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": "om@A.B.C",
            "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": {}
      },
      ...
      ...
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            siddhant Siddhant Sangwan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: