[erlang-questions] how does a DistEntry get its `creation' value?

Sverker Eriksson sverker.eriksson@REDACTED
Wed Apr 15 12:03:06 CEST 2015

On 04/15/2015 03:58 AM, Leo Liu wrote:
> On 2015-04-10 12:52 +0800, Leo Liu wrote:
>> I am looking at function erts_find_or_insert_dist_entry in
>> erl_node_tables.c and there is no `creation' at insertion time. Any idea
>> how a DistEntry gets its `creation' value?
>> I also checked the distribution protocol and it seems a node can get its
>> own creation when publish to epmd. So when node A connects to node B, it
>> doesn't have node B's `creation'. How does the DistEntry for node B have
>> a correct creation value? Thanks.
> Any pointers? Thanks.
I did a quick search in the code before, and I could not find any place
where DistrEntry.creation for other nodes was actually used.


More information about the erlang-questions mailing list