IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Elasticsearch version 6.3.0
editElasticsearch version 6.3.0
editKnown issues
editUpgrades from any 5.x version will fail for indexes which are prepared using the _synced flush API, or were automatically sync-flushed due to inactivity. If upgrading from those versions, please wait for 6.3.1 to be released.
Clusters with a Gold or Platinum license that are upgrading to 6.3 will need to explicitly set
xpack.security.enabled: true
in elasticsearch.yml
to upgrade successfully.
If this value is not set, the cluster will be unable to form after upgrade.
Also see 6.3.
Breaking changes
edit- Core
-
- Rename the bulk thread pool to write thread pool #29593
- Monitoring
-
-
By default when you install X-Pack, monitoring is enabled but data collection
is disabled. To enable data collection, use the new
xpack.monitoring.collection.enabled
setting. You can update this setting by using the Cluster Update Settings API. For more information, see Monitoring Settings.
-
By default when you install X-Pack, monitoring is enabled but data collection
is disabled. To enable data collection, use the new
- Packaging
-
- Create keystore on package install #28928
- Plugins
-
- Remove silent batch mode from install plugin #29359
- Security
-
-
The legacy
XPackExtension
extension mechanism has been removed and replaced with an SPI based extension mechanism that is installed and built as an elasticsearch plugin.
-
The legacy
Breaking Java changes
editDeprecations
editNew features
editEnhancements
edit- Aggregations
-
- Build global ordinals terms bucket from matching ordinals #30166 (issue: #30117)
- Reject query if top hits result window exceeds index max result window #29199 (issue: #29190)
- Optimize the composite aggregation for match_all and range queries #28745 (issue: #28688)
- Always return the after_key in composite aggregation response #28358
- Upgrade t-digest to 3.2 #28305 (issue: #28295)
- CRUD
- Core
-
- Implement Iterator#remove for Cache values iter #29633
- Introduce analyze thread pool #29541
- Add useful message when no input from terminal #29369 (issues: #29359, #29365)
- Improve exception handling on TransportMasterNodeAction #29314 (issue: #1)
- Add generic array support to AbstractObjectParser #28552
- Introduce secure security manager to project #28453
- XContent: Factor deprecation handling into callback #28449 (issue: #27955)
- Add settings to control size and count of warning headers in responses #28427 (issue: #28301)
-
Trim down usages of
ShardOperationFailedException
interface #28312 (issue: #27799) - Enforce that java.io.tmpdir exists on startup #28217
- Add Writeable.Reader support to TransportResponseHandler #28010 (issue: #26315)
- Discovery-Plugins
- Distributed
- Engine
-
- Never leave stale delete tombstones in version map #29619
- Avoid side-effect in VersionMap when assertion enabled #29585
- Enforce access to translog via engine #29542
- ElasticsearchMergePolicy should extend from MergePolicyWrapper #29476
- Track Lucene operations in engine explicitly #29357
- Allow _update and upsert to read from the transaction log #29264 (issue: #26802)
- Move trimming unsafe commits from the Engine constructor to Store #29260 (issue: #28245)
- Add primary term to translog header #29227
- Fold EngineDiskUtils into Store, for better lock semantics #29156 (issue: #28245)
- Do not renew sync-id if all shards are sealed #29103 (issue: #27838)
- Prune only gc deletes below the local checkpoint #28790
- Do not optimize append-only operation if normal operation with higher seq# was seen #28787
- Try if tombstone is eligable for pruning before locking on it’s key #28767
- Simplify Engine.Searcher creation #28728
- Revisit deletion policy after release the last snapshot #28627 (issue: #28140)
- Index shard should roll generation via the engine #28537
- Add lower bound for translog flush threshold #28382 (issues: #23779, #28350)
- Untangle Engine Constructor logic #28245
- Clean up commits when global checkpoint advanced #28140 (issue: #10708)
- Replicate writes only to fully initialized shards #28049
- Track deletes only in the tombstone map instead of maintaining as copy #27868
- Geo
- Highlighting
- Ingest
- Java High Level REST Client
-
- Remove flatSettings support from request classes #29560
- REST high-level client: add support for Indices Update Settings API [take 2] #29327 (issue: #27205)
- REST high-level client: add force merge API #28896 (issue: #27205)
- REST high-level client: add support for Indices Update Settings API #28892 (issue: #27205)
- REST high-level client: add clear cache API #28866 (issue: #27205)
- REST high-level client: add flush API #28852 (issue: #27205)
- REST high-level client: add support for Rollover Index API #28698 (issue: #27205)
- Add Cluster Put Settings API to the high level REST client #28633 (issue: #27205)
- REST high-level Client: add missing final modifiers #28572
- REST high-level client: add support for split and shrink index API #28425 (issue: #27205)
- Java high-level REST : minor code clean up #28409
- High level rest client : code clean up #28386
- REST high-level client: add support for exists alias #28332 (issue: #27205)
- Added Put Mapping API to high-level Rest client (#27205) #27869 (issue: #27205)
- Add Refresh API for RestHighLevelClient #27799 (issue: #27205)
- Add support for indices exists to REST high level client #27384
- License
- Logging
-
- Fix missing node id prefix in startup logs #29534
- Do not swallow fail to convert exceptions #29043 (issue: #19573)
- Add total hits to the search slow log #29034 (issue: #20648)
- Remove interning from prefix logger #29031 (issue: #16831)
- Log template creation and deletion #29027 (issue: #10795)
- Disallow logger methods with Object parameter #28969
- Mapping
- Machine Learning
- Packaging
- Plugins
-
- Ensure that azure stream has socket privileges (#28751) #28773 (issue: #28662)
- Plugins: Remove intermediate "elasticsearch" directory within plugin zips #28589
- Plugins: Store elasticsearch and java versions in PluginInfo #28556
- Plugins: Use one confirmation of all meta plugin permissions #28366
- Replace jvm-example by two plugin examples #28339
- Improve error message when installing an offline plugin #28298 (issue: #27401)
- REST API
-
-
REST : Split
RestUpgradeAction
into two actions #29124 (issue: #29062) - Change BroadcastResponse from ToXContentFragment to ToXContentObject #28878 (issues: #27799, #3889)
- Remove AcknowledgedRestListener in favour of RestToXContentListener #28724 (issue: #3889)
- Standardize underscore requirements in parameters #27040 (issue: #26886)
-
REST : Split
- Ranking
- Recovery
-
- Require translogUUID when reading global checkpoint #28587 (issue: #28435)
- Do not ignore shard not-available exceptions in replication #28571 (issues: #28049, #28534)
- Make primary-replica resync failures less lenient #28534 (issues: #24841, #28049, #28054)
- Synced-flush should not seal index of out of sync replicas #28464 (issue: #10032)
- Don’t refresh shard on activation #28013 (issue: #26055)
- Rollup
- Scripting
-
- Modify Painless grammar to support right brackets as statement delimiters #29566
- Search
-
- Improve explanation in rescore #30629 (issue: #28725)
- Add support to match_phrase query for zero_terms_query. #29598 (issue: #29344)
- Improve similarity integration. #29187 (issues: #23208, #29035)
- Store offsets in index prefix fields when stored in the parent field #29067 (issue: #28994)
- Add QueryBuilders.matchNoneQuery(), #28679 #28680
- Adds SpanGapQueryBuilder. Feature #27862 #28636 (issue: #27862)
- Provide a better error message for the case when all shards failed #28333
- Add ability to index prefixes on text fields #28290 (issue: #28222)
- Add index_prefix option to text fields #28222
- Settings
- Snapshot/Restore
- Stats
- Task Management
- Transport API
- Watcher
- ZenDiscovery
-
- Add support for skippable named writeables #30948
Bug fixes
edit- Aggregations
-
- Fix date and ip sources in the composite aggregation #29370
- Pass through script params in scripted metric agg #29154 (issue: #28819)
- Force depth_first mode execution for terms aggregation under a nested context #28421 (issue: #28394)
- StringTerms.Bucket.getKeyAsNumber detection type #28118 (issue: #28012)
- Allocation
- Audit
-
- Fix audit index template upgrade loop #30779
- Authentication
- Authorization
-
- Security: reduce garbage during index resolution #30180
- CRUD
-
- Bulk operation fail to replicate operations when a mapping update times out #30244
- Core
-
- Create default ES_TMPDIR on Windows #30325 (issues: #27609, #28217)
- Core: Pick inner most parse exception as root cause #30270 (issues: #29373, #30261)
- Fix the version ID for v5.6.10 (backport to 6.x). #29571
- Fix the version ID for v5.6.10. #29570
- Fix EsAbortPolicy to conform to API #29075 (issue: #19508)
- Remove special handling for _all in nodes info #28971 (issue: #28797)
- Handle throws on tasks submitted to thread pools #28667
- Fix size blocking queue to not lie about its weight #28557 (issue: #28547)
- Further minor bug fixes found by lgtm.com #27772
- Engine
-
- Add an escape hatch to increase the maximum amount of memory that IndexWriter gets. #31132 (issue: #31105)
- Avoid self-deadlock in the translog #29520 (issues: #29401, #29509)
- Close translog writer if exception on write channel #29401 (issue: #29390)
- Harden periodically check to avoid endless flush loop #29125 (issues: #1, #2, #28350, #29097, #3)
- Avoid class cast exception from index writer #28989
- Maybe die before failing engine #28973 (issues: #27265, #28967)
-
Never block on key in
LiveVersionMap#pruneTombstones
#28736 (issue: #28714) - Inc store reference before refresh #28656
- Replica recovery could go into an endless flushing loop #28350
- Geo
-
- Fix overflow error in parsing of long geohashes #29418 (issue: #24616)
- Fix bwc in GeoDistanceQuery serialization #29325 (issues: #22876, #29301)
- Allow using distance measure in the geo context precision #29273 (issue: #24807)
- Fix incorrect geohash for lat 90, lon 180 #29256 (issue: #22163)
- [GEO] Fix points_only indexing failure for GeoShapeFieldMapper #28774 (issues: #27415, #28744)
- Index APIs
- Ingest
-
- Don’t allow referencing the pattern bank name in the pattern bank #29295 (issue: #29257)
- Continue registering pipelines after one pipeline parse failure. #28752 (issue: #28269)
- Guard accessDeclaredMembers for Tika on JDK 10 #28603 (issue: #28602)
- Fix for bug that prevents pipelines to load that use stored scripts after a restart #28588
- Java High Level REST Client
- Java Low Level REST Client
-
- REST client: hosts marked dead for the first time should not be immediately retried #29230
- License
- Machine Learning
-
- By-fields should respect model_plot_config.terms #86 (issue: #30004)
- Function description for population lat_long results should be lat_long instead of mean #81 (issue: #80)
- Fix error causing us to overestimate effective history length #66 (issue: #57)
- Clearing JSON memory allocators #30 (issue: #26)
- Fix sparse data edge cases for periodicity testing #28 (issue: #20)
- Impose an absolute cutoff on the minimum variance #8 (issue: #488)
- Check accesses in bounds when clearing recycled models #79 (issue: #76)
- Set forecast progress to 100% and status finished in the case of insufficient history (data) #44
- Add control message to start background persistence #19
- Fail start up if state is missing #4
- Do not log incorrect model memory limit #3
- Fix background persistence - in 6.1 and 6.2 background persisted models were only visible after jobs were closed
-
Fix anomaly detection for buckets with fewer than two values when using the
varp
function -
Fix typical values and model plot bounds when using the
multivariate_by_fields
option - Fix typical values, forecast confidence intervals and model plot bounds for models with multiple modes
- Mapping
- Network
- Packaging
-
- Fix #29057 CWD to ES_HOME does not change drive #29086
- Allow overriding JVM options in Windows service #29044 (issue: #23484)
- CLI: Close subcommands in MultiCommand #28954
- Delay path expansion on Windows #28753 (issues: #27675, #28748)
- Fix using relative custom config path #28700 (issue: #27610)
- Disable console logging in the Windows service #28618 (issue: #20422)
- Percolator
-
- Fixed bug when non percolator docs end up in the search hits #29447 (issue: #29429)
- Fixed a msm accounting error that can occur during analyzing a percolator query #29415 (issue: #29393)
- Fix more query extraction bugs. #29388 (issues: #28353, #29376)
- Fix some query extraction bugs. #29283
- Fix percolator query analysis for function_score query #28854
- Improved percolator’s random candidate query duel test #28840
- Do not take duplicate query extractions into account for minimum_should_match attribute #28353 (issue: #28315)
- Plugins
-
- Template upgrades should happen in a system context #30621 (issue: #30603)
- Plugins: Fix native controller confirmation for non-meta plugin #29434
- Plugins: Fix module name conflict check for meta plugins #29146
- Ensure that azure stream has socket privileges #28751 (issue: #28662)
- Fix handling of mandatory meta plugins #28710 (issue: #28022)
- Fix the ability to remove old plugin #28540 (issue: #28538)
- REST API
-
- Respect accept header on no handler #30383 (issue: #30329)
- Protect against NPE in RestNodesAction #29059
-
REST api specs : remove unsupported
wait_for_merge
param #28959 (issue: #27158) -
Rest api specs : remove unsupported parameter
parent_node
#28841 - Rest api specs : remove a common param from nodes.usage.json #28835 (issue: #28226)
-
Missing
timeout
parameter from the REST API spec JSON files (#28200) #28328
- Ranking
-
- Fix NDCG for empty search results #29267
- Recovery
-
- Cancelling a peer recovery on the source can leak a primary permit #30318
- ReplicationTracker.markAllocationIdAsInSync may hang if allocation is cancelled #30316
- Do not log warn shard not-available exception in replication #30205 (issues: #28049, #28571)
- Fix outgoing NodeID #28779 (issue: #28777)
- Fsync directory after cleanup #28604 (issue: #28435)
- Security
- SQL
-
- SQL: Verify GROUP BY ordering on grouped columns #30585 (issue: #29900)
- SQL: Fix parsing of dates with milliseconds #30419 (issue: #30002)
- SQL: Fix bug caused by empty composites #30343 (issue: #30292)
- SQL: Correct error message #30138 (issue: #30016)
- SQL: Add BinaryMathProcessor to named writeables list #30127 (issue: #30014)
- Scripting
- Search
-
- Ensure that index_prefixes settings cannot be changed #30967
- Fix TermsSetQueryBuilder.doEquals() method #29629 (issue: #29620)
- Fix binary doc values fetching in _search #29567 (issues: #26775, #29565)
- Fixes query_string query equals timezone check #29406 (issue: #29403)
- Fixed quote_field_suffix in query_string #29332 (issue: #29324)
- Search: Validate script query is run with a single script #29304
- Propagate ignore_unmapped to inner_hits #29261 (issue: #29071)
- Restore tiebreaker for cross fields query #28935 (issues: #25115, #28933)
- Fix (simple)_query_string to ignore removed terms #28871 (issues: #28855, #28856)
- Search option terminate_after does not handle post_filters and aggregations correctly #28459 (issue: #28411)
- Fix AIOOB on indexed geo_shape query #28458 (issue: #28456)
- Settings
- Snapshot/Restore
- Stats
- Suggesters
-
- Fix merging logic of Suggester Options #29514
- Transport API
- Watcher
-
- Watcher: Prevent triggering watch when using activate API #30613
- ZenDiscovery
Regressions
edit- Snapshot/Restore
-
- S3 repo plugin populate SettingsFilter #30652