Skip to content

HDDS-9356. Ozone debug chunkinfo shows incorrect block path for some nodes#5402

Merged
sadanand48 merged 3 commits intoapache:masterfrom
aryangupta1998:HDDS-9356
Oct 10, 2023
Merged

HDDS-9356. Ozone debug chunkinfo shows incorrect block path for some nodes#5402
sadanand48 merged 3 commits intoapache:masterfrom
aryangupta1998:HDDS-9356

Conversation

@aryangupta1998
Copy link
Contributor

What changes were proposed in this pull request?

The block file path is incorrect for some nodes sometimes. All paths are the same (in the same data disks) in all the nodes, but in actuality, some of the nodes have the block path in different data disks. The problem is due to readContainer reading from the first node of the pipeline. If paths(storage dir) are different for different DN, then the tool needs to query every DN instead of just the first node similar to getBlockFromAllNodes.
So, we are querying every data node present in the pipeline to get the block information to display correct block paths.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-9356

How was this patch tested?

Tested Manually.

@sadanand48 sadanand48 self-requested a review October 9, 2023 06:00
Copy link
Contributor

@sadanand48 sadanand48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aryangupta1998 for the patch, LGTM.

@sadanand48 sadanand48 merged commit 1864a79 into apache:master Oct 10, 2023
vtutrinov pushed a commit to vtutrinov/ozone that referenced this pull request Oct 11, 2023
ibrusentsev pushed a commit to ibrusentsev/ozone that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants