This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- deps/erlang_js/c_src/spidermonkey.c.orig Wed Jan 5 02:14:56 2011 | |
+++ deps/erlang_js/c_src/spidermonkey.c Wed Apr 13 15:03:49 2011 | |
@@ -49,6 +49,7 @@ | |
} | |
inline void end_request(spidermonkey_vm *vm) { | |
+ JS_TriggerOperationCallback(vm->context); | |
JS_EndRequest(vm->context); | |
JS_ClearContextThread(vm->context); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objstate tombstone | |
triggering read repair! [{685078892498860742907977265335757665463718379520, | |
{ok, | |
{r_object,<<"b">>,<<"k">>, | |
[{r_content, | |
{dict,3,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[]}, | |
{{[],[],[],[],[],[],[],[],[],[], | |
[[<<"X-Riak-VTag">>,49,79,99,71,112,56,69, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% ------------------------------------------------------------------- | |
%% | |
%% riak_fail_backend: a fake storage engine for emulating failures. | |
%% | |
%% Copyright (c) 2007-2010 Basho Technologies, Inc. All Rights Reserved. | |
%% | |
%% This file is provided to you under the Apache License, | |
%% Version 2.0 (the "License"); you may not use this file | |
%% except in compliance with the License. You may obtain | |
%% a copy of the License at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...............................................Failed! After 48 tests. | |
{one,missing, | |
[{deletedvclock,true}], | |
[{ancestor, | |
{r_object,<<"#k">>,<<"t~">>, | |
[{r_content, | |
{dict,2,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}, | |
{{[],[],[],[],[],[],[],[],[],[],[],[], | |
[[<<"X-Riak-Deleted">>|true]], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
putting with vclock | |
put | |
get | |
resul from vnode {ok,{r_object,<<"b">>,<<"k">>, | |
[{r_content, | |
{dict,2,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[],[]}, | |
{{[],[],[],[],[],[],[],[],[],[], | |
[[<<"X-Riak-VTag">>,54,70,90,118,87,115, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{r_object,<<"b">>,<<"k">>, | |
[{r_content,{dict,3,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}, | |
{{[],[],[],[],[],[],[],[],[],[], | |
[[<<"X-Riak-VTag">>,53,102,53,121,110,97,51,79, | |
99,74,51,108,97,105,49,101,89,52,103,99,48, | |
117]], | |
[], | |
[[<<"X-Riak-Deleted">>,116,114,117,101]], | |
[[<<"X-Riak-Last-Modified">>| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(delete_bug). | |
-compile([export_all]). | |
start(N) -> | |
{ok, C} = riak:local_client(), | |
C:set_bucket(<<"b">>, [{allow_mult, false}]), | |
loop(N, C). | |
start_pbc(N) -> | |
{ok, RC} = riakc_pb_socket:start_link("127.0.0.1", 8087), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command <- tag space (command_any / command_nonauth / command_auth / command_select) CRLF; | |
command_any <- ("CAPABILITY" / "LOGOUT" / "NOOP"); | |
command_nonauth <- (login / authenticate / "STARTTLS"); | |
login <- "LOGIN" space username space password; | |
username <- astring; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VClock compare [{<<3,87,182,27>>,{1,1304630629955233}}, | |
{<<4,157,0,61>>,{1,1304630629958025}}] | |
[{<<3,87,182,27>>,{1,1304630629960059}}] | |
[{<<3,87,182,27>>,{1,1304630629955233}}, | |
{<<4,157,0,61>>,{1,1304630629958025}}] |