Menu

#3005 rded: send takeover request to main thread more quickly

5.19.03
fixed
Gary Lee
None
defect
rde
d
major
False
2019-01-30
2019-01-29
Gary Lee
No

In rded, takeover request is not immediately sent to the main thread because MDS topology messages may not have been processed yet. This is only important if the SC is chosen from the largest partition during a split network event. If [#2995] is enabled, then we can skip this delay.

Related

Tickets: #2995
Tickets: #3008
Wiki: ChangeLog-5.19.03

Discussion

  • Gary Lee

    Gary Lee - 2019-01-29
    • status: accepted --> review
     
  • Gary Lee

    Gary Lee - 2019-01-30

    commit e13f0ee64a0255dd54bc70b1f8d601fbb6162428
    Author: Gary Lee gary.lee@dektech.com.au
    Date: Wed Jan 30 15:23:48 2019 +1100

    rded: process takeover request without delay [#3005]
    
    Currently, a takeover request is not sent to the main thread immediately
    so that MDS messages related to topology changes are processed first.
    
    If the plugin informs us it has lost connectivity to the consensus service
    by returning 'UNDEFINED', or we prioritise the current active SC,
    then we should not delay the request. This will speed up self-fencing
    of the current active node (if required).
    
     
  • Gary Lee

    Gary Lee - 2019-01-30
    • status: review --> fixed
     

Log in to post a comment.

MongoDB Logo MongoDB