bipinprasad opened a new pull request #3397:
URL: https://github.com/apache/storm/pull/3397


   ## What is the purpose of the change
   
   *Sometimes doCleanup can take a long time (several minutes) while holding 
submitLock. This slows down other "submitLock" dependent activities. Execute 
doCleanup without a lock and within its own timer thread. Ignore exception that 
may occur inside doCleanup() method.*
   
   ## How was the change tested
   
   *Add concurrency tests to StormTimer and HdfsBlobStoreImpl. Make a temporary 
code change to insert a four minute delay in topoIdsToClean() after 
"cleanable.addAll(Utils.OR(store.storedTopoIds(), EMPTY_STRING_SET));". Verify 
that doCleanup() works and logs a warning that cleanup is taking too long.*


-- 
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:
us...@infra.apache.org


Reply via email to