Elasticsearch version 6.7.2

edit

Elasticsearch version 6.7.2

edit

Also see Breaking changes in 6.7.

Enhancements

edit
CCR
  • Reduce security permissions in CCR plugin #41391
Distributed
  • Avoid background sync on relocated primary #40800 (issue: #40731)
Infra/Packaging
  • Be lenient when parsing build flavor and type on the wire #40734 (issues: #39378, #40723)
Machine Learning
  • [ML] Allow xpack.ml.max_machine_memory_percent higher than 100% #41193
Snapshot/Restore
  • Mark Deleted Snapshot Directories with Tombstones #40228 (issue: #39852)

Bug fixes

edit
Allocation
  • Short-circuit rebalancing when disabled #40966 (issue: #40942)
Authorization
  • Fix role mapping DN field wildcards for users with NULL DNs #41343 (issue: #41305)
  • Fix Has Privilege API check on restricted indices #41226
  • put mapping authorization for alias with write-index and multiple read indices #40834 (issue: #40831)
  • Use alias name from rollover request to query indices stats #40774 (issue: #40771)
CCR
  • Suppress lease background sync failures if stopping #40902
Distributed
  • Fix NPE on Stale Index in IndicesService #38891 (issue: #38845)
Features/ILM
  • Allow ILM to stop if indices have nonexistent policies #40820 (issue: #40824)
Features/Monitoring
  • Properly handle Monitoring exporters all disabled #40920 (issue: #40919)
Features/Watcher
  • Use setIfSeqNo(…​) and setIfPrimaryTerm(…​) for updating watch status if all nodes are at least on 6.7.0 #40888 (issue: #40841)
Highlighting
  • Unified highlighter should ignore terms that target the _id field #41275 (issue: #37525)
  • Unified highlighter should respect no_match_size with number_of_fragments set to 0 #41069 (issue: #41066)
Infra/Core
Infra/Packaging
  • Suppress illegal access in plugin install #41620 (issue: #41478)
Infra/Scripting
  • Correct bug in ScriptDocValues #40864 (issue: #40488)
  • Correct bug in ScriptDocValues #40488
Infra/Settings
  • Always check for archiving broken index settings #41209
Machine Learning
  • [ML] checking if p-tasks metadata is null before updating state #41091 (issue: #41090)
  • [ML] Write header to autodetect before it is visible to other calls #41085 (issue: #40385)
  • Fix unsafe publication of invalid license enforcer #40985 (issue: #40957)
  • [ML] Scrolling datafeed should clear scroll contexts on error #40773 (issue: #40772)
Mapping
Recovery
  • Resync should not send operations without sequence number #40433
Rollup
  • Remove timezone validation on rollup range queries #40647
SQL
  • SQL: Fix bug with optimization of null related conditionals #41355
  • SQL: Predicate diff takes into account all values #41346 (issue: #40835)
  • SQL: Fix LIMIT bug in agg sorting #41258 (issue: #40984)
  • SQL: Allow current_date/time/timestamp to be also used as a function escape pattern #41254 (issue: #41240)
  • SQL: Translate MIN/MAX on keyword fields as FIRST/LAST #41247 (issues: #37936, #41195)
  • SQL: Tweak pattern matching in SYS TABLES #41243 (issue: #40775)
  • SQL: Change schema calls to empty set #41034 (issue: #41028)
  • SQL: Fix display size for DATE/DATETIME #40669
  • SQL: Use ResultSets over exceptions in metadata #40641 (issue: #40533)
  • SQL: Fix catalog filtering in SYS COLUMNS #40583 (issue: #40582)
Search
  • Full text queries should not always ignore unmapped fields #41062 (issue: #41022)
  • Fix rewrite of inner queries in DisMaxQueryBuilder #40956 (issue: #40953)
  • Fix alias resolution runtime complexity. #40263 (issue: #40248)
Security
  • Fix unsafe publication in opt-out query cache #40957
  • Remove dynamic objects from security index #40499 (issue: #35460)
Snapshot/Restore
  • Fix Broken Index Shard Snapshot File Preventing Snapshot Creation #41310 (issue: #41304)
  • Do not create missing directories in readonly repo #41249 (issues: #26909, #41009)

Upgrades

edit
Infra/Packaging
  • Bump the bundled JDK to 12.0.1 #41627