bshashikant edited a comment on issue #1349: HDDS-2026. Overlapping chunk 
region cannot be read concurrently
URL: https://github.com/apache/hadoop/pull/1349#issuecomment-525200958
 
 
   Thanks @adoroszlai for working on this. The locking logic seems good to me.
   But in Ozone world, a chunk once written is immutable , and hence we might 
not need the lock at all
   while reading a chunk. 
   
   @anuengineer @elek @mukul1987 what do you think?
   
   There is also a race condition which exists in the system where a chunk 
might get deleted by BlockDeleting service in Datanode while readChunk is 
happening which is where i think we need to have synchronization on a container 
level (not precisely at the chunk level) for closed containers but this problem 
is beyond the scope of this jira.

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