sumitagrawl commented on PR #6950:
URL: https://github.com/apache/ozone/pull/6950#issuecomment-2232606255

   > > The root problem on the OM side persists and requires fixing
   > 
   > Is there a jira to track this? If not we should create one . Also I'm not 
clear as to how OM sends a wrong event update to Recon? Are we sure OM is at 
fault here?
   
   OM is sending correct set of events, but there is a problem in recon side 
logic where map keeping track of previous event for PUT -> UPDATE event 
identification,
   
   - event 1: deleteKeyTable  - key1 -- RepeatedKeyInfo data
   - event 2: keyTable - key1 -- KeyInfo
   for deletedKeyTable, event 1 is present in omdbLatestUpdateEvents as "key1 : 
RepeatedkeyInfo"
   when processing put event for keyTable, it check previous event from map, 
and found "key1 : RepeatedKeyInfo"
   
   Since this is KeyTable event and expected type is KeyInfo, but since having 
RepeatedKeyInfo value type, it fails with ClassCastException.


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to