Skip to content

log about support for create_unless_exists in http protocol #108

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

Merged
merged 1 commit into from
Apr 15, 2015

Conversation

talevy
Copy link
Contributor

@talevy talevy commented Apr 15, 2015

Closes #78.

@@ -98,12 +98,17 @@ def self.normalize_bulk_response(bulk_response)

def bulk(actions)
bulk_response = @client.bulk(:body => actions.collect do |action, args, source|
if action == "create_unless_exists"
Copy link
Contributor

Choose a reason for hiding this comment

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

can we catch this at startup time/config read time and bail out?

@suyograo
Copy link
Contributor

LGTM

talevy added a commit that referenced this pull request Apr 15, 2015
log about support for create_unless_exists in http protocol
@talevy talevy merged commit 4d459e2 into logstash-plugins:master Apr 15, 2015
@talevy talevy deleted the fix/78 branch April 15, 2015 00:33
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.

Using create_unless_exists triggers an infinite loop
2 participants