---

** [tickets:#1694] mds-tcp: application getting segmentation if message size > 
65535 **

**Status:** accepted
**Milestone:** 5.0.FC
**Created:** Mon Mar 07, 2016 02:22 PM UTC by A V Mahesh (AVM)
**Last Updated:** Mon Mar 07, 2016 02:22 PM UTC
**Owner:** A V Mahesh (AVM)


After the changes of MDS enhancement ticket #1522, 
MDS TCP application getting segmentation if application trying to send messge 
size > 65535 

Bug :
MDS:TCP code changes included the node name as a part MDS TCP message header, 
but the TCP fragment size macro was not tuned according to new MDS user data 
size 
( need to less HOST_NAME_MAX size from default MDS_DIRECT_BUF_MAXSIZE)

Patch will be published soon.

Steps to reproduce :

When we tested this I have done the following:

1.
Make sure there is a clean default branch with NO patches added
2.
hg update 7292
3.
make distclean
4.
./bootstrap.sh
5.
./configure --enable-tests
6.
make
7.
./build_uml
8.
./opensaf start

In cluster on any node:
# logtest
This logtest always fail testcase 39 and 40 in suite 6  with 
the following will fail:
# logtest 6 39 
==========================================
Log file size (0) is less than 65535 
39  FAILED   Modify: saLogStreamFixedLogRecordSize == 0, write a record = 65535 
bytes, OK (expected UNKNOWN, got SA_AIS_NOT_VALID);

# logtest 6 40
==========================================
Log file size (0) is less than 65535 
40  FAILED   Modify: saLogStreamFixedLogRecordSize == 65535, Write a record = 
65535 bytes with special characters, OK (expected UNKNOWN, got 
SA_AIS_NOT_VALID);

 


---

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.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to