Re: object not stored

2011-08-31 Thread Jonathan Langevin
To avoid inconsistencies with your specific set up, I would change n_val to 1, set r/w/dw to 1, which is what we actually have for our dev instance. I don't know what issues this could cause specifically with any test data that you've already stored, so my initial thought would be to remove/reinsta

Re: object not stored

2011-08-31 Thread Giancarlo Frison
Previously I caught not found in HTTP interface and in PB client as well. Now I set w/dw to 2 (leaving n_val=3 as default) and I didn't see the problem again, but a delay from the store and a successful fetch (after a 1 sec). If I fetch the obj immediately after the store I caught not found again

Re: object not stored

2011-08-31 Thread Dan Reverri
Hi Giancarlo, Can you fetch the object through the PB interface? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Aug 31, 2011 at 8:45 AM, Mark Steele wrote: > I would think that one of the following would work: > > Make your n_val = 1 on the buck

Re: object not stored

2011-08-31 Thread Mark Steele
I would think that one of the following would work: Make your n_val = 1 on the bucket and set or R/W/DW = 1 on reads/writes/deletes OR Leave the n_val at 3 (the default), make the R/W/DW = 2 (quorum) on reads/writes/deletes. On Wed, Aug 31, 2011 at 11:36 AM, Giancarlo Frison wrote: > This is

Re: object not stored

2011-08-31 Thread Jonathan Langevin
Your server is single instance? Meaning you have only 1 node in your "cluster"? In that case, first issue I see is that your n_val is set to 3. You need it set to 1 to reflect that you only have 1 node. Also, keep in mind that if you decide to add more servers to make a proper cluster, you'll have

Re: object not stored

2011-08-31 Thread Giancarlo Frison
This is the bucket conf: gfrison@gfw:~$ curl http://localhost:8098/riak/user {"props":{"name":"user","n_val":3,"allow_mult":false,"last_write_wins":false,"precommit":[],"postcommit":[],"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"linkfun":{"mod":"riak_kv_wm_link_walker","fun":

Re: object not stored

2011-08-31 Thread Jonathan Langevin
That could occur, depending on how many nodes are in your cluster, what your r/w/dw settings are set to when fetching the object, how soon after storing you attempt to fetch. What is your configuration? i.e. - how many nodes in your cluster, what settings are you using for reading & writing to Riak