basho / yokozuna

Riak + Solr
245 stars 76 forks source link

Upgrade ibrowse to 4.0.2 #688

Closed kesslerm closed 7 years ago

kesslerm commented 7 years ago

In Riak-2.0.x yokozuna uses ibrowse-4.0.1. On heavily loaded servers ibrowse eventually crashes due to overflowing a counter:

2016-08-27 22:03:53.361 [error] <0.5628.0> gen_server <0.5628.0> terminated with reason: bad argument in call to ets:update_counter(235767857484, <0.1149.1954>, {3,1,9999999,9999999}) in ibrowse_lb:find_best_connection/3 line 242
2016-08-27 22:03:53.361 [error] <0.5628.0> CRASH REPORT Process <0.5628.0> with 15 neighbours exited with reason: bad argument in call to ets:update_counter(235767857484, <0.1149.1954>, {3,1,9999999,9999999}) in ibrowse_lb:find_best_connection/3 line 242 in gen_server:terminate/6 line 744

A fix for this exists in ibrowse-4.0.2, which is already in use in Riak 2.1.4 and Riak 2.2.

Fixes https://github.com/basho/yokozuna/issues/687

thumbot commented 7 years ago

Thanks @kesslerm!

thumbot commented 7 years ago

.thumbs.yml config:

...