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

update erlang-client to have sync-create put timeout #207

Merged
merged 2 commits into from
Mar 18, 2015

Conversation

zeeshanlakhani
Copy link
Contributor

Related to RIAK-1547 (#402)... in order for the erlang-client to allow for a user-given timeout (or default) for synchronously creating a search index. Relies on basho/riak_pb#112.

@zeeshanlakhani zeeshanlakhani force-pushed the feature/zl/timeout-for-search-index-create branch from 9517ac8 to 9284f7c Compare March 17, 2015 21:04
@bearcage
Copy link

Needs a rebar.config tweak to use the 2.1.0.1 tag of riak_pb

@bearcage
Copy link

+1 bfc5623

@bearcage
Copy link

Passes locally, see #204 (comment)

borshop added a commit that referenced this pull request Mar 17, 2015
…x-create

update erlang-client to have sync-create put timeout

Reviewed-by: aberghage
@zeeshanlakhani zeeshanlakhani force-pushed the feature/zl/timeout-for-search-index-create branch from bfc5623 to fbb7e26 Compare March 18, 2015 16:04
n_val = NVal}
},
call_infinity(Pid, {req, Req, Timeout}).
Req = set_search_req_nval(NVal, Index, SchemaName),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is kind of badly named... you're not sending a search request, you're sending an "index creation" request.

* better naming of timeout/nval fns
@zeeshanlakhani zeeshanlakhani force-pushed the feature/zl/timeout-for-search-index-create branch from fbb7e26 to fd20f92 Compare March 18, 2015 16:33
@seancribbs
Copy link
Contributor

Naming is much improved!

@zeeshanlakhani
Copy link
Contributor Author

Merging manually as per #204 (comment).

zeeshanlakhani added a commit that referenced this pull request Mar 18, 2015
…x-create

update erlang-client to have sync-create put timeout
@zeeshanlakhani zeeshanlakhani merged commit d78e47e into master Mar 18, 2015
@zeeshanlakhani zeeshanlakhani deleted the feature/zl/timeout-for-search-index-create branch March 18, 2015 17:25
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

Successfully merging this pull request may close these issues.

3 participants