sreejasahithi opened a new pull request, #8072:
URL: https://github.com/apache/ozone/pull/8072
## What changes were proposed in this pull request?
This change introduces the setup of temporary RocksDB storage and creates
two key tables to store container log data for debugging purposes within Ozone.
Also implemented codec classe to serialize and deserialize data for both tables.
The two tables are as follows:
```
1. Container Log Table (ContainerLogTable):
Key: Container ID
Value: A list of ContainerInfo objects that store:
Container's final state
Datanode ID
Final BCSID
2. Datanode Container Log Table (DatanodeContainerLogTable):
Key: Container ID and Datanode ID combination
Value: A list of DatanodeContainerInfo objects containing:
Timestamp of the state transition
Container state (e.g., OPEN, CLOSED, CLOSING, QUASI_CLOSED,
UNHEALTHY, DELETED ....)
BCSID
Error message (optional)
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12580
## How was this patch tested?
Tested this locally with sample log files.
Below is the workflow link that passes successfully:
https://github.com/sreejasahithi/ozone/actions/runs/13832960621
--
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]