- **status**: review --> fixed
- **Comment**:

commit 37096f97d532565b39282a858b8e98d5031c9fca
Author: thuan.tran <thuan.t...@dektech.com.au>
Date:   Mon Dec 2 12:44:31 2019 +0700

    mds: close sockets at the end of mdtm_tipc_destroy() [#3125]
    
    Aslo create wrapper of sendto() to retry if errno is ENOMEM/ENOBUFFS/EINTR.
    And return for other errors, do not assert() cause coredump.




---

** [tickets:#3125] mds: mds flow control should shutdown before closing 
sockets**

**Status:** fixed
**Milestone:** 5.20.01
**Created:** Mon Dec 02, 2019 04:56 AM UTC by Thuan Tran
**Last Updated:** Tue Dec 03, 2019 08:04 AM UTC
**Owner:** Thuan Tran


After the fix #3123 merged, an issue in mds flow control is exposed.
It try to send message after tipc sockets are already closed.
~~~
<141>1 2019-12-01T11:32:31.201229+01:00 PL-3 ckpttest 366 mds.log [meta 
sequenceId="2947"] MDTM: uninstall_tipc : svc_id = CPA(18),vdest_id = 65535
<142>1 2019-12-01T11:32:31.201254+01:00 PL-3 ckpttest 366 mds.log [meta 
sequenceId="2948"] MDTM: SVC-UNINSTALL Success
...
<143>1 2019-12-01T11:32:31.202189+01:00 PL-3 osafckptnd 241 mds.log [meta 
sequenceId="21622"] FCTRL: [me] <-- [node:1001001, ref:440789091], 
RcvChkAck[fseq:8, chunk:3], sndwnd[acked:5, send:9, nacked:423], queue[size:3]
<143>1 2019-12-01T11:32:31.202422+01:00 PL-3 ckpttest 366 mds.log [meta 
sequenceId="2965"] FCTRL: [node:1001003, ref:3033259696], ChkAckExp
<143>1 2019-12-01T11:32:31.202455+01:00 PL-3 ckpttest 366 mds.log [meta 
sequenceId="2966"] FCTRL: sendto() failed, Error[Bad file descriptor]
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to