derekkraan / horde

Horde is a distributed Supervisor and Registry backed by DeltaCrdt
MIT License
1.32k stars 106 forks source link

ETS lookup crash in Registry.lookup #228

Open aloukissas opened 3 years ago

aloukissas commented 3 years ago

Saw this randomly during load testing against a GenServer that I run with Horde Registry:

[whatnot_live@192.168.107.191] 03:44:19.572 [error] GenServer #PID<0.9173.2> terminating
** (ArgumentError) argument error
    (stdlib 3.14) :ets.lookup(:"keys_Elixir.WhatnotLive.Registry.AuctionSession", "e982bb98-5d63-4bcf-9e20-030a07d8db73")
    (horde 0.8.3) lib/horde/registry.ex:251: Horde.Registry.lookup/2

Note that this was almost a one-off crash, not very reproducible.