fix(dsraft): replace unused clause with catch-all one
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
parent
42e4a635e0
commit
ff72d55491
|
@ -383,9 +383,11 @@ handle_cast(_Msg, State) ->
|
|||
{noreply, State}.
|
||||
|
||||
handle_info({timeout, _TRef, bootstrap}, St) ->
|
||||
{noreply, St, {continue, bootstrap}}.
|
||||
{noreply, St, {continue, bootstrap}};
|
||||
handle_info(_Info, State) ->
|
||||
{noreply, State}.
|
||||
|
||||
terminate(_Reason, {DB, Shard}) ->
|
||||
terminate(_Reason, #st{db = DB, shard = Shard}) ->
|
||||
%% NOTE: Mark as not ready right away.
|
||||
ok = erase_shard_info(DB, Shard),
|
||||
%% NOTE: Timeouts are ignored, it's a best effort attempt.
|
||||
|
|
Loading…
Reference in New Issue