- When senders send broadcast big messages under TIPC multicast,
any message can be dropped at destination (e.g: overloaded)
without notice by senders. MDS flow control also don't support
this type of message.
- Slow down senders by sleep 1s after sending one big message.
---
src/mds/apitest/mdstipc_api.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mds/apitest/mdstipc_api.c b/src/mds/apitest/mdstipc_api.c
index cbcffbd76..3dd1a3dc0 100644
--- a/src/mds/apitest/mdstipc_api.c
+++ b/src/mds/apitest/mdstipc_api.c
@@ -13336,6 +13336,7 @@ void tet_sender2(MDS_SVC_ID svc_id, uint32_t msg_num,
uint32_t msg_size,
} else {
printf("\nSender SENT message %d"
" successfully\n", i);
+ sleep(1); // Slow down sender to avoid msg drop
}
}
free(mesg);
--
2.17.1
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel