- Starting: https://github.com/basho/riak_kv/blob/1.4.2/src/riak_kv_wm_object.erl#L619
- We create a new
riak_object
and populate the various fields with the headers, metadata supplied by the client. - Big suprise, we eventually call
riak_client:put
: https://github.com/basho/riak_kv/blob/1.4.2/src/riak_client.erl#L143 - If/when the client returns any errors these are handled in
handle_common_errors
and it is nice to return human readable errors to client :)
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
REBAR3_URL=https://s3.amazonaws.com/rebar3/rebar3 | |
# If there is a rebar in the current directory, use it | |
ifeq ($(wildcard rebar3),rebar3) | |
REBAR3 = $(CURDIR)/rebar3 | |
endif | |
# Fallback to rebar on PATH | |
REBAR3 ?= $(shell test -e `which rebar3` 2>/dev/null && which rebar3 || echo "./rebar3") |
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
#!/usr/bin/python | |
# connect2beam is a script that finds Erlang nodes and connects to them or | |
# kills them. | |
# | |
# Example for connection: | |
# | |
# $ connect2beam | |
# Available nodes: index name (cookie, pid) | |
# |
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
%% ------------------------------------------------------------------- | |
%% | |
%% pb_status_monitor: PoolBoy pool monitor | |
%% | |
%% Copyright (c) 2013 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 |