You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2024/07/08 05:06:00 UTC
[jira] [Commented] (HDDS-11008) OM's directoryTable shows, with ldb, negative long values as objectID and parentObjectID
[ https://issues.apache.org/jira/browse/HDDS-11008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863666#comment-17863666 ]
Siddhant Sangwan commented on HDDS-11008:
-----------------------------------------
[~erose] Your explanation makes sense to me. I'll take a look at the code later to verify my understanding and resolve this issue. Decreasing the priority for now because this is expected behaviour.
> 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
> Priority: Major
>
> {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": "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": {}
> },
> ...
> ...
> {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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org