Navigation Menu

Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Fix bug starting write processes for failed write process.
Browse files Browse the repository at this point in the history
(Was starting wrong kind of process).
  • Loading branch information
archaelus committed Mar 7, 2012
1 parent 2296db8 commit f0e03a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logplex_shard.erl
Expand Up @@ -223,7 +223,7 @@ handle_child_death(Pid) ->
?INFO("at=read_pool_restart oldpid=~p newpid=~p",
[Pid, NewPid]);
{logplex_redis_buffer_map, {{Shard, {Url, Pid}}, Map, V}} ->
NewPid = add_pool(Url),
NewPid = add_buffer(Url),
NewMap = dict:store(Shard, {Url, NewPid}, Map),
logplex_shard_info:save(logplex_redis_buffer_map, NewMap, V),
?INFO("at=write_pool_restart oldpid=~p newpid=~p",
Expand Down

0 comments on commit f0e03a9

Please sign in to comment.