Operation of the shards:info/2 does not match
voluntas opened this issue · comments
V commented
Thank you for a nice library.
This is to report that the shards:info/2 is different from the ets:info/2 behavior.
> shards:info(mytab, name).
** exception error: bad argument
in function ets:lookup_element/3
called as ets:lookup_element(mytab,'$shards_state',2)
...
> ets:info(mytab, name).
undefined
Carlos Andres Bolaños R.A. commented
@voluntas thanks for the report, I'll take a look at it!!
Carlos Andres Bolaños R.A. commented
Fixed, checkout the master branch. Let me know if everything is ok now.
Note: This is the commit: e78edc4.
V commented
Now it works as expected. Thank you!