Subject: CVS commit: pkgsrc/databases/elasticsearch
From: Filip Hajny
Date: 2016-12-05 11:51:03
Message id: 20161205105103.B9D0CFBA6@cvs.NetBSD.org

Log Message:
Update databases/elasticsearch to 5.0.2

5.0.2
=====

Allocation::
- Allow master to assign primary shard to node that has shard store
  locked during shard state fetching

Cluster::
- Remove cluster update task when task times out

Core::
- Install a security manager on startup
- Add a StreamInput#readArraySize method that ensures sane array sizes
- Use a buffer to do character to byte conversion in
  StreamOutput#writeString

Engine::
- Die with dignity on the Lucene layer
- Fix `InternalEngine#isThrottled` to not always return `false`.

Exceptions::
- Add BWC layer for Exceptions

Engine::
- Die with dignity on the Lucene layer
- Fix `InternalEngine#isThrottled` to not always return `false`.

Index Templates::
- Fix integer overflows when dealing with templates.

Ingest::
- fix trace_match behavior for when there is only one grok pattern

Internal::
- Rethrow ExecutionException from the loader to concurrent callers of
  Cache#computeIfAbsent
- Fixes potential NullPointerException on shard closing

Java API::
- Transport client: Fix remove address to actually work
- Add a HostFailureListener to notify client code if a node got
  disconnected

Logging::
- Do not prematurely shutdown Log4j
- Truncate log messages from the end

Network::
- Die with dignity on the network layer

Plugin Lang Painless::
- Fix a VerifyError bug in Painless
- Fix Lambdas in Painless to be Able to Use Top-Level Variables Such as
  params and doc

Scripting::
- Wrap VerifyError in ScriptException

Search::
- Respect default search timeout

Settings::
- Don't reset non-dynamic settings unless explicitly requested

Snapshot/Restore::
- Abort snapshots on a node that leaves the cluster

Tribe Node::
- Add socket permissions for tribe nodes

5.0.1
=====

Aggregations::
- Rescorer should be applied in the TopHits aggregation
- Rewrite Queries/Filter in FilterAggregationBuilder and ensure client
  usage marks query as non-cachable
- Thread safety for scripted significance heuristics
- `ip_range` aggregation should accept null bounds.

CAT API::
- Consume `full_id` request parameter early

CRUD::
- Deprecate VersionType.FORCE

Cache::
- Fix the request cache keys to not hold references to the
  SearchContext.

Circuit Breakers::
- ClusterState publishing shouldn't trigger circuit breakers

Core::
- Fix ShardInfo#toString
- Protect BytesStreamOutput against overflows of the current number of
  written bytes.
- Return target index name even if _rollover conditions are not met
- Upgrade to Lucene 6.2.1

Dates::
- Update Joda Time to version 2.9.5

Engine::
- Retrying replication requests on replica doesn't call `onRetry`

Index APIs::
- Validate the `_rollover` target index name early to also fail if
  dry_run=true

Ingest::
- Stored scripts and ingest node configurations should be included into
  a snapshot

Internal::
- Restore thread's original context before returning to the ThreadPool
- ShardActiveResponseHandler shouldn't hold to an entire cluster state

Java API::
- Fix InternalSearchHit#hasSource to return the proper boolean value
- Null checked for source when calling sourceRef
- ClusterAdminClient.prepareDeletePipeline method should accept pipeline
  id to delete

Java REST Client::
- Rest client: don't reuse the same HttpAsyncResponseConsumer across
  multiple retries

Logging::
- Assert status logger does not warn on Log4j usage
- Fix logger names for Netty

Network::
- Fix handler name on message not fully read

Packaging::
- Set vm.max_map_count on systemd package install
- Export ES_JVM_OPTIONS for SysV init
- Debian: configure start-stop-daemon to not go into background
- Generate POM files with non-wildcard excludes

Query DSL::
- Max score should be updated when a rescorer is used

Packaging::
- Add empty plugins dir for archive distributions
- Make explicit missing settings for Windows service
- Change permissions on config files

REST::
- The routing query string param is supported by mget but was missing
  from the rest spec
- fix thread_pool_patterns path variable definition
- ensure the XContentBuilder is always closed in RestBuilderListener

Reindex API::
- Bump reindex-from-remote's buffer to 200mb
- Fix reindex-from-remote for parent/child from <2.0

Search::
- Fixes cachability problems with fetching TTL values when searching
- Optimize query with types filter in the URL (t/t/_search)
- Remove LateParsingQuery to prevent timestamp access after context is
  frozen

Snapshot/Restore::
- Ensures cleanup of temporary index-* generational blobs during
  snapshotting
- Fixes get snapshot duplicates when asking for _all

Files:
RevisionActionfile
1.21modifypkgsrc/databases/elasticsearch/Makefile
1.22modifypkgsrc/databases/elasticsearch/distinfo