Skip to content

Commit

Permalink
Revert "Upgrade Elasticsearch client to 8.x (#1669)"
Browse files Browse the repository at this point in the history
This reverts commit bc4625c.
  • Loading branch information
pquentin authored Mar 4, 2023
1 parent bc4625c commit d7da730
Show file tree
Hide file tree
Showing 28 changed files with 849 additions and 1,570 deletions.
29 changes: 17 additions & 12 deletions docs/command_line_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -765,31 +765,34 @@ Define a JSON file containing a list of objects with the following properties:

* ``path``: A path or path pattern that should be matched. Only leading and trailing wildcards (``*``) are supported. A path containing only a wildcard acts matches any path.
* ``body``: The respective response body.
* ``body-encoding``: Either ``raw`` or ``json``. Use ``json`` by default and ``raw`` for the operation-type ``bulk`` and ``search``.

Here we define the necessary responses for a track that bulk-indexes data::

[
{
"path": "/_cluster/settings",
"body": {
"transient": {
"action.destructive_requires_name": "true"
}
}
},
{
"path": "*/_bulk",
"body": {
"errors": false,
"took": 1
}
},
"body-encoding": "raw"
},
{
"path": "/_cluster/health*",
"body": {
"status": "green",
"relocating_shards": 0
}
},
"body-encoding": "json"
},
{
"path": "/_cluster/settings",
"body": {
"persistent": {},
"transient": {}
},
"body-encoding": "json"
},
{
"path": "/_all/_stats/_all",
Expand All @@ -801,11 +804,13 @@ Here we define the necessary responses for a track that bulk-indexes data::
}
}
}
}
},
"body-encoding": "json"
},
{
"path": "*",
"body": {}
"body": {},
"body-encoding": "json"
}
]

Expand Down
4 changes: 0 additions & 4 deletions docs/migrate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ Migration Guide
Migrating to Rally 2.7.1
------------------------

Elasticsearch client logs are now captured by the `elastic_transport <https://github.com/elastic/elastic-transport-python/>`_ logger
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rally migrated to the 8.x version of the ``elasticsearch-py`` library which uses a new logger named ``elastic_transport``. Rally will automatically configure this logger to only emit logs of level ``WARNING`` and above, even if a past Rally version configured logging using the ``~./rally/logging.json`` file without that logger.

Snapshot repository plugins are no longer built from source
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
Loading

0 comments on commit d7da730

Please sign in to comment.