Skip to content

Instantly share code, notes, and snippets.

@marksteele
Created March 13, 2015 18:29
Show Gist options
  • Save marksteele/c2002b44b005ea1fda63 to your computer and use it in GitHub Desktop.
Save marksteele/c2002b44b005ea1fda63 to your computer and use it in GitHub Desktop.
Another riak crash
curl -v http://10.19.10.23:8098/buckets/lead_duplicate_email/keys?keys=true
* About to connect() to 10.19.10.23 port 8098 (#0)
* Trying 10.19.10.23... connected
> GET /buckets/lead_duplicate_email/keys?keys=true HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 10.19.10.23:8098
> Accept: */*
>
2015-03-13 18:27:53.455 UTC [error] <0.29303.789> gen_fsm <0.29303.789> in state initialize terminated with reason: bad arithmetic expression in riak_core_coverage_plan:create_plan/5 line 59
2015-03-13 18:27:53.455 UTC [error] <0.29303.789> CRASH REPORT Process <0.29303.789> with 0 neighbours exited with reason: bad arithmetic expression in riak_core_coverage_plan:create_plan/5 line 59 in gen_fsm:terminate/7 line 611
2015-03-13 18:27:53.456 UTC [error] <0.476.0> Supervisor riak_kv_keys_fsm_sup had child undefined started with {riak_core_coverage_fsm,start_link,undefined} at <0.29303.789> exit with reason bad arithmetic expression in riak_core_coverage_plan:create_plan/5 line 59 in context child_terminated
@marksteele
Copy link
Author

root@kv01:~# curl -v http://10.19.10.23:8098/buckets/lead_duplicate_email/props

  • About to connect() to 10.19.10.23 port 8098 (#0)
  • Trying 10.19.10.23... connected

GET /buckets/lead_duplicate_email/props HTTP/1.1
User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Host: 10.19.10.23:8098
Accept: /

< HTTP/1.1 200 OK
< Vary: Accept-Encoding
< Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
< Date: Fri, 13 Mar 2015 18:50:45 GMT
< Content-Type: application/json
< Content-Length: 485
<

  • Connection #0 to host 10.19.10.23 left intact
  • Closing connection #0
    {"props":{"allow_mult":true,"backend":"bitcask_mult_lead_duplicate_email","basic_quorum":false,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"dw":"quorum","last_write_wins":false,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"n_val":"4","name":"lead_duplicate_email","notfound_ok":true,"old_vclock":86400,"postcommit":[],"pr":0,"precommit":[],"pw":0,"r":"quorum","rw":"quorum","small_vclock":50,"w":"quorum","young_vclock":20}}

@marksteele
Copy link
Author

oot@kv01:~# riak attach
Remote Shell: Use "Ctrl-C a" to quit. q() or init:stop() will terminate the riak node.
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:2:2] [async-threads:0] [kernel-poll:false]

Eshell V5.9.1 (abort with ^G)
([email protected])1> redbug:start("riak_core_coverage_plan:create_plan").
ok
quitting: timeout
([email protected])2>

@marksteele
Copy link
Author

([email protected])2> redbug:start("riak_core_coverage_plan:create_plan").
ok

15:09:28 <<0.17818.790>> {riak_core_coverage_plan,create_plan,
[all,<<"4">>,1,129636575,riak_kv]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment