Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation of the shards:info/2 does not match #8

Closed
voluntas opened this issue Apr 15, 2016 · 3 comments
Closed

Operation of the shards:info/2 does not match #8

voluntas opened this issue Apr 15, 2016 · 3 comments

Comments

@voluntas
Copy link

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
@cabol
Copy link
Owner

cabol commented Apr 15, 2016

@voluntas thanks for the report, I'll take a look at it!!

@cabol
Copy link
Owner

cabol commented Apr 17, 2016

Fixed, checkout the master branch. Let me know if everything is ok now.

Note: This is the commit: e78edc4.

@voluntas
Copy link
Author

Now it works as expected. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants