Skip to content

Commit 468d9f9

Browse files
author
Loïc Hoguin
committed
Remove very old comment referring to a dedup cache
The cache used to help keep binary references around for fan-out cases, was introduced in 2009 and removed in 2011. It's no longer relevant...
1 parent c031f04 commit 468d9f9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

deps/rabbit/src/rabbit_msg_store.erl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -242,17 +242,6 @@
242242
%% function must be provided with a generator that produces ref count
243243
%% deltas for all recovered messages. This is only used on startup
244244
%% when the shutdown was non-clean.
245-
%%
246-
247-
%% @todo Heh? Is that something real? Double check if that actually exists/existed and whether it matters.
248-
%% Read messages with a reference count greater than one are entered
249-
%% into a message cache. The purpose of the cache is not especially
250-
%% performance, though it can help there too, but prevention of memory
251-
%% explosion. It ensures that as messages with a high reference count
252-
%% are read from several processes they are read back as the same
253-
%% binary object rather than multiples of identical binary
254-
%% objects.
255-
256245
%%
257246
%% Reads are always performed directly by clients without calling the
258247
%% server. This is safe because multiple file handles can be used to

0 commit comments

Comments
 (0)