@@ -126,7 +126,7 @@ impl<'a, T, L, B: Boundedness, O: Ordering, R: Retries> Stream<T, Process<'a, L>
126126 where
127127 T : Serialize + DeserializeOwned ,
128128 {
129- self . send ( other, TCP . bincode ( ) )
129+ self . send ( other, TCP . fail_stop ( ) . bincode ( ) )
130130 }
131131
132132 /// "Moves" elements of this stream to a new distributed location by sending them over the network,
@@ -239,7 +239,7 @@ impl<'a, T, L, B: Boundedness, O: Ordering, R: Retries> Stream<T, Process<'a, L>
239239 where
240240 T : Clone + Serialize + DeserializeOwned ,
241241 {
242- self . broadcast ( other, TCP . bincode ( ) , nondet_membership)
242+ self . broadcast ( other, TCP . fail_stop ( ) . bincode ( ) , nondet_membership)
243243 }
244244
245245 /// Broadcasts elements of this stream to all members of a cluster by sending them over the network,
@@ -429,7 +429,7 @@ impl<'a, T, L, L2, B: Boundedness, O: Ordering, R: Retries>
429429 where
430430 T : Serialize + DeserializeOwned ,
431431 {
432- self . demux ( other, TCP . bincode ( ) )
432+ self . demux ( other, TCP . fail_stop ( ) . bincode ( ) )
433433 }
434434
435435 /// Sends elements of this stream to specific members of a cluster, identified by a [`MemberId`],
@@ -535,7 +535,7 @@ impl<'a, T, L, B: Boundedness> Stream<T, Process<'a, L>, B, TotalOrder, ExactlyO
535535 where
536536 T : Serialize + DeserializeOwned ,
537537 {
538- self . round_robin ( other, TCP . bincode ( ) , nondet_membership)
538+ self . round_robin ( other, TCP . fail_stop ( ) . bincode ( ) , nondet_membership)
539539 }
540540
541541 /// Distributes elements of this stream to cluster members in a round-robin fashion, using
@@ -672,7 +672,7 @@ impl<'a, T, L, B: Boundedness> Stream<T, Cluster<'a, L>, B, TotalOrder, ExactlyO
672672 where
673673 T : Serialize + DeserializeOwned ,
674674 {
675- self . round_robin ( other, TCP . bincode ( ) , nondet_membership)
675+ self . round_robin ( other, TCP . fail_stop ( ) . bincode ( ) , nondet_membership)
676676 }
677677
678678 /// Distributes elements of this stream to cluster members in a round-robin fashion, using
@@ -816,7 +816,7 @@ impl<'a, T, L, B: Boundedness, O: Ordering, R: Retries> Stream<T, Cluster<'a, L>
816816 where
817817 T : Serialize + DeserializeOwned ,
818818 {
819- self . send ( other, TCP . bincode ( ) )
819+ self . send ( other, TCP . fail_stop ( ) . bincode ( ) )
820820 }
821821
822822 /// "Moves" elements of this stream from a cluster to a process by sending them over the network,
@@ -968,7 +968,7 @@ impl<'a, T, L, B: Boundedness, O: Ordering, R: Retries> Stream<T, Cluster<'a, L>
968968 where
969969 T : Clone + Serialize + DeserializeOwned ,
970970 {
971- self . broadcast ( other, TCP . bincode ( ) , nondet_membership)
971+ self . broadcast ( other, TCP . fail_stop ( ) . bincode ( ) , nondet_membership)
972972 }
973973
974974 /// Broadcasts elements of this stream at each source member to all members of a destination
@@ -1095,7 +1095,7 @@ impl<'a, T, L, L2, B: Boundedness, O: Ordering, R: Retries>
10951095 where
10961096 T : Serialize + DeserializeOwned ,
10971097 {
1098- self . demux ( other, TCP . bincode ( ) )
1098+ self . demux ( other, TCP . fail_stop ( ) . bincode ( ) )
10991099 }
11001100
11011101 /// Sends elements of this stream at each source member to specific members of a destination
@@ -1182,7 +1182,7 @@ mod tests {
11821182 let ( in_send, input) = node. sim_input ( ) ;
11831183
11841184 let out_recv = input
1185- . send ( & node2, TCP . bincode ( ) )
1185+ . send ( & node2, TCP . fail_stop ( ) . bincode ( ) )
11861186 . batch ( & node2. tick ( ) , nondet ! ( /** test */ ) )
11871187 . count ( )
11881188 . all_ticks ( )
@@ -1210,7 +1210,7 @@ mod tests {
12101210 let input = cluster. source_iter ( q ! ( vec![ 1 ] ) ) ;
12111211
12121212 let out_recv = input
1213- . send ( & node, TCP . bincode ( ) )
1213+ . send ( & node, TCP . fail_stop ( ) . bincode ( ) )
12141214 . entries ( )
12151215 . batch ( & node. tick ( ) , nondet ! ( /** test */ ) )
12161216 . all_ticks ( )
@@ -1243,13 +1243,13 @@ mod tests {
12431243
12441244 let out_recv_1 = cluster1
12451245 . source_iter ( q ! ( vec![ 1 ] ) )
1246- . send ( & node, TCP . bincode ( ) )
1246+ . send ( & node, TCP . fail_stop ( ) . bincode ( ) )
12471247 . entries ( )
12481248 . sim_output ( ) ;
12491249
12501250 let out_recv_2 = cluster2
12511251 . source_iter ( q ! ( vec![ 2 ] ) )
1252- . send ( & node, TCP . bincode ( ) )
1252+ . send ( & node, TCP . fail_stop ( ) . bincode ( ) )
12531253 . entries ( )
12541254 . sim_output ( ) ;
12551255
@@ -1292,9 +1292,9 @@ mod tests {
12921292 ] ) ) ;
12931293
12941294 let out_recv = input
1295- . demux ( & cluster, TCP . bincode ( ) )
1295+ . demux ( & cluster, TCP . fail_stop ( ) . bincode ( ) )
12961296 . map ( q ! ( |x| x + 1 ) )
1297- . send ( & node, TCP . bincode ( ) )
1297+ . send ( & node, TCP . fail_stop ( ) . bincode ( ) )
12981298 . entries ( )
12991299 . sim_output ( ) ;
13001300
@@ -1320,9 +1320,9 @@ mod tests {
13201320 let input = node. source_iter ( q ! ( vec![ 123 , 456 ] ) ) ;
13211321
13221322 let out_recv = input
1323- . broadcast ( & cluster, TCP . bincode ( ) , nondet ! ( /** test */ ) )
1323+ . broadcast ( & cluster, TCP . fail_stop ( ) . bincode ( ) , nondet ! ( /** test */ ) )
13241324 . map ( q ! ( |x| x + 1 ) )
1325- . send ( & node, TCP . bincode ( ) )
1325+ . send ( & node, TCP . fail_stop ( ) . bincode ( ) )
13261326 . entries ( )
13271327 . sim_output ( ) ;
13281328
@@ -1362,15 +1362,15 @@ mod tests {
13621362 ] ) ) ;
13631363
13641364 let out_recv = input
1365- . demux ( & cluster, TCP . bincode ( ) )
1365+ . demux ( & cluster, TCP . fail_stop ( ) . bincode ( ) )
13661366 . map ( q ! ( |x| x + 1 ) )
13671367 . flat_map_ordered ( q ! ( |x| vec![
13681368 ( MemberId :: from_raw_id( 0 ) , x) ,
13691369 ( MemberId :: from_raw_id( 1 ) , x) ,
13701370 ] ) )
1371- . demux ( & cluster, TCP . bincode ( ) )
1371+ . demux ( & cluster, TCP . fail_stop ( ) . bincode ( ) )
13721372 . entries ( )
1373- . send ( & node, TCP . bincode ( ) )
1373+ . send ( & node, TCP . fail_stop ( ) . bincode ( ) )
13741374 . entries ( )
13751375 . sim_output ( ) ;
13761376
0 commit comments