Closed seancribbs closed 12 years ago
Could I trouble you for a small comment in the code about why this is an ok
case, please, just so a future maintainer (or someone that runs into this in another trouble case) isn't completely lost?
Looks good and makes sense. It also makes the ruby test pass. +1
@Vagabond So that means you got them working? Yay.
When parallel map-reduce jobs are invoked on a fresh node, they may try to invoke
code:load/1
at the same time, one of them receiving{module, Module}
and one receiving{error, not_purged}
, which bubbles back to the client through the error clause. Example error from riak_kv as seen in the Ruby client builds:Since the code already being loaded is not an error, really, matching on the
not_purged
clause resolves this issue.