elek opened a new pull request #550: HDDS-1214. Enable tracing for the datanode 
read/write path
URL: https://github.com/apache/hadoop/pull/550
 
 
   HDDS-1150 introduced distributed for ozone components. But we have no trace 
context propagation between the clients and Ozone Datanodes.
   
   As we use Grpc and Ratis on this RPC path the full tracing could be quite 
complex: we should propagate the trace id in Ratis and include it in all the 
log entries.
   
   I propose a simplified solution here: to trace only the StateMachine 
operations.
   
   As Ratis is a library we provide the implementation of the appropriate Raft 
elements especially the StateMachine and the raft messages. We can add the 
tracing information to the raft messages (in fact, we already have this field) 
and we can restore the tracing context during the StateMachine operations.
   
   This approach is very simple (only a few lines of codes) and can show the 
time of the real write/read operations, but can't see the internals of the 
Ratis operations.
   
   See: https://issues.apache.org/jira/browse/HDDS-1214

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to