[ 
https://issues.apache.org/jira/browse/HDDS-9091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17748667#comment-17748667
 ] 

Christos Bisias edited comment on HDDS-9091 at 7/28/23 3:59 PM:
----------------------------------------------------------------

We can reproduce this error
{code:java}
Snapshot diff job is FAILED due to 'Dir object Ids required but not found in 
bucket: [-9223372036697016831, -9223372036697019135, -9223372036697021439  
{code}
without bootstrapping an OM. If we run the same script as the one used in  

[https://gist.github.com/xBis7/1187456e67673d68ed4e64ab9a539180]

but without initialising and starting om3.

Run the script under *ozone-ha* with the same *docker-config* as the gist and 
with all OMs running. By transferring leadership between OMs and running snap 
diff, we experience the error.

Script: [https://gist.github.com/xBis7/3488f85007a9c13f4998bec2dbc97b6d] 

Terminal output: 
[https://gist.github.com/xBis7/0e05c1dff967a037496f0288737ff67a]


was (Author: JIRAUSER285705):
We can reproduce this error
{code:java}
Snapshot diff job is FAILED due to 'Dir object Ids required but not found in 
bucket: [-9223372036697016831, -9223372036697019135, -9223372036697021439  
{code}
without bootstrapping an OM. If we run the same script as the one used in  

[https://gist.github.com/xBis7/1187456e67673d68ed4e64ab9a539180]

but without initialising and starting om3. Run the script under *ozone-ha* with 
the same *docker-config* as the gist and with all OMs running. By transferring 
leadership between OMs and running snap diff, we experience the error.

Script: [https://gist.github.com/xBis7/3488f85007a9c13f4998bec2dbc97b6d] 

Terminal output: 
[https://gist.github.com/xBis7/0e05c1dff967a037496f0288737ff67a]

> snapDiff doesn't return correct results after bootstrapping/leadership 
> transfer
> -------------------------------------------------------------------------------
>
>                 Key: HDDS-9091
>                 URL: https://issues.apache.org/jira/browse/HDDS-9091
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: George Jahad
>            Assignee: George Jahad
>            Priority: Major
>
> For example a snapdiff that should look like this:
> {{ozone sh snapshot diff /vol1/bucket1 snap4 snap5}}
> {{+    ./prefix4}}
> {{+    ./prefix4/0}}
> {{+    ./prefix4/6}}
> {{+    ./prefix4/4}}
> {{+    ./prefix4/9}}
> {{+    ./prefix4/2}}
> {{+    ./prefix4/5}}
> {{+    ./prefix4/3}}
> {{+    ./prefix4/1}}
> {{+    ./prefix4/7}}
> {{+    ./prefix4/8}}
>  
> {{can look like something like this after bootstrapping:}}
> {{-    ./prefix1}}
> {{-    ./prefix2}}
> {{-    ./prefix3}}
> {{-    ./prefix3/6}}
> {{-    ./prefix3/4}}
> {{-    ./prefix3/8}}
> {{-    ./prefix3/1}}
> {{-    ./prefix3/2}}
> {{-    ./prefix3/5}}
> {{-    ./prefix3/9}}
> {{-    ./prefix3/3}}
> {{-    ./prefix3/7}}
> {{-    ./prefix3/0}}



--
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