[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385647#comment-16385647
 ] 

ASF subversion and git services commented on ASTERIXDB-2229:
------------------------------------------------------------

Commit 35a1b14f731b97a4fde99b242be94fab2b932a38 in asterixdb's branch 
refs/heads/master from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=35a1b14 ]

[ASTERIXDB-2229][OTR] Restore Thread Names in Thread Pool

- user model changes: no
- storage format changes: no
- interface changes: no

- Restore thread names to their original names
  before returning them to the pool of the NC
  app.
- Remove explicit thread name resets.
- Delete unused ThreadExecutor class.

Change-Id: I3bda1b65e7aefd35d2b8cfa814f73369c3bf5a18
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2447
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>


> Override ThreadPoolExecutor Before/AfterExecute
> -----------------------------------------------
>
>                 Key: ASTERIXDB-2229
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2229
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Murtadha Hubail
>            Priority: Major
>
> By overriding Before/AfterExecute methods of ThreadPoolExecutor, we can store 
> the thread original name in beforeExecute and restore it in AfterExecute. 
> This will eliminate the need to do it manually every time the thread name is 
> changed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to