Skip to content

Instantly share code, notes, and snippets.

@Vagabond
Created May 17, 2011 15:28
Show Gist options
  • Save Vagabond/976692 to your computer and use it in GitHub Desktop.
Save Vagabond/976692 to your computer and use it in GitHub Desktop.
notfound ok true, default, [{allow_mult,false},
{basic_quorum,false},
{big_vclock,50},
{chash_keyfun,{riak_core_util,chash_std_keyfun}},
{dw,quorum},
{last_write_wins,false},
{linkfun,
{modfun,riak_kv_wm_link_walker,
mapreduce_linkfun}},
{n_val,3},
{name,<<"b">>},
{notfound_ok,true},
{old_vclock,86400},
{postcommit,[]},
{pr,0},
{precommit,[]},
{pw,0},
{r,quorum},
{rw,quorum},
{small_vclock,10},
{w,quorum},
{young_vclock,20}]
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,117,84,71,100,
116,111,98,81,79,118,51,81,81,72,104,
71,53,103,56,110,51]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,995262}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{6,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,117,84,71,100,
116,111,98,81,79,118,51,81,81,72,104,
71,53,103,56,110,51]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,995262}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{6,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,117,84,71,100,
116,111,98,81,79,118,51,81,81,72,104,
71,53,103,56,110,51]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,995262}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{6,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,117,84,71,100,
116,111,98,81,79,118,51,81,81,72,104,
71,53,103,56,110,51]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,995262}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{6,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,117,84,71,100,
116,111,98,81,79,118,51,81,81,72,104,
71,53,103,56,110,51]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,995262}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{6,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,117,84,71,100,
116,111,98,81,79,118,51,81,81,72,104,
71,53,103,56,110,51]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,995262}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{6,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
putting with vclock
put
get
options [{r,all}]
notfound ok true, default, [{allow_mult,false},
{basic_quorum,false},
{big_vclock,50},
{chash_keyfun,{riak_core_util,chash_std_keyfun}},
{dw,quorum},
{last_write_wins,false},
{linkfun,
{modfun,riak_kv_wm_link_walker,
mapreduce_linkfun}},
{n_val,3},
{name,<<"b">>},
{notfound_ok,true},
{old_vclock,86400},
{postcommit,[]},
{pr,0},
{precommit,[]},
{pw,0},
{r,quorum},
{rw,quorum},
{small_vclock,10},
{w,quorum},
{young_vclock,20}]
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,114,109,114,48,
72,49,84,87,103,48,88,71,100,71,114,
115,75,101,48,117,78]],
[],[],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,998259}]],
[],[]}}},
<<131,98,0,14,182,59>>}],
[{<<3,102,145,54>>,{7,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,114,109,114,48,
72,49,84,87,103,48,88,71,100,71,114,
115,75,101,48,117,78]],
[],[],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,998259}]],
[],[]}}},
<<131,98,0,14,182,59>>}],
[{<<3,102,145,54>>,{7,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,114,109,114,48,
72,49,84,87,103,48,88,71,100,71,114,
115,75,101,48,117,78]],
[],[],
[[<<"X-Riak-Last-Modified">>|
{1305,648535,998259}]],
[],[]}}},
<<131,98,0,14,182,59>>}],
[{<<3,102,145,54>>,{7,63472867735}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
delete 964155
delete vclock!
get0
options [{r,all},{timeout,60000}]
options [deletedvclock,{r,all}]
notfound ok true, default, [{allow_mult,false},
{basic_quorum,false},
{big_vclock,50},
{chash_keyfun,{riak_core_util,chash_std_keyfun}},
{dw,quorum},
{last_write_wins,false},
{linkfun,
{modfun,riak_kv_wm_link_walker,
mapreduce_linkfun}},
{n_val,3},
{name,<<"b">>},
{notfound_ok,true},
{old_vclock,86400},
{postcommit,[]},
{pr,0},
{precommit,[]},
{pw,0},
{r,quorum},
{rw,quorum},
{small_vclock,10},
{w,quorum},
{young_vclock,20}]
notfound ok true, default, [{allow_mult,false},
{basic_quorum,false},
{big_vclock,50},
{chash_keyfun,{riak_core_util,chash_std_keyfun}},
{dw,quorum},
{last_write_wins,false},
{linkfun,
{modfun,riak_kv_wm_link_walker,
mapreduce_linkfun}},
{n_val,3},
{name,<<"b">>},
{notfound_ok,true},
{old_vclock,86400},
{postcommit,[]},
{pr,0},
{precommit,[]},
{pw,0},
{r,quorum},
{rw,quorum},
{small_vclock,10},
{w,quorum},
{young_vclock,20}]
Got {error,notfound}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,52,104,111,81,104,
77,98,117,118,111,82,85,111,90,82,87,
76,108,53,49,55,66]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648536,188}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{8,63472867736}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {error,notfound}
Got {error,notfound}
Got {error,notfound}
Got {error,notfound}
NOT putting with vclock
put
got [662242929415565384811044689824565743281594433536,
685078892498860742907977265335757665463718379520] tombstone, doing RR
read repair!
get
options [{r,all}]
notfound ok true, default, [{allow_mult,false},
{basic_quorum,false},
{big_vclock,50},
{chash_keyfun,{riak_core_util,chash_std_keyfun}},
{dw,quorum},
{last_write_wins,false},
{linkfun,
{modfun,riak_kv_wm_link_walker,
mapreduce_linkfun}},
{n_val,3},
{name,<<"b">>},
{notfound_ok,true},
{old_vclock,86400},
{postcommit,[]},
{pr,0},
{precommit,[]},
{pw,0},
{r,quorum},
{rw,quorum},
{small_vclock,10},
{w,quorum},
{young_vclock,20}]
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,52,104,111,81,104,
77,98,117,118,111,82,85,111,90,82,87,
76,108,53,49,55,66]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648536,188}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{8,63472867736}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,52,104,111,81,104,
77,98,117,118,111,82,85,111,90,82,87,
76,108,53,49,55,66]],
[],
[[<<"X-Riak-Deleted">>,116,114,117,101]],
[[<<"X-Riak-Last-Modified">>|
{1305,648536,188}]],
[],[]}}},
<<>>}],
[{<<3,102,145,54>>,{8,63472867736}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
Got {ok,{r_object,<<"b">>,<<"k">>,
[{r_content,{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"X-Riak-VTag">>,53,74,83,101,79,120,
78,72,80,103,110,70,53,88,120,56,108,
122,106,109,101,108]],
[],[],
[[<<"X-Riak-Last-Modified">>|
{1305,648536,2725}]],
[],[]}}},
<<131,98,0,14,182,58>>}],
[{<<3,102,145,54>>,{1,63472867736}}],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}}},
undefined}}
got [639406966332270026714112114313373821099470487552] tombstone, doing RR
read repair!
** exception error: no match of right hand side value {error,notfound}
in function delete_bug:loop/2
in call from delete_bug:start/1
([email protected])2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment