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
RemoteVersion : [{couchdb2@boorad,1249281582.056632}] | |
RemoteNode : couchdb2@boorad | |
RemoteServerList: [{'000000',<10620.108.0>}] | |
LocalVersion : [{couchdb1@boorad,1249281574.709842}, | |
{couchdb2@boorad,1249275548.79321}] | |
LocalNode : couchdb1@boorad | |
LocalServerList : [{'000000',<0.2365.0>}, | |
{'200000',<0.2368.0>}, | |
{'400000',<0.2371.0>}, | |
{'800000',<0.2374.0>}, |
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
handle_call-load | |
Partitions : [{couchdb1@boorad,0}, | |
{couchdb1@boorad,182687704666362864775460604089535377456991567872}, | |
{couchdb1@boorad,365375409332725729550921208179070754913983135744}, | |
{couchdb1@boorad,548063113999088594326381812268606132370974703616}, | |
{couchdb2@boorad,730750818665451459101842416358141509827966271488}, | |
{couchdb2@boorad,913438523331814323877303020447676887284957839360}, | |
{couchdb2@boorad,1096126227998177188652763624537212264741949407232}, | |
{couchdb2@boorad,1278813932664540053428224228626747642198940975104}] | |
PartsForNode : [0,182687704666362864775460604089535377456991567872, |
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
/Users/brad/dev/erlang/dbcore/src/dynomite/src/storage_manager.erl:104: | |
handle_call-load | |
Partitions : [{couchdb1@boorad,0}, | |
{couchdb1@boorad,182687704666362864775460604089535377456991567872}, | |
{couchdb1@boorad,365375409332725729550921208179070754913983135744}, | |
{couchdb1@boorad,548063113999088594326381812268606132370974703616}, | |
{couchdb2@boorad,730750818665451459101842416358141509827966271488}, | |
{couchdb2@boorad,913438523331814323877303020447676887284957839360}, | |
{couchdb2@boorad,1096126227998177188652763624537212264741949407232}, |
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
%%% -*- erlang-indent-level:2 -*- | |
%%%------------------------------------------------------------------- | |
%%% File: membership2.erl | |
%%% @author Cliff Moon <[email protected]> [] | |
%%% @copyright 2009 Cliff Moon | |
%%% @doc | |
%%% | |
%%% @end | |
%%% | |
%%% @since 2009-05-04 by Cliff Moon |
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
%%% -*- erlang-indent-level:2 -*- | |
%%%------------------------------------------------------------------- | |
%%% File: storage_manager.erl | |
%%% @author Cliff Moon <> [] | |
%%% @copyright 2009 Cliff Moon | |
%%% @doc | |
%%% | |
%%% @end | |
%%% | |
%%% @since 2009-02-07 by Cliff Moon |
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
=INFO REPORT==== 20-Jul-2009::20:31:28 === | |
Loading storage servers. | |
/Users/brad/dev/erlang/dbcore/src/dynomite/src/storage_manager.erl:104: | |
handle_call-load | |
Partitions : [{couchdb1@boorad,0}, | |
{couchdb1@boorad,182687704666362864775460604089535377456991567872}, | |
{couchdb1@boorad,365375409332725729550921208179070754913983135744}, | |
{couchdb1@boorad,548063113999088594326381812268606132370974703616}, | |
{couchdb1@boorad,730750818665451459101842416358141509827966271488}, | |
{couchdb1@boorad,913438523331814323877303020447676887284957839360}, |
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
%%% -*- erlang-indent-level:2 -*- | |
%%%------------------------------------------------------------------- | |
%%% File: membership2.erl | |
%%% @author Cliff Moon <[email protected]> [] | |
%%% @copyright 2009 Cliff Moon | |
%%% @doc | |
%%% | |
%%% @end | |
%%% | |
%%% @since 2009-05-04 by Cliff Moon |
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
brad@boorad:~/dev/erlang/dynomite$ rake | |
(in /Users/brad/dev/erlang/dynomite) | |
/Users/brad/dev/erlang/dynomite/rakefile:7: warning: already initialized constant VERSION | |
cd deps/mochiweb && make | |
(cd src;make) | |
erlc -W -I ../include +debug_info -o ../ebin json.erl | |
erlc -W -I ../include +debug_info -o ../ebin mochifmt.erl | |
erlc -W -I ../include +debug_info -o ../ebin mochifmt_records.erl | |
erlc -W -I ../include +debug_info -o ../ebin mochifmt_std.erl | |
erlc -W -I ../include +debug_info -o ../ebin mochihex.erl |
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
handle_call({insert, Value}, _From, State) -> | |
NextNode = node_manager:next_node(?METHOD), | |
NextDb = gen_server:call(NextNode, {next_db, ?METHOD}), | |
Reply = gen_server:call(NextDb, {insert, null, Value}), |
NewerOlder