devmadhuu opened a new pull request, #5490:
URL: https://github.com/apache/ozone/pull/5490

   ## What changes were proposed in this pull request?
   
   This PR fixes by omitting the event to be handled by Recon where a value in 
a table could be null for a key. Ideally this should not happen in Raft log 
sequence of events so this PR is trying to skip such event and log with WARNING 
and details of event like table, event key etc. This will address 2 issues:
   
   1. NPE will not be thrown while processing event (PUT, UPDATE, DELETE) in 
Recon task handler, if a event is having null value for a key.
   2. Any inconsistency or issue identified later using above log message will 
be deeply analyzed why and on which table such key occurrence can happen on OM 
DB side.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9530
   
   ## How was this patch tested?
   
   This patch was tested using existing Junit tests as well by creating and 
deleting keys using freon tool and wait for Recon sync to happen with OM DB.
   


-- 
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]

Reply via email to