Menu

#3221 smf: fail one-step upgrade if new install apps has dependency

5.20.11
fixed
None
defect
smf
d
major
False
2020-09-25
2020-09-18
Thuan Tran
No

In one-step upgrade with new install applications, SMF invoke admin operation (sync mode) serially.
This way may stuck due to dependencies b/w SUs then cause upgrade fail.

For example:
    New install A, B (SU=A depend on SU=B)
    SMF loop SUs (list with name sort order)
        SMF unlock (admin op sync) SU=A  -> timeout
    Upgrade failed as admin op timeout

Related

Wiki: ChangeLog-5.20.11
Wiki: NEWS-5.20.11

Discussion

  • Thuan Tran

    Thuan Tran - 2020-09-22
    • status: assigned --> review
     
  • Thuan Tran

    Thuan Tran - 2020-09-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,8 +3,8 @@
    
     ~~~
     For example:
    -    New install A, B (SU=B depend on SU=A)
    -    SMF loop SUs (list without order)
    -        SMF unlock (admin op sync) SU=B  -> timeout
    +    New install A, B (SU=A depend on SU=B)
    +    SMF loop SUs (list with name sort order)
    +        SMF unlock (admin op sync) SU=A  -> timeout
         Upgrade failed as admin op timeout
     ~~~
    
     
  • Thuan Tran

    Thuan Tran - 2020-09-25
    • status: review --> fixed
     
  • Thuan Tran

    Thuan Tran - 2020-09-25

    commit 3e5e87ae9f2e367f90e084dd87a1b23612c8b288 (HEAD -> develop, origin/develop)
    Author: thuan.tran thuan.tran@dektech.com.au
    Date: Fri Sep 18 13:58:03 2020 +0700

    smf: improve admin operation from serial to parallel [#3221]
    
    - In one-step upgrade with new install applications, SMF invoke
    admin operation (sync mode) serially. This way may stuck due to
    SU dependencies cause upgrade fail in the end as admin operation
    timeout.
    - Improve admin operation from serial to parallel to avoid SU
    dependencies issue, also help speed up upgrade time.
    
     

Log in to post a comment.