Looks like thet the issue is that some time ago I deleted my bitcask and AAE directory. Before this I had made a strongly consistent bucket and had some data in it, but upon deleting those dirs, the data from the strongly consistent bucket dissapeared, however the bucket type info persisted. That bucket type is now useless I guess, and the looks like the only way to delete it is to delete all contents of data dir: http://stackoverflow.com/questions/27567451/how-to-deactivate-or-delete-a-bucket-type-in-riak. <http://stackoverflow.com/questions/27567451/how-to-deactivate-or-delete-a-bucket-type-in-riak>
Thanks for the help, - Hristo On Mon, Sep 21, 2015 at 4:46 PM, Zsolt Laky <zsolt.l...@lamardan.com> wrote: > Hi Hristo, > > I had this experience when the consistency subsystem was not ready. > > I use riak-admin ensemble-status to check it. It may take 10 minutes to > have it ready. > > What HW are you using? How many nodes are up? Do you use your laptop for > alk the nodes or you experience the situation in a production envirinment? > Whar version of RIAK are you working with? > > Regards, > Zsolt > > On Sep 21, 2015, at 22:49, Hristo Asenov <hristo.s.ase...@gmail.com> > wrote: > > Hello Everyone, > > I am trying to use a strongly consistent bucket and cannot initialize any > of the keys. If I perform a GET on the key I want to write to, I get an > error that Precondition Failed. However, if I try to write to the key > without context (since I cannot get a Vector Clock), I get a timeout. > > In > http://docs.basho.com/riak/latest/dev/advanced/strong-consistency/#Causal-Context > it > says that “it is possible to make writes to non-existing keys without > attaching context”. Also, in > http://docs.basho.com/riak/latest/dev/advanced/strong-consistency/#Strongly-Consistent-Writes, > it says that “If you know that a key does not yet exist, you can write to > that key without supplying a context with the object”. However, there are > no instructions on how to actually do that. I am wondering what are the > commands needed to actually write a value to the key in the first place, so > that it can read on subsequent writes. > > - Hristo > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- Hristo Asenov 260 Elkton Rd Apt. C-2 Newark, DE 19711 (732) 604 8349 (c)
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com