virajjasani opened a new pull request, #5300:
URL: https://github.com/apache/hadoop/pull/5300

   If we enable parallel loading and persisting of inodes from/to fs image, we 
get the benefit of improved performance. However, while loading sub-sections 
INODE_DIR_SUB and INODE_SUB, if we encounter any errors, we use copy-on-write 
list to maintain the list of exceptions. Since our usecase is not to iterate 
over this list while executor threads are adding new elements to the list, 
using copy-on-write is bit of an overhead for this usecase.
   
   It would be better to synchronize adding new elements to the list rather 
than having the list copy all elements over every time new element is added to 
the list.


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