Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Zero out shard caches on upgrade
The mix of #shard and #ordered_shard records breaks ushards.  Different
nodes can start returning different results.
  • Loading branch information
kocolosk authored and rnewson committed Jul 23, 2014
1 parent d2171e9 commit 5aa38c6f15eb08b98b53c00e398b2f486a825cd6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -193,7 +193,7 @@ terminate(_Reason, #st{changes_pid=Pid}) ->

code_change(_OldVsn, St, _Extra) ->
{ok, St}.
{ok, cache_clear(St)}.

%% internal functions

0 comments on commit 5aa38c6

Please sign in to comment.