Eyescale/Equalizer — Issue #55: Push packets received in the wrong order
Author: dulley
Created: 2011-11-11 10:52:55+00:00
State: open

The packets are being received out of order when the global ObjectBufferSize is small compared to the size of the data being transmitted.

# Issue is reproducible in co_object_Push test:

- ObjectBufferSize (global.cpp) is set to 600, instead of regular 60000:

- Message being transmitted:

static const std::string message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget felis sed leo tincidunt dictum eu eu felis. Aenean aliquam augue nec elit tristique tempus. Pellentesque dignissim adipiscing tellus, ut porttitor nisl lacinia vel. Donec malesuada lobortis velit, nec lobortis metus consequat ac. Ut dictum rutrum dui. Pellentesque quis risus at lectus bibendum laoreet. Suspendisse tristique urna quis urna faucibus et auctor risus ultricies. Morbi vitae mi vitae nisi adipiscing ultricies ac in nulla. Nam mattis venenatis nulla, non posuere felis tempus eget. Cras dapibus ultrices arcu vel dapibus. Nam hendrerit lacinia consectetur. Donec ullamcorper nibh nisl, id aliquam nisl. Nunc at tortor a lacus tincidunt gravida vitae nec risus. Suspendisse potenti. Fusce tristique dapibus ipsum, sit amet posuere turpis fermentum nec. Nam nec ante dolor.";

## Log output from our tests:

5956 Main ..\..\..\..\libs\co\objectDataOStream.cpp:67 714 packet dt 0 cmd 30 object 383a64098f954f88:214f152247b7d798.4294967293 v1 size 858 seq 0
5956 Rcv class S F:\Equalizer_tribal\libs\co\objectDataIStream.cpp:81 714 packet dt 1 cmd 0 object 383a64098f954f88:214f152247b7d798.4294967293 v1 size 858 seq 0
5956 Main ..\..\..\..\libs\co\objectDataOStream.cpp:67 735 packet dt 0 cmd 30 object 383a64098f954f88:214f152247b7d798.4294967293 v1 size 4 seq 1
5956 Rcv class S F:\Equalizer_tribal\libs\co\objectDataIStream.cpp:81 757 packet dt 1 cmd 0 object 383a64098f954f88:214f152247b7d798.4294967293 v1 size 858 seq 0
5956 Rcv class S F:\Equalizer_tribal\libs\co\objectDataIStream.cpp:81 801 packet dt 1 cmd 0 object 383a64098f954f88:214f152247b7d798.4294967293 v1 size 4 seq 1
5956 Rcv class S F:\Equalizer_tribal\libs\co\objectDataIStream.cpp:81 823 packet dt 1 cmd 0 object 383a64098f954f88:214f152247b7d798.4294967293 v1 size 4 seq 1
5956 Rcv class S F:\Equalizer_tribal\libs\co\objectDataIStream.cpp:85 845 Assert: packet->sequence == 0 , in: backtrace not implemented