Skip to content

Instantly share code, notes, and snippets.

@uwiger
Created July 2, 2015 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uwiger/48673e05af3085cbc863 to your computer and use it in GitHub Desktop.
Save uwiger/48673e05af3085cbc863 to your computer and use it in GitHub Desktop.
%% -*- erlang -*-
0 - locks_master@uwair|locks_ttb/9: netsplit_ready
0 - locks_1@uwair|locks_agent/499: {lock,
[locks_leader,[locks_leader_tests,74]],
write,
[locks_1@uwair,locks_2@uwair],
all_alive,nowait,<7096.79.0>,nowait}
#state{locks = 40981,agents = 45078,interesting = [],
claim_no = 0,requests = 49175,down = [],monitored = [],
await_nodes = true,pending = 53272,sync = [],
client = <7096.79.0>,client_mref = #Ref<7096.0.0.187>,
options = [{client,<7096.79.0>},
{notify,true},
{await_nodes,true}],
notify = [{<7096.79.0>,events}],
answer = locking,deadlocks = [],have_all = false,
status = no_locks}
Nodes = [{"7096",locks_1@uwair}]
0 - locks_1@uwair|locks_agent/503: {no_matching_request,
[locks_leader,[locks_leader_tests,74]]}
0 - locks_1@uwair|locks_agent/1008: {locks_diagnostics,
[{pending,
[{[locks_leader,[locks_leader_tests,74]],
write,
[locks_1@uwair,locks_2@uwair],
all_alive}]},
{locks,[]}]}
0 - locks_1@uwair|locks_agent/1011: {all_locks_status,waiting}
0 - locks_1@uwair|locks_agent/757: {status_change,no_locks,waiting}
0 - locks_1@uwair|locks_leader/517: {locks_agent,<7096.81.0>,waiting}
#st{role = candidate,initial = true,
lock = [locks_leader,[locks_leader_tests,74]],
agent = <7096.81.0>,leader = undefined,
nodes = [locks_1@uwair,locks_2@uwair],
candidates = [],workers = [],synced = [],
synced_workers = [],gen_server_opts = [],
regname = undefined,mod = test_cb,
mod_state = {st,false,
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[]}}}},
buffered = []}
Nodes = [{"7096",locks_1@uwair}]
0 - locks_1@uwair|locks_leader/524: waiting
#st{role = candidate,initial = true,
lock = [locks_leader,[locks_leader_tests,74]],
agent = <7096.81.0>,leader = undefined,
nodes = [locks_1@uwair,locks_2@uwair],
candidates = [],workers = [],synced = [],
synced_workers = [],gen_server_opts = [],
regname = undefined,mod = test_cb,
mod_state = {st,false,
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[]}}}},
buffered = []}
Nodes = [{"7096",locks_1@uwair}]
0 - locks_1@uwair|locks_agent/649: {handle_info,
#locks_info{
lock =
#lock{
object =
[locks_leader,[locks_leader_tests,74]],
version = 1,pid = <7096.50.0>,
queue =
[#w{
entries =
[#entry{
agent = <7096.81.0>,
client = <7096.79.0>,version = 1,
type = direct}]}],
watchers = []},
where = locks_1@uwair,note = []}}
#state{locks = 40981,agents = 45078,interesting = [],
claim_no = 0,requests = 49175,down = [],
monitored = [{locks_2@uwair,#Ref<7096.0.0.189>}],
await_nodes = true,pending = 53272,sync = [],
client = <7096.79.0>,client_mref = #Ref<7096.0.0.187>,
options = [{client,<7096.79.0>},
{notify,true},
{await_nodes,true}],
notify = [{<7096.79.0>,events}],
answer = locking,deadlocks = [],have_all = false,
status = waiting}
Nodes = [{"7096",locks_1@uwair}]
0 - locks_1@uwair|locks_agent/1121: [{served,[]},
{pending_oids,
[[locks_leader,
[locks_leader_tests,74]]]}]
0 - locks_1@uwair|locks_agent/1008: {locks_diagnostics,
[{pending,
[{[locks_leader,[locks_leader_tests,74]],
write,
[locks_1@uwair,locks_2@uwair],
all_alive}]},
{locks,
[{{[locks_leader,
[locks_leader_tests,74]],
locks_1@uwair},
<7096.81.0>}]}]}
Nodes = [{"7096",locks_1@uwair}]
0 - locks_1@uwair|locks_agent/1011: {all_locks_status,waiting}
0 - locks_1@uwair|locks_agent/1326: {connect,#Fun<locks_agent.12.100565547>}
0 - locks_1@uwair|locks_agent/754: no_status_change
0 - locks_1@uwair|locks_leader/517: {locks_agent,<7096.81.0>,
#locks_info{
lock =
#lock{
object =
[locks_leader,[locks_leader_tests,74]],
version = 1,pid = <7096.50.0>,
queue =
[#w{
entries =
[#entry{
agent = <7096.81.0>,
client = <7096.79.0>,version = 1,
type = direct}]}],
watchers = []},
where = locks_1@uwair,note = []}}
#st{role = candidate,initial = true,
lock = [locks_leader,[locks_leader_tests,74]],
agent = <7096.81.0>,leader = undefined,
nodes = [locks_1@uwair,locks_2@uwair],
candidates = [],workers = [],synced = [],
synced_workers = [],gen_server_opts = [],
regname = undefined,mod = test_cb,
mod_state = {st,false,
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[]}}}},
buffered = []}
Nodes = [{"7096",locks_1@uwair}]
0 - locks_1@uwair|locks_agent/649: {handle_info,
#locks_info{
lock =
#lock{
object =
[locks_leader,[locks_leader_tests,74]],
version = 1,pid = <7105.50.0>,
queue =
[#w{
entries =
[#entry{
agent = <7096.81.0>,
client = <7096.79.0>,version = 1,
type = direct}]}],
watchers = []},
where = locks_2@uwair,note = []}}
#state{locks = 40981,agents = 45078,interesting = [],
claim_no = 0,requests = 49175,down = [],
monitored = [{locks_2@uwair,#Ref<7096.0.0.189>}],
await_nodes = true,pending = 53272,sync = [],
client = <7096.79.0>,client_mref = #Ref<7096.0.0.187>,
options = [{client,<7096.79.0>},
{notify,true},
{await_nodes,true}],
notify = [{<7096.79.0>,events}],
answer = locking,deadlocks = [],have_all = false,
status = waiting}
Nodes = [{"7096",locks_1@uwair},{"7105",locks_2@uwair}]
0 - locks_1@uwair|locks_agent/1121: [{served,
[#req{
object =
[locks_leader,[locks_leader_tests,74]],
mode = write,
nodes = [locks_1@uwair,locks_2@uwair],
claim_no = 0,require = all_alive}]},
{pending_oids,[]}]
0 - locks_2@uwair|locks_agent/499: {lock,
[locks_leader,[locks_leader_tests,74]],
write,
[locks_2@uwair,locks_1@uwair],
all_alive,nowait,<7105.89.0>,nowait}
#state{locks = 40979,agents = 45076,interesting = [],
claim_no = 0,requests = 49173,down = [],monitored = [],
await_nodes = true,pending = 53270,sync = [],
client = <7105.89.0>,client_mref = #Ref<7105.0.0.153>,
options = [{client,<7105.89.0>},
{notify,true},
{await_nodes,true}],
notify = [{<7105.89.0>,events}],
answer = locking,deadlocks = [],have_all = false,
status = no_locks}
Nodes = [{"7105",locks_2@uwair}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment