Menu

#3310 log: log agent is blocked for 10s

5.22.06
fixed
None
enhancement
log
-
major
False
2022-06-01
2022-03-08
No

In ticket 3291, a new message was introduced which is sent from the log director to the log agent. When a log agent that contains #3291 run with a log director that doesn't contains #3291, that log agent must wait for 10s. We should avoid this.

<143>1 2022-02-19T14:06:22.358273+01:00 SC-2 osafamfd 27233 osafamfd [meta sequenceId="749743"] 27233:log/agent/lga_agent.cc:409 >> saLogInitialize 
...
<143>1 2022-02-19T14:06:32.359774+01:00 SC-2 osafamfd 27233 osafamfd [meta sequenceId="749784"] 27233:log/agent/lga_agent.cc:348 TR Waiting for initial clm status timeout
<143>1 2022-02-19T14:06:32.359838+01:00 SC-2 osafamfd 27233 osafamfd [meta sequenceId="749785"] 27233:log/agent/lga_agent.cc:361 << WaitLogServerUp 

Related

Wiki: ChangeLog-5.22.06

Discussion

  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-09
    • status: assigned --> accepted
     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-15

    commit b99fd24c88e4f08799bfcfa9eaa2d585ba426593 (HEAD -> develop, origin/develop, ticket-3310)
    Author: hieu.h.hoang hieu.h.hoang@dektech.com.au
    Date: Tue Mar 8 10:33:18 2022 +0700

    log: Increase the log subpart version [#3310]
    
    In the ticket 3291, a new message was introduced.
    Increase the log subpart version to figure out a
    log director support that message or not.
    
     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-15
    • status: accepted --> fixed
     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-17
    • status: fixed --> accepted
     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-17

    In previous commit, the log agent 5.22.01 is still blocked for 10s if it runs with new log director. The log agent 5.22.01 will wait for the initial message but its subpart version is 1. Therefore the log director doesn't know that it needs to send the initial message.
    A different approach is the log director always send the initial message no matter what version of log agent is.

     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-23
    • status: accepted --> review
     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-24

    commit 78cbf3c763439e24d3db459fe5a0d6e5974c693e (HEAD -> develop, origin/develop, ticket-3310)
    Author: hieu.h.hoang hieu.h.hoang@dektech.com.au
    Date: Thu Mar 17 15:27:01 2022 +0700

    log: The log director always sends the initial message [#3310]
    
    The log agent 5.22.01 will wait for the initial message
    but its subpart version is 1. Therefore the log director
    doesn't know that it need to send the initial message.
    Solution is the log director always sends the initial
    message regardless the version of log agent.
    
     
  • Hieu Hong Hoang

    Hieu Hong Hoang - 2022-03-24
    • status: review --> fixed
     
  • Gary Lee

    Gary Lee - 2022-06-01
    • Component: log --> unknown
     
  • Gary Lee

    Gary Lee - 2022-06-01
    • Component: unknown --> log
     

Log in to post a comment.