Attila Doroszlai created HDDS-9518:
--------------------------------------

             Summary: Fix OM double buffer thread name
                 Key: HDDS-9518
                 URL: https://issues.apache.org/jira/browse/HDDS-9518
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: OM
    Affects Versions: 1.4.0
            Reporter: Attila Doroszlai
            Assignee: Mohammad Arafat Khan


OM double-buffer flush thread name is set to {{nullOMDoubleBufferFlushThread}}, 
because the double-buffer is created before prefix is set:

{code:title=https://github.com/apache/ozone/blob/b1a058aca313cf9b02b5ed0f6f76ddc5aca7af9b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L123-L127}
    this.ozoneManagerDoubleBuffer = buildDoubleBufferForRatis();


    this.handler = new OzoneManagerRequestHandler(ozoneManager,
        ozoneManagerDoubleBuffer);
    this.threadPrefix = ozoneManager.getThreadNamePrefix();
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to