sadanand48 opened a new pull request, #8010: URL: https://github.com/apache/ozone/pull/8010
## What changes were proposed in this pull request? Adds a field "activities" in the SnapshotDiffJob response that records/logs the various stages of the diff computation. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8007 ## How was this patch tested? Tried out and verified the persistence of these logs in the DB. Here is how the snapDiff db looked for a job ```bash c59e8806-364e-49c7-9505-a4e41e070930-19c4a25e-531b-4d18-9805-bf17d5365127 ==> { "creationTime": 1741169298085, "jobId": "09f3cc5b-1c2e-48e4-9f4d-6ff7ac6743a0", "status": "DONE", "volume": "vol1", "bucket": "buck1", "fromSnapshot": "snap1", "toSnapshot": "snap2", "forceFullDiff": false, "totalDiffEntries": 101, "reason": "", "activities": [ "Wed Mar 05 10:08:18 UTC 2025 : Candidate Key Generation : Generating the ObjectId-Key Map", "Wed Mar 05 10:08:18 UTC 2025 : Computing Delta SST File Set", "Wed Mar 05 10:08:18 UTC 2025 : Computed Delta SST File Set, Total count = 3", "Wed Mar 05 10:08:18 UTC 2025 : Completed processing 0 number of keys", "Wed Mar 05 10:08:18 UTC 2025 : Completed processing 100 number of keys", "Wed Mar 05 10:08:18 UTC 2025 : Completed processing 200 number of keys", "Wed Mar 05 10:08:18 UTC 2025 : Candidate Key Generation : Generating the ObjectId-Key Map for Directory Keys", "Wed Mar 05 10:08:18 UTC 2025 : Computing Delta SST File Set", "Wed Mar 05 10:08:18 UTC 2025 : Computed Delta SST File Set, Total count = 3", "Wed Mar 05 10:08:18 UTC 2025 : Completed processing 0 number of keys", "Wed Mar 05 10:08:18 UTC 2025 : Completed processing 100 number of keys", "Wed Mar 05 10:08:18 UTC 2025 : Final Stage : Generating and storing the Diff Report" ], "nativeDiffDisabled": false } ``` -- 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]
