5.0.2 Release Notes

Also see Breaking changes in 5.0.

Enhancements

Core
  • Install a security manager on startup #21716
Exceptions
Logging
Scripting
  • Wrap VerifyError in ScriptException #21769
Snapshot/Restore
  • Abort snapshots on a node that leaves the cluster #21084 (issue: #20876)

Bug fixes

Allocation
  • Allow master to assign primary shard to node that has shard store locked during shard state fetching #21656 (issue: #19416)
Cluster
  • Remove cluster update task when task times out #21578 (issue: #21568)
Core
  • Add a StreamInput#readArraySize method that ensures sane array sizes #21697
  • Use a buffer to do character to byte conversion in StreamOutput#writeString #21680 (issue: #21660)
Engine
  • Die with dignity on the Lucene layer #21721 (issue: #19272)
  • Fix InternalEngine#isThrottled to not always return false. #21592
Index Templates
  • Fix integer overflows when dealing with templates. #21628 (issue: #21622)
Ingest
  • fix trace_match behavior for when there is only one grok pattern #21413 (issue: #21371)
Internal
  • Rethrow ExecutionException from the loader to concurrent callers of Cache#computeIfAbsent #21549
  • Fixes potential NullPointerException on shard closing #21515 (issue: #21084)
Java API
  • Transport client: Fix remove address to actually work #21743
  • Add a HostFailureListener to notify client code if a node got disconnected #21709 (issue: #21424)
Logging
Network
  • Die with dignity on the network layer #21720 (issue: #19272)
Plugin Lang Painless
  • Fix a VerifyError bug in Painless #21765
  • Fix Lambdas in Painless to be Able to Use Top-Level Variables Such as params and doc #21635 (issues: #20869, #21479)
Search
Settings
  • Don’t reset non-dynamic settings unless explicitly requested #21646 (issue: #21593)
Tribe Node