ivandika3 commented on code in PR #11257:
URL: https://github.com/apache/ozone/pull/11257#discussion_r4118419381


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OMRatisRequestContext.java:
##########


Review Comment:
   Thanks for the review.  Adapted the code based on the diffs.
   
   Changed OMRatisRequestContext to OMThreadContext which contains 
OMThreadContext.Scope as the RAII guard (resource is the threadlocal related 
context and try with resource is used similar on constructor and destructor, 
but instead of destructing the object when the object goes out of scope, we use 
the close method). 
   
   OMThreadContext is now the wrapper that decides what thread local context we 
want to propagate.



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