if there is a failure, and leader is re-elected, the epoch of the ensemble changes, so you may have to refetch the object to get a new causal context in order to perform another write. If this occurs, you should be able to heal by doing another read, modify, write cycle.
On Wed, Sep 23, 2015 at 3:21 PM, Luke Bakken <lbak...@basho.com> wrote: > Hristo, > > How are you communicating with Riak? Which client library is being used? > -- > Luke Bakken > Engineer > lbak...@basho.com > > On Wed, Sep 23, 2015 at 3:18 PM, Hristo Asenov > <hristo.s.ase...@gmail.com> wrote: > > Hello, > > > > I am using a strongly consistent bucket type. I need to simulate > instances where a process can crash and recover. When a crash occurs, I > cleanly disconnect and destroy the memory (through a signal handler). > > > > Sometimes, when process recovery occurs, performing a get on an object > is successful, however a subsequent set with the Vector Clock from the > previous get results in the error “Cannot send another request while one is > in progress”. I found the error in riak_api project, file > riak_api_pb_server.erl, but don’t really understand why the error gets > thrown. Would someone be able to instruct me as to the cause of the error? > I am using the current riak version from the main repository. > > > > - Hristo > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com