[tickets] [opensaf:tickets] #3088 immnd: timeout to respond to clients if clients down

2019-09-23 Thread Thang Duc Nguyen via Opensaf-tickets



---

** [tickets:#3088] immnd: timeout to respond to clients  if clients down**

**Status:** assigned
**Milestone:** 5.19.10
**Created:** Tue Sep 24, 2019 06:57 AM UTC by Thang Duc Nguyen
**Last Updated:** Tue Sep 24, 2019 06:57 AM UTC
**Owner:** Thang Duc Nguyen


IMMND is timeout to send respond to clients due to the clients have already 
down. So any request to IMMND will be timeout.

***2019-09-24T16:52:22.300+10:00 SC-2-1 osafimmnd[17369]: WA MDS Send Failed
2019-09-24T16:52:22.301+10:00 SC-2-1 osafimmnd[17369]: WA Error code 2 returned 
for message type 3 - ignoring
2019-09-24T16:52:23.808+10:00 SC-2-1 osafimmnd[17369]: WA MDS Send Failed
2019-09-24T16:52:23.808+10:00 SC-2-1 osafimmnd[17369]: WA Error code 2 returned 
for message type 3 - ignoring
2019-09-24T16:52:25.312+10:00 SC-2-1 osafimmnd[17369]: WA MDS Send Failed
2019-09-24T16:52:25.313+10:00 SC-2-1 osafimmnd[17369]: WA Error code 2 returned 
for message type 3 - ignoring
2019-09-24T16:52:26.820+10:00 SC-2-1 osafimmnd[17369]: WA MDS Send Failed*



---

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


[tickets] [opensaf:tickets] #2642 dtm: Close unused log streams

2019-09-23 Thread Vu Minh Nguyen via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#2642] dtm: Close unused log streams**

**Status:** review
**Milestone:** 5.19.10
**Created:** Thu Oct 19, 2017 10:46 AM UTC by Anders Widell
**Last Updated:** Fri Sep 20, 2019 08:18 AM UTC
**Owner:** Vu Minh Nguyen


Consider closing and freeing resources for log streams (except mds.log) that 
have not been used for a while (probably because trace was disabled using 
SIGUSR2).


---

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


[tickets] [opensaf:tickets] #3087 optimize mdstest suite 27

2019-09-23 Thread Thuan via Opensaf-tickets



---

** [tickets:#3087] optimize mdstest suite 27**

**Status:** assigned
**Milestone:** 5.19.10
**Created:** Mon Sep 23, 2019 09:23 AM UTC by Thuan
**Last Updated:** Mon Sep 23, 2019 09:23 AM UTC
**Owner:** Thuan


Current mdstest suite 27 (a part of #1960) allocate a 100MB message buffer to 
verify TIPC overload can work with #1960 solution. But test can be optimized to 
just allocate a small message buffer but still create TIPC overload scenario 
and verify messsage receive as expected.


---

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


[tickets] [opensaf:tickets] #1960 MDS: MDS does not handle dropped TIPC packages

2019-09-23 Thread Minh Hon Chau via Opensaf-tickets
- **status**: review --> fixed
- **Part**: - --> lib
- **Milestone**: future --> 5.19.10
- **Comment**:

commit 7d6bf312c4a965e12b99c7a784a8e81cc7618a03
Author: Minh Chau 
Date:   Sat Sep 21 01:56:37 2019 +1000

mds: Update code from comments [#1960]

commit 95cc2539c675565da41238a954a8ab87307081a1
Author: Thuan Tran 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Add TIPC buffer overflow for mdstest [#1960]

commit 460f2789c1f57ee657f11784426fb01949bc93cf
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Apply serial number arithmetic for sequence counter [#1960]

This patch applies the serial number arithmetic for the flow control
sequence number, referenced to RFC1982.

This is only temporary patch, a proper one could be made in /base
with template for others type, e.g uint32. Then mds reuses it from
/base.

commit f0a222b94363a4d08fb49982d2e2dddab0c305c0
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Add configurable parameters [#1960]

This patch makes the solution of TIPC buffer overflow configurable,
as well as the ack timeout/ack size.
For example:
The service config file can export the following environment variables

export MDS_TIPC_FCTRL_ENABLED=1
export MDS_TIPC_FCTRL_ACKTIMEOUT=1000
export MDS_TIPC_FCTRL_ACKSIZE=1

If MDS_TIPC_FCTRL_ACKTIMEOUT, MDS_TIPC_FCTRL_ACKSIZE are not specified,
the default values are used.

commit 25f47c7fe1960c21e8026f83955a89fb24036e6b
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Implement kRcvBuffOverflow state [#1960]

This patch implements the kRcvBuffOverflow state machine as
described in README file.

commit 064a2affd7cf010c2c1e21476121a305ac985151
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Add state machine for tipc portid instance [#1960]

This patch adds state machine to support tx probation timer.

commit 507637f598e124dced28fc376fa100f9cd1f270c
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Add timeout for ack message [#1960]

If the ack size is configured greater than 1, there should be a timeout
at receiver ends to send the ack message back to senders.
The ack message timeout utilizes the poll timeout in flow control thread
to make mds lightweight (in contrast to additional timer threads).

commit ea8a2a643ffb05cb3fb05a3cc0b53784fa953a39
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Add implementation for TIPC buffer overflow solution [#1960]

This is a collaborative patch of two participants:Thuan, Minh.

Main changes:
- Add mds_tipc_fctrl_intf.h, mds_tipc_fctrl_intf.cc: These two files
introduce new functions which are called in mds_dt_tipc.c if the flow
control is enabled
- Add mds_tipc_fctrl_portid.h, mds_tipc_fctrl_portid.cc: These files
implements the tipc portid instance, which supports the sliding window,
mds msg queue
- Add mds_tipc_fctrl_msg.h, mds_tipc_fctrl_msg.cc: These files define
the event and messages which are used for this solution.

commit 31968fe50bd62fc3d86a93c53cba6e25d83aee8b
Author: Thuan Tran 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Resolve c/c++ linking issue [#1960]

This patch solves the linking issue if mds_dt.h or mds_core.h
is included in c++ sources.

commit 890b49096978ae1419b240599de9aa2cffb7368a
Author: Minh Chau 
Date:   Thu Sep 19 10:04:05 2019 +1000

mds: Add README for solution of TIPC buffer overflow at MDS [#1960]




---

** [tickets:#1960] MDS: MDS does not handle dropped TIPC packages **

**Status:** fixed
**Milestone:** 5.19.10
**Created:** Fri Aug 19, 2016 08:39 AM UTC by Hans Nordebäck
**Last Updated:** Mon Sep 02, 2019 12:55 AM UTC
**Owner:** Minh Hon Chau


TIPC is run in connection less mode by OpenSAF, i.e. SOCK_RDM, reliable 
datagram where ordering is guaranteed but packages can be dropped at e.g. 
overload situations.
This is not handled by OpenSAF and may cause undetermined behaviour in the 
system.




---

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