You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "cshannon (via GitHub)" <gi...@apache.org> on 2023/04/07 10:46:14 UTC

[GitHub] [accumulo] cshannon commented on pull request #3278: remove unnecessary synchronization

cshannon commented on PR #3278:
URL: https://github.com/apache/accumulo/pull/3278#issuecomment-1500170218

   Taking away the synchronized wrapper on the map also requires adding a synchronization block on remove which isn't currently being done, so without it the remove would be unprotected, See https://github.com/apache/accumulo/blob/7f49667f1347ba446d0f8e31271df8ba7ee48397/server/tserver/src/main/java/org/apache/accumulo/tserver/log/LogSorter.java#L127
   
   
   


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org