- **status**: review --> fixed
- **Comment**:
commit 09eec5a1e422fec2cb97001fafb801b0b84529a1 (HEAD -> develop,
origin/develop, ticket-3102)
Author: thuan.tran <[email protected]>
Date: Thu Oct 24 18:21:33 2019 +0700
mds: not waste 1.5s in waiting dead Adest to send RSP [#3102]
- When sending response message to Adest which is not exist
(crash/terminate),
current MDS try to wait for 1.5 seconds before conclude no route to send
RSP.
- Here are scenarios may waste 1.5s waiting:
SVCs DOWN (dead adest or vdest role change) -> get SNDRSP -> send RSP
(wait 1.5s)
get SNDRSP -> SVCs DOWN (dead adest or vdest role change) -> send RSP
(wait 1.5s)
This long wait time cause trouble for higher layer services, e.g: ntf, imm,
etc...
where there are many agents send initialize request (use message SNDRSP
type)
- Solution: create adest list, a timer start when last SVC of adest DOWN.
When sending RSP to this adest, the wait time will reduce to only 10ms.
Notice that following origin behavior is kept:
No any SVC UP before -> get SNDRSP -> send RSP (wait 1.5s)
- New TC tet_send_response_tp_13() is created to verify this scenario.
---
** [tickets:#3102] mds: waste 1.5s in waiting Adest already down to send
response message type**
**Status:** fixed
**Milestone:** 5.20.01
**Created:** Thu Oct 17, 2019 09:23 AM UTC by Thuan Tran
**Last Updated:** Tue Oct 22, 2019 09:36 AM UTC
**Owner:** Thuan Tran
**Attachments:**
- [mds.log](https://sourceforge.net/p/opensaf/tickets/3102/attachment/mds.log)
(16.9 kB; application/octet-stream)
On Active SC, do following commands:
~~~
pkill -STOP osafntfd
ntfsend &
pkill -9 ntfsend
pkill -CONT osafntfd
~~~
Check mds.log will see osafntfd stuck in 1.5s to waiting for agent already down
to send response message type.
---
Sent from sourceforge.net because [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets