HDDS-14003. EventNotification: Added protobufs and entity class#9363
HDDS-14003. EventNotification: Added protobufs and entity class#9363gardenia wants to merge 460 commits intoapache:HDDS-13513_Event_Notification_FeatureBranchfrom
Conversation
…ding the underlying cause (apache#9781)
Generated-by: GitHub Copilot with Claude Opus 4.6
…neReportFromDatanode (apache#9464)
a5af92a to
dda1383
Compare
…toring the ledger of completed requests
@ChenSammi Fixed. Thx |
@ChenSammi I have rebased it against upstream/master but now the PR has diverged a lot from the feature branch that was set up for this work HDDS-13513_Event_Notification_FeatureBranch Would you be able to rebase HDDS-13513_Event_Notification_FeatureBranch against upstream master so I can rebase my PR against HDDS-13513_Event_Notification_FeatureBranch again and see only my changes? I'm not sure I have permission for this. Let me know if there is some different procedure for this I might be missing. cc: @errose28 |
Please describe your PR in detail:
In OzoneManagerStateMachine when certain write requests complete successfully a summary of that request will be written to a new rocksdb "ledger" table named CompletedRequestInfo
The current CompletedRequestInfo schema is minimal:
The use of "optional" for the arguments was based on feedback from the community call where @errose28 made the point that the previous sketch of a schema (using a freeform Map<String, String>) did not jibe well with schema management and this optional pattern had been used in other places to get around that.
This change adds the protobufs and entity class to store the completed event info (with the intent that a consumer can use that data to generate event notifications about changes on the filesystem)
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14003
How was this patch tested?
unit tests