@@ -723,7 +723,7 @@ open(info, {OK, S, Data},
723723 connection_state = State2 }}
724724 end ;
725725open (info , {sac , check_connection , _ }, State ) ->
726- sac_connection_reconnected (self ()),
726+ _ = sac_connection_reconnected (self ()),
727727 {keep_state , State };
728728open (info ,
729729 {sac , #{subscription_id := SubId ,
@@ -795,15 +795,15 @@ open(info,
795795 rabbit_log :debug (" Subscription ~tp on ~tp has been deleted." ,
796796 [SubId , Stream ]),
797797 rabbit_log :debug (" Active ~tp , message ~tp " , [Active , Msg ]),
798- case {Active , Msg } of
799- {false , #{stepping_down := true ,
800- stream := St ,
801- consumer_name := ConsumerName }} ->
802- rabbit_log :debug (" Former active consumer gone, activating consumer " ++
803- " on stream ~tp , group ~tp " , [St , ConsumerName ]),
804- sac_activate_consumer (VirtualHost , St , ConsumerName );
805- _ ->
806- ok
798+ _ = case {Active , Msg } of
799+ {false , #{stepping_down := true ,
800+ stream := St ,
801+ consumer_name := ConsumerName }} ->
802+ rabbit_log :debug (" Former active consumer gone, activating consumer " ++
803+ " on stream ~tp , group ~tp " , [St , ConsumerName ]),
804+ sac_activate_consumer (VirtualHost , St , ConsumerName );
805+ _ ->
806+ ok
807807 end ,
808808 {Connection0 , ConnState0 }
809809 end ,
@@ -2553,8 +2553,8 @@ handle_frame_post_auth(Transport,
25532553 rabbit_log :debug (" Subscription ~tp on stream ~tp , group ~tp " ++
25542554 " has stepped down, activating consumer" ,
25552555 [SubscriptionId , Stream , ConsumerName ]),
2556- sac_activate_consumer (VirtualHost , Stream ,
2557- ConsumerName ),
2556+ _ = sac_activate_consumer (VirtualHost , Stream ,
2557+ ConsumerName ),
25582558 ok ;
25592559 _ ->
25602560 ok
@@ -3165,8 +3165,8 @@ maybe_unregister_consumer(VirtualHost,
31653165 subscription_id := SubId ,
31663166 stepping_down := true }}, Acc )
31673167 when SubId =:= SubscriptionId ->
3168- sac_activate_consumer (VirtualHost , Stream ,
3169- ConsumerName ),
3168+ _ = sac_activate_consumer (VirtualHost , Stream ,
3169+ ConsumerName ),
31703170 rabbit_log :debug (" Outstanding SAC activation request for stream '~tp ', " ++
31713171 " group '~tp ', sending activation." ,
31723172 [Stream , ConsumerName ]),
@@ -3175,8 +3175,8 @@ maybe_unregister_consumer(VirtualHost,
31753175 Acc #{K => V }
31763176 end , maps :new (), Requests ),
31773177
3178- sac_unregister_consumer (VirtualHost , Stream , ConsumerName ,
3179- self (), SubscriptionId ),
3178+ _ = sac_unregister_consumer (VirtualHost , Stream , ConsumerName ,
3179+ self (), SubscriptionId ),
31803180 Requests1 .
31813181
31823182partition_index (VirtualHost , Stream , Properties ) ->
0 commit comments