Code Monkey home page Code Monkey logo

Comments (5)

picandocodigo avatar picandocodigo commented on July 17, 2024 1

The team is going to look into this.

from elasticsearch-ruby.

dbackeus avatar dbackeus commented on July 17, 2024

Another datapoint - on our CI we don't get this header at all on a linux build of version 7.8.1:
Screenshot 2022-04-19 at 14 22 21

from elasticsearch-ruby.

dbackeus avatar dbackeus commented on July 17, 2024

Out of curiosity I tried the latest 7.17.2 linux build which does include the header but again with capitalized X:
Screenshot 2022-04-19 at 14 29 13

from elasticsearch-ruby.

picandocodigo avatar picandocodigo commented on July 17, 2024

Hi @dbackeus,
Thanks for reporting this. It looks like you're trying to use an 8.x release of the client with Elasticsearch 7.17.2. As we mention in Compatibility, clients are forward compatible. So for your case I'd suggest using version 7.17 of the client, since it will fail the validation otherwise.

The header was introduced in a newer version of 7.x (7.14 if I recall correctly), it was not present in 7.8.1.

from elasticsearch-ruby.

dbackeus avatar dbackeus commented on July 17, 2024

I see.

If so, perhaps it would make more sense for this validator to just compare the version variable extracted from the server response with the gem version and raise a humanly readable error when the Elasticsearch server version is lower than the gem version?

from elasticsearch-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.