Skip to content

Not handling growing concurrency past init_count very well #25

@MaxPower15

Description

@MaxPower15

Hi there, I'm using Riak in a system that potentially requires high concurrency and have run into an exception that's hard to handle. It looks like this:

21:03:45.777 [error] Process #PID<0.192.0> raised an exception
** (FunctionClauseError) no function clause matching in Riak.find/4
    (riak) lib/riak.ex:301: Riak.find(:error_no_members, :error_no_members, "abc", "def")
    (riak) lib/riak.ex:301: Riak.find/3
    (riak) lib/riak.ex:282: Riak.find/2

I set up a test repo with instructions to demonstrate: https://github.com/MaxPower15/riak_pooler_issue

I poked around myself with pooler, hoping to maybe get a PR fix, but I don't think I'm familiar enough with the underlying code to really do it correctly. I hope this demo helps though!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions