Skip to content

riak_cs_access_archiver seems to crash on archiving access samples. #746

@ksauzz

Description

@ksauzz

I saw crash reports of riak_cs_access_archiver after I hit riak-cs-access flush. And access usage looks to not be stored.

console.log

2013-11-28 06:28:12.538 [error] <0.3643.0> gen_fsm <0.3643.0> in state idle terminated with reason: bad argument in gen_fsm:send_event/2 line 198
2013-11-28 06:28:12.538 [error] <0.3643.0> CRASH REPORT Process <0.3643.0> with 0 neighbours exited with reason: bad argument in gen_fsm:send_event/2 line 198 in gen_fsm:terminate/7 line 611

crash.log

 2013-11-28 06:22:48 =ERROR REPORT====
** State machine <0.2584.0> terminating
** Last message in was {'ETS-TRANSFER',221211,<0.95.0>,{{{2013,11,28},{6,22,40}},{{2013,11,28},{6,22,48}}}}
** When State == idle
**      Data  == {state,<0.2585.0>,#Ref<0.0.0.7796>,undefined,undefined,undefined}
** Reason for termination =
** {badarg,[{gen_fsm,send_event,2,[{file,"gen_fsm.erl"},{line,198}]},{riak_cs_access_archiver,continue,1,[{file,"src/riak_cs_access_archiver.erl"},{line,223}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,494}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
2013-11-28 06:22:48 =CRASH REPORT====
  crasher:
    initial call: riak_cs_access_archiver:init/1
    pid: <0.2584.0>
    registered_name: []
    exception exit: {{badarg,[{gen_fsm,send_event,2,[{file,"gen_fsm.erl"},{line,198}]},{riak_cs_access_archiver,continue,1,[{file,"src/riak_cs_access_archiver.erl"},{line,223}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,494}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]},[{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,611}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
    ancestors: [riak_cs_access_archiver_manager,riak_cs_sup,<0.142.0>]
    messages: []
    links: [<0.285.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 227
  neighbours:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions