ArafatKhan2198 opened a new pull request, #4790:
URL: https://github.com/apache/ozone/pull/4790
## What changes were proposed in this pull request?
Improvements have been made to the existing `BlocksEndpoint` API response.
Now, the total count of blocks pending deletion is displayed in the API
response. The updated response will appear as follows:
```
{
"totalCount": 1000,
"containerStateBlockInfoListMap": {
"OPEN": [
{
"containerId": 100,
"localIDList": [
1,
2,
3,
4
],
"localIDCount": 4,
"txID": 1
}
]
}
}
```
This new response includes the total count of **pending deletions blocks**
and a **list of containers**, each with their state, container ID, list of
local IDs, count of local IDs, and transaction ID.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8697
## How was this patch tested?
Added new and made modifications to the existing UT's
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]