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

could not set error in pykt/rpc.c around line 1213 (rpc_call_set_bulk) #3

Open
beschulz opened this issue Nov 11, 2012 · 0 comments
Open

Comments

@beschulz
Copy link

Hello,

I am trying to populate my database via set_bulk. each bulk contains 1000 entries the keys are around 10 bytes and the values about 3k. After the first attempts, I get an exception (could not set error ) that appears to be generated around line 1213 in rpc.c. After I got this exception 10 times or so, I got a segmentation fault.

After I increased the timeout to 30 Seconds, the problem occurred less often, but it still occurred.

I'd guess, that somehow the timeouts are not handled correctly in rpc_call_set_bulk, I'd expect an TimeOutException or something similar to get thrown. It also makes me a little nervous, that I got a seg fault.

Despite that, great package, it really IS fast.

best Regards
-- Benjamin

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

1 participant