@@ -87,8 +87,9 @@ start_channel( Config, Lb_Queue_Name, Max_Retries, Times_Tried, Attempted_Conne
8787 case ets_buffer :read_dedicated (Lb_Queue_Name ) of
8888
8989 % % Race condition with another user, try again...
90- % % (Internally, ets_buffer calls erlang:yield() when this happens)
91- {missing_ets_data , Lb_Queue_Name , _ } ->
90+ % % (When this happens, a cassandra node is left out permanently!)
91+ {missing_ets_data , Lb_Queue_Name , Read_Loc } ->
92+ lager :error (" Missing ETS data reading ~p at location ~p~n " , [Lb_Queue_Name , Read_Loc ]),
9293 start_channel (Config , Lb_Queue_Name , Max_Retries , Times_Tried + 1 , Attempted_Connections );
9394
9495 % % Give up if there are no connections available...
@@ -174,7 +175,7 @@ buffer_bare_fun_call( Config, Session_Fun, Args, Consistency, serial) ->
174175handle_bare_fun_reply ({Err_Type , _Err_Data } = Error , Mod , Fun , Args )
175176 when Err_Type =:= missing_ets_data ;
176177 Err_Type =:= missing_ets_buffer ;
177- Err_Type =:= wait_for_session_time ;
178+ Err_Type =:= wait_for_session_timeout ;
178179 Err_Type =:= worker_reply_error ;
179180 Err_Type =:= worker_reply_timeout ->
180181 report_error (Error , Mod , Fun , Args );
@@ -213,7 +214,7 @@ buffer_mod_fun_call( Config, Mod, Fun, Args, Consistency, serial) ->
213214handle_mod_fun_reply ({Err_Type , _Err_Data } = Error , Mod , Fun , Args )
214215 when Err_Type =:= missing_ets_data ;
215216 Err_Type =:= missing_ets_buffer ;
216- Err_Type =:= wait_for_session_time ;
217+ Err_Type =:= wait_for_session_timeout ;
217218 Err_Type =:= worker_reply_error ;
218219 Err_Type =:= worker_reply_timeout ->
219220 report_error (Error , Mod , Fun , Args );
0 commit comments