2.1.2 Release Notes

edit

Also see Breaking changes in 2.1.

Enhancements

edit
Internal
  • Only trace log shard not available exceptions #14950 (issue: #14927)
Plugin Cloud Azure
Translog
  • Check for tragic event on all kinds of exceptions not only ACE and IOException #15535

Bug fixes

edit
Aggregations
  • Make missing on terms aggs work with all execution modes. #15746 (issue: #14882)
Aliases
  • Check lenient_expand_open after aliases have been resolved #15882 (issue: #13278)
Allocation
  • Prevent peer recovery from node with older version #15775
Cluster
  • Only fail the relocation target when a replication request on it fails #15791 (issue: #15790)
Core
  • BitSetFilterCache duplicates its content. #15836 (issue: #15820)
  • Limit the max size of bulk and index thread pools to bounded number of processors #15585 (issue: #15582)
  • AllTermQuery’s scorer should skip segments that never saw the requested term #15506
Highlighting
  • Fix spans extraction to not also include individual terms. #15516 (issues: #13239, #15291)
Internal
  • Log uncaught exceptions from scheduled once tasks #15824 (issue: #15814)
  • Fix ConcurrentModificationException from nodes info and nodes stats #15541 (issue: #15537)
Mapping
  • Fix MapperService#searchFilter(…​) #15923 (issue: #15757)
  • Fix initial sizing of BytesStreamOutput. #15864 (issue: #15789)
Packaging
Query DSL
  • Fix FunctionScore equals/hashCode to include minScore and friends #15676
Recovery
  • sync translog to disk after recovery from primary #15832
Stats
  • Fix calculation of age of pending tasks #15995 (issue: #15988)
Translog
  • Make sure IndexShard is active during recovery so it gets its fair share of the indexing buffer #16209 (issue: #16206)
  • Avoid circular reference in exception #15952 (issue: #15941)
  • Initialize translog before scheduling the sync to disk #15881
  • Translog base flushes can be disabled after replication relocation or slow recovery #15830 (issues: #10624, #15814)
  • Catch tragic even inside the checkpoint method rather than on the caller side #15825
  • Never delete translog-N.tlog file when creation fails #15788
  • Close recovered translog readers if createWriter fails #15762 (issue: #15754)
Tribe Node
  • Tribe node: pass path.conf to inner tribe clients #16258 (issue: #16253)

Regressions

edit
Analysis
  • Add PathHierarchy type back to path_hierarchy tokenizer for backward compatibility with 1.x #15785 (issue: #15756)