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

Elasticsearch Input changes #6004

Merged
merged 5 commits into from
Jun 25, 2019
Merged

Commits on Jun 18, 2019

  1. Elasticsearch: save master for each server (Closes: influxdata#2650)

    Like described in influxdata#2650, the current implementation of isMaster was incorrect.
    As calls were done concurrently, the isMaster value was prone to a race condition.
    Also when multiple elasticsearch clusters were specified, this was broken.
    
    To fix this, a map was added which contains the nodeID and masterID.
    So for each node we know which one is master (if nodeID == masterID).
    
    Test data taken from existing pull request.
    Jean-Louis Dupond committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    222de4f View commit details
    Browse the repository at this point in the history
  2. Elasticsearch: add number_of_in_flight_fetch to cluster health

    The metric number_of_in_flight_fetch was not used in the cluster health.
    Add it and sort the fields like they are printed by ElasticSearch.
    
    Closes: influxdata#2779
    Jean-Louis Dupond committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    dbe04bd View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. Elasticsearch: changes like requested

    Jean-Louis Dupond committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    51cc30b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cb5dbe View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Add Waitgroup

    Jean-Louis Dupond committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    f962d3a View commit details
    Browse the repository at this point in the history