OpenSearch/dev-tools
Michael McCandless 399f0ccce9 Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded
This option defaults to false, because it is also important to upgrade
the "merely old" segments since many Lucene improvements happen within
minor releases.

But you can pass true to do the minimal work necessary to upgrade to
the next major Elasticsearch release.

The HTTP GET upgrade request now also breaks out how many bytes of
ancient segments need upgrading.

Closes #10213

Closes #10540

Conflicts:
	dev-tools/create_bwc_index.py
	rest-api-spec/api/indices.upgrade.json
	src/main/java/org/elasticsearch/action/admin/indices/optimize/OptimizeRequest.java
	src/main/java/org/elasticsearch/action/admin/indices/optimize/ShardOptimizeRequest.java
	src/main/java/org/elasticsearch/action/admin/indices/optimize/TransportOptimizeAction.java
	src/main/java/org/elasticsearch/index/engine/InternalEngine.java
	src/test/java/org/elasticsearch/bwcompat/StaticIndexBackwardCompatibilityTest.java
	src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java
	src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeReallyOldIndexTest.java
2015-04-16 05:24:33 -04:00
..
forbidden Add license header to signature files 2015-03-16 14:19:08 -07:00
pmd Added static analysis profile to pom.xml 2014-03-13 12:23:07 -07:00
ElasticSearch.launch [EXEC] Remove reduced stack size 2015-01-06 17:35:45 +01:00
build_randomization.rb [BUILD] Randomly enable AggressiveOpts in builds 2014-09-09 21:58:37 +02:00
build_release.py Scripting: add support for fine-grained settings 2015-03-26 19:56:55 +01:00
client_tests_urls.prop [BUILD] Switch 1x to JDK7 download 2014-03-31 19:28:27 -07:00
create_bwc_index.py Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded 2015-04-16 05:24:33 -04:00
create_bwc_index_with_some_ancient_segments.py Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded 2015-04-16 05:24:33 -04:00
download-s3.py [TOOLS] Added simple S3 Download tool based on boto 2014-06-02 13:35:21 +02:00
elasticsearch_license_header.txt Added licene-maven-plugin to build 2014-01-10 22:04:48 +01:00
es_release_notes.pl Changed the release notes script to use the category labels instead of title prefix 2015-03-19 16:52:47 +01:00
extract_party_license.rb typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 18:55:57 +01:00
get-bwc-version.py Tests: improve back compat tests by adding delete-by-query in the transaction log on upgrade 2015-03-26 10:12:22 -04:00
license_header_definition.xml Build: Changed license header definition file xml encoding to UTF-8 2014-08-18 10:55:32 +02:00
tests.policy Tests: Forbid tests from writing to CWD 2015-04-15 12:45:20 -07:00
upgrade-tests.py [TEST] remove needless script settings from upgrade tests script 2015-03-26 19:56:55 +01:00
upload-s3.py Fix ASL Header in source files to reflect s/ElasticSearch/Elasticsearch 2014-01-07 11:22:01 +01:00