diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-04-29 10:16:01 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-04-29 10:16:01 +0000 |
commit | b4eb1d0adf1c98382c7ade43a6f8d28690a36791 (patch) | |
tree | 573d76bc677c90996a3ef1d3158af7caf9c4ca1d /databases | |
parent | c71b81027c980a35bbbab4ced9c5e3332810c40a (diff) | |
download | pkgsrc-b4eb1d0adf1c98382c7ade43a6f8d28690a36791.tar.gz |
Update databases/elasticsearch to 2.3.2.
== 2.3.2 Release Notes
=== Deprecations
REST::
- Deprecate camelCase usages
Search::
- Deprecate sort option reverse.
Settings::
- Deprecate camelCase settings magic
=== Enhancements
Analysis::
- Analyze API : Fix/deprecated filters in analyze in 2x
=== Bug fixes
Aggregations::
- Aggregations: Adds serialisation of sigma to
extended_stats_bucket pipeline aggregation
- ExtendedStatsAggregator should also pass sigma to emtpy aggs.
Allocation::
- Rebalancing policy shouldn't prevent hard allocation decisions
- When considering the size of shadow replica shards, set size to 0
Logging::
- Add missing index name to search slow log.
Mapping::
- Fail if an object is added after a field with the same name.
More Like This::
- Alias items are not ignored anymore
REST::
- Fixes reading of CORS pre-flight headers and methods
- index is a required url part for update by query
Recovery::
- Backports Notify GatewayRecoveryListener on failure
Snapshot/Restore::
- On restore, selecting concrete indices can select wrong index
== 2.3.1 Release Notes
=== Bug fixes
Aggregations::
- Prevents exception being raised when ordering by an aggregation
which wasn't collected
Cluster::
- Cluster stats: fix memory available that is always set to 0
== 2.3.0 Release Notes
=== Breaking changes
Allocation::
- Speed up shard balancer by reusing shard model while moving
shards that can no longer be allocated to a node
Mapping::
- Add per-index setting to limit number of nested fields
=== Deprecations
Geo::
- Deprecate lat_lon and precision_step
- Deprecate geo_point mapping params
Plugin Discovery Multicast::
- Deprecate Discovery Multicast Plugin
Query DSL::
- Add deprecation logging for deprecated queries.
=== New features
Reindex API::
- Backport reindex to 2.x
Task Manager::
- Backport of task management api to 2x
=== Enhancements
Allocation::
- Skip capturing least/most FS info for an FS with no total
- Speed improvements for BalancedShardsAllocator
Cache::
- Make TermsQuery considered costly.
Cluster::
- Shard state action request logging
- Safe cluster state task notifications
Core::
- Remove log4j exception hiding
- Avoid cloning MessageDigest instances
- Add a hard check to ensure we are running with the expected
lucene version
Exceptions::
- Added file name to exceptions when failing to read index state
- Add Exception class name to message in
`NotSerializableExceptionWrapper`
Geo::
- Upgrade GeoPointField to use Lucene 5.5 PrefixEncoding
Internal::
- Cleanup search sub transport actions and collapse
o.e.action.search.type package into o.e.action.search
Java API::
- TransportClient: Add exception when using plugin.types, to help
migration to addPlugin
Logging::
- Log suppressed stack traces under DEBUG
Mapping::
- Add deprecation logging for mapping transform
- Expose the reason why a mapping merge is issued.
- Add sub-fields support to `bool` fields.
- Improve cross-type dynamic mapping updates.
- Make mapping updates more robust.
Network::
- Add additional fallback to http.publish_port and restrict
fallback to transport.publish_port
Packaging::
- Windows service: Use JAVA_HOME environment variable in registry
- Default standard output to the journal in systemd
- Use egrep instead of grep -E for Solaris
Plugin Cloud Azure::
- Add timeout settings (default to 5 minutes)
Plugin Discovery EC2::
- Add ap-northeast-2 (seoul) endpoints for EC2 discovery and S3
snapshots
Plugin Mapper Attachment::
- Fix attachments plugins with docx
REST::
- More robust handling of CORS HTTP Access Control
Reindex API::
- Implement helpful interfaces in reindex requests
- Reindex should timeout if sub-requests timeout
- Teach reindex to retry on rejection
Scripting::
- Logs old script params use to the Deprecation Logger
- Remove suppressAccessChecks permission for Groovy script plugin
- Class permission for Groovy references
- Scripting: Allow to get size of array in mustache
- Added plumbing for compile time script parameters
- Enhancements to the mustache script engine
Search::
- Add deprecation logging for ignore_unmapped parameter
- Add deprecation logging when users use the SCAN search type.
Settings::
- Log warning if max file descriptors too low
=== Bug fixes
Aggregations::
- Setting 'other' bucket on empty aggregation
- Build empty extended stats aggregation if no docs collected for
bucket
- Set meta data for pipeline aggregations
- Filter(s) aggregation should create weights only once.
- Make `missing` on terms aggs work with all execution modes.
- Fix NPE in Derivative Pipeline when current bucket value is null
Aliases::
- Fix _aliases filter and null parameters
- Check lenient_expand_open after aliases have been resolved
Allocation::
- IndicesStore checks for `allocated elsewhere` for every shard
not alocated on the local node
- Prevent peer recovery from node with older version
Analysis::
- Analysis : Allow string explain param in JSON
- Analysis : Fix no response from Analyze API without specified
index
Bulk::
- Bulk api: fail deletes when routing is required but not
specified
CAT API::
- Fix column aliases in _cat/indices, _cat/nodes and _cat/shards
APIs
CRUD::
- fixed propagation of autoGeneratedId on document creation
- Throw exception if content type could not be determined in
Update API
Cache::
- Handle closed readers in ShardCoreKeyMap
Cluster::
- Index deletes not applied when cluster UUID has changed
- Only fail the relocation target when a replication request on it
fails
Core::
- Migrate template settings (add missing byte & time units)
Fielddata::
- Make disabled fielddata loading fail earlier.
Geo::
- Remove .geohash suffix from GeoDistanceQuery and
GeoDistanceRangeQuery
Highlighting::
- Don't override originalQuery with request filters
Inner Hits::
- Query and top level inner hit definitions shouldn't overwrite
each other
Internal::
- Log uncaught exceptions from scheduled once tasks
- FunctionScoreQuery should implement two-phase iteration.
Java API::
- Fix boundary chars in java api
Logging::
- Add missing index name to indexing slow log
- ParseFieldMatcher should log when using deprecated settings.
Mapping::
- Put mapping operations must update metadata of all types.
- Fix serialization of `search_analyzer`.
- Reuse metadata mappers for dynamic updates.
- Fix MapperService#searchFilter(...)
- MapperService: check index.mapper.dynamic during index creation
Network::
- Only accept transport requests after node is fully initialized
Packaging::
- Fix waiting for pidfile
- Enable es_include at init
Parent/Child::
- Check that parent_type in Has Parent Query has child types
- Has child query forces default similarity
Percolator::
- Don't replace found fields if map unmapped fields as string is
enabled
- mpercolate api should serialise start time
Plugin Cloud Azure::
- Fix calling ensureOpen() on the wrong directory
Plugin Discovery GCE::
- Add setFactory permission to GceDiscoveryPlugin
Query DSL::
- Fix FunctionScore equals/hashCode to include minScore and
friends
REST::
- Remove detect_noop from REST spec
- Make text parsing less lenient.
Recovery::
- Try to renew sync ID if `flush=true` on forceMerge
- sync translog to disk after recovery from primary
Reindex API::
- Properly register reindex status
- Be much much much careful about context
- Make search failure cause rest failure
Scripting::
- Check that _value is used in aggregations script before setting
value to specialValue
- Add permission to access sun.reflect.MethodAccessorImpl from
Groovy scripts
- Fixes json generation for scriptsort w/ deprecated params
- Security permissions for Groovy closures
Search::
- Do not apply minimum_should_match on auto generated boolean
query if the coordination factor is disabled.
- Do not apply minimum-should-match on a boolean query if the
coords are disabled
- Fix blended terms take 2
Settings::
- TransportClient should use updated setting for initialization of
modules and service
Snapshot/Restore::
- Prevent closing index during snapshot restore
- Add node version check to shard allocation during restore
Stats::
- Fix recovery translog stats totals when recovering from store
- Fix calculation of age of pending tasks
Task Manager::
- Fix TaskId#isSet to return true when id is set and not other way
around
- Don't wait for completion of list tasks tasks when
wait_for_completion flag is set
Translog::
- Call ensureOpen on Translog#newView() to prevent
IllegalStateException
- Make sure IndexShard is active during recovery so it gets its
fair share of the indexing buffer
- Avoid circular reference in exception
- Initialize translog before scheduling the sync to disk
- Catch tragic even inside the checkpoint method rather than on
the caller side
- Never delete translog-N.tlog file when creation fails
- Close recovered translog readers if createWriter fails
Tribe Node::
- Passthrough environment and network settings to tribe client
nodes
- Tribe node: pass path.conf to inner tribe clients
=== Regressions
Analysis::
- Add PathHierarchy type back to path_hierarchy tokenizer for
backward compatibility with 1.x
Plugin Cloud Azure::
- Fix Unknown [repository] type [azure] error with 2.2.0
REST::
- Don't return all indices immediately if count of expressions >1
and first expression is *
=== Upgrades
Core::
- Upgrade to Lucene 5.5.0 official release
- Upgrade to lucene 5.5.0-snapshot-850c6c2
- Upgrade to lucene 5.5.0-snapshot-4de5f1d
- Update lucene to r1725675
- Upgrade to lucene-5.5.0-snapshot-1721183.
Plugin Cloud Azure::
- Upgrade Azure Storage client to 4.0.0
Plugin Discovery Azure::
- Upgrade azure SDK to 0.9.3
Scripting::
- Upgrade groovy dependency in lang-groovy module to version 2.4.6
== 2.2.1 Release Notes
=== Enhancements
Cluster::
- Shard state action request logging
Core::
- Avoid cloning MessageDigest instances
Exceptions::
- Add Exception class name to message in
`NotSerializableExceptionWrapper`
Network::
- Add additional fallback to http.publish_port and restrict
fallback to transport.publish_port
Packaging::
- Windows service: Use JAVA_HOME environment variable in registry
Scripting::
- Class permission for Groovy references
Settings::
- Log warning if max file descriptors too low
=== Bug fixes
Aggregations::
- Set meta data for pipeline aggregations
Aliases::
- Fix _aliases filter and null parameters
Bulk::
- Bulk api: fail deletes when routing is required but not
specified
Inner Hits::
- Query and top level inner hit definitions shouldn't overwrite
each other
Logging::
- Add missing index name to indexing slow log
Parent/Child::
- Check that parent_type in Has Parent Query has child types
- Has child query forces default similarity
Percolator::
- Don't replace found fields if map unmapped fields as string is
enabled
Plugin Cloud Azure::
- Fix calling ensureOpen() on the wrong directory
Plugin Discovery GCE::
- Add setFactory permission to GceDiscoveryPlugin
Query DSL::
- Use MappedFieldType.termQuery to generate simple_query_string
queries
REST::
- Remove detect_noop from REST spec
Scripting::
- Add permission to access sun.reflect.MethodAccessorImpl from
Groovy scripts
Snapshot/Restore::
- Add node version check to shard allocation during restore
Stats::
- Fix recovery translog stats totals when recovering from store
Tribe Node::
- Passthrough environment and network settings to tribe client
nodes
=== Regressions
Plugin Cloud Azure::
- Fix Unknown [repository] type [azure] error with 2.2.0
=== Upgrades
Plugin Repository Azure::
- Upgrade Azure Storage client to 4.0.0
== 2.2.0 Release Notes
=== Breaking changes
Index APIs::
- Change Field stats API response to include both number and
string based min and max values
Scripting::
- Filter classes loaded by scripts
- Lock down javascript and python script engines better
=== Deprecations
Java API::
- Deprecate the count api in favour of search with size 0
- Deprecates defaultRescoreWindowSize
Plugin Discovery Multicast::
- Deprecate the discovery-multicast plugin
Query DSL::
- Deprecate the `missing` query
- Deprecate NotQueryBuilder
Search::
- Deprecate _search/exists in favour of regular _search with size
0 and terminate_after 1
=== New features
Geo::
- Add CONTAINS relation to geo_shape query
- Add support for Lucene 5.4 GeoPoint queries
- Add GeoPointV2 Field Mapping
Network::
- Allow binding to multiple addresses.
Plugin Analysis Phonetic::
- Add support for `daitch_mokotoff`
Plugin Repository S3::
- Add support for S3 storage class
Plugins::
- Decentralize plugin security
Search::
- Add query profiler
=== Enhancements
Aliases::
- Add support to _aliases endpoint to specify multiple indices and
aliases in one action
Allocation::
- Simplify delayed shard allocation
- Add cluster-wide setting for total shard limit
- Early terminate high disk watermark checks on single data node
cluster
Analysis::
- Add detail response support for _analyze API
CAT API::
- Add sync_id to cat shards API
- Add duration field to /_cat/snapshots
- Add cat API for repositories and snapshots
- Adds disk used by indices to _cat/allocation
Cluster::
- Safe cluster state task notifications
- Reroute once per batch of shard failures
- Add callback for publication of new cluster state
- Split cluster state update tasks into roles
- Use general cluster state batching mechanism for shard started
- Use general cluster state batching mechanism for shard failures
- Set an newly created IndexShard's ShardRouting before exposing
it to operations
- Uniform exceptions for TransportMasterNodeAction
Core::
- If we can't get a MAC address for the node, use a dummy one
- Simplify shard inactive logging
- Simplify IndexingMemoryController#checkIdle
- IndexingMemoryController should not track shard index states
- Make PerThreadIDAndVersionLookup per-segment
- Verify Checksum once it has been fully written to fail as soon
as possible
Discovery::
- Don't allow nodes with missing custom meta data to join cluster
Exceptions::
- Deduplicate cause if already contained in shard failures
- Give a better exception when running from freebsd jail without
enforce_statfs=1
- Make root_cause of field conflicts more obvious
Fielddata::
- Update GeoPoint FieldData for GeoPointV2
Geo::
- Geo: Fix toString() in GeoDistanceRangeQuery and GeoPolygonQuery
- Enable GeoPointV2 with backward compatibility testing
- Refactor Geo utilities to Lucene 5.4
Index APIs::
- Add option to disable closing indices
Index Templates::
- Disallow index template pattern to be the same as an alias name
Internal::
- Simplify the Text API.
- Simpler using compressed oops flag representation
- Info on compressed ordinary object pointers
- Explicitly log cluster state update failures
- Use transport service to handle RetryOnReplicaException to
execute replica action on the current node
- Make IndexShard operation be more explicit about whether they
are expected to run on a primary or replica
- Avoid trace logging allocations in
TransportBroadcastByNodeAction
- Only trace log shard not available exceptions
- Transport options should be immutable
- Fix dangling comma in ClusterBlock#toString
- Improve some logging around master election and cluster state
- Add System#exit(), Runtime#exit() and Runtime#halt() to
forbidden APIs
- Simplify XContent detection.
- Add threadgroup isolation.
- Cleanup plugin security
- Add workaround for JDK-8014008
- Refactor retry logic for TransportMasterNodeAction
- Remove MetaDataSerivce and it's semaphores
- Cleanup IndexMetaData
- TransportNodesAction shouldn't hold on to cluster state
- Add SpecialPermission to guard exceptions to security policy.
- Clean up scripting permissions.
- Factor groovy out of core into lang-groovy
- Factor expressions scripts out to lang-expression plugin
Java API::
- TransportClient: Add exception when using plugin.types, to help
migration to addPlugin
- Align handling of interrupts in BulkProcessor
- BulkProcessor backs off exponentially by default
- Add java API for synced flush
- Allow to get and set ttl as a time value/string
- Reject refresh usage in bulk items when using and fix NPE when
no source
- BulkProcessor retries after request handling has been rejected
due to a full thread pool
Logging::
- Add circuit breaker name to logging package
- Log cluster health status changes
- Map log-level 'trace' to JDK-Level 'FINEST'
Mapping::
- Make mapping serialization more robust.
- Make mappings immutable.
- Make MappedFieldType.checkTypeName part of
MappedFieldType.checkCompatibility.
- throw exception if a copy_to is within a multi field
- Register field mappers at the node level.
Network::
- only allow code to bind to the user's configured port
numbers/ranges
- Port of publishAddress should match port of corresponding
boundAddress
Packaging::
- Default standard output to the journal in systemd
- Use egrep instead of grep -E for Solaris
- punch thru symlinks when loading plugins/modules
- set ActiveProcessLimit=1 on windows
- set RLIMIT_NPROC = 0 on bsd/os X systems.
- Drop ability to execute on Solaris
- Packaging: change permissions/ownership of config dir
- Release: Fix package repo path to only consist of major version
- Nuke ES_CLASSPATH appending, JarHell fail on empty classpath
elements
- Get lang-javascript, lang-python, securemock ready for script
refactoring
- Remove some bogus permissions only needed for tests.
- Remove java.lang.reflect.ReflectPermission
"suppressAccessChecks"
Plugin Cloud AWS::
- Add support for proxy authentication for s3 and ec2
Plugin Cloud Azure::
- Add timeout settings (default to 5 minutes)
- Add support for secondary azure storage account
Plugin Cloud GCE::
- Adding backoff from retries on GCE errors
- Add `_gce_` network host setting
Plugin Discovery EC2::
- Add ap-northeast-2 (seoul) endpoints for EC2 discovery and S3
snapshots
- Adding US-Gov-West
- Improved building of disco nodes
Plugin Mapper Attachment::
- Backport mapper-attachments plugin to 2.x
Plugin Repository S3::
- Add aws canned acl
Plugins::
- Expose http.type setting, and collapse al(most all) modules
relating to transport/http
- Ban RuntimePermission("getClassLoader")
- Add nicer error message when a plugin descriptor is missing
- Don't be lenient in PluginService#processModule(Module)
- Check "plugin already installed" before jar hell check.
- Plugin script to set proper plugin bin dir attributes
- Plugin script to set proper plugin config dir attributes
Query DSL::
- Allow CIDR notation in query string query
REST::
- Make XContentGenerator.writeRaw* safer.
- Filter path refactoring
Recovery::
- Handle cancel exceptions on recovery target if the cancel comes
from the source
- Decouple routing and primary operation logic in
TransportReplicationAction
Scripting::
- Add property permissions so groovy scripts can serialize json
- Remove ScriptEngineService.unwrap.
- Remove ScriptEngineService.execute.
Search::
- Support * wildcard to retrieve stored fields in the 'fields'
option
- Caching Weight wrappers should propagate the BulkScorer.
- fix numerical issue in function score query
Snapshot/Restore::
- Support wildcards for getting repositories and snapshots
- Add ignore_unavailable parameter to skip unavailable snapshot
Stats::
- Add system CPU percent to OS stats
- Pull Fields instance once from LeafReader in completion stats
- Add os.allocated_processors stats
Top Hits::
- Put method addField on TopHitsBuilder
Translog::
- Check for tragic event on all kinds of exceptions not only ACE
and IOException
Tribe Node::
- Tribe nodes should apply cluster state updates in batches
=== Bug fixes
Aggregations::
- Filter(s) aggregation should create weights only once.
- Make `missing` on terms aggs work with all execution modes.
- Run pipeline aggregations for empty buckets added in the Range
Aggregation
- [Children agg] fix bug that prevented all child docs from being
evaluated
- Correct typo in class name of StatsAggregator
- Fix significant terms reduce for long terms
- Pass extended bounds into HistogramAggregator when creating an
unmapped aggregator
- Added correct generic type parameter on ScriptedMetricBuilder
Aliases::
- Check lenient_expand_open after aliases have been resolved
Allocation::
- Prevent peer recovery from node with older version
- Fix calculation of next delay for delayed shard allocation
- Take ignored unallocated shards into account when making
allocation decision
- Only allow rebalance operations to run if all shard store data
is available
- Delayed allocation can miss a reroute
- Check rebalancing constraints when shards are moved from a node
they can no longer remain on
Bulk::
- Do not release unacquired semaphore
CAT API::
- Properly set indices and indicesOptions on subrequest made by
/_cat/indices
CRUD::
- Throw exception if content type could not be determined in
Update API
Cluster::
- Only fail the relocation target when a replication request on it
fails
- Handle shards assigned to nodes that are not in the cluster
state
- Bulk cluster state updates on index deletion
Core::
- BitSetFilterCache duplicates its content.
- Limit the max size of bulk and index thread pools to bounded
number of processors
- AllTermQuery's scorer should skip segments that never saw the
requested term
- Include root-cause exception when we fail to change shard's
index buffer
- Restore thread interrupt flag after an InterruptedException
- Use fresh index settings instead of relying on @IndexSettings
- Record all bytes of the checksum in VerifyingIndexOutput
- When shard becomes active again, immediately increase its
indexing buffer
- Close TokenStream in finally clause
Engine::
- Never wrap searcher for internal engine operations
Exceptions::
- Fix ensureNodesAreAvailable's error message
Fielddata::
- Don't cache top level field data for fields that don't exist
Geo::
- Geo: Allow numeric parameters enclosed in quotes for
'geohash_grid' aggregation
Highlighting::
- Fix spans extraction to not also include individual terms.
Index APIs::
- Field stats: Index constraints should remove indices in the
response if the field to evaluate is empty
- Field stats: Fix NPE for index constraint on empty index
- Field stats: Added `format` option for index constraints
- Restore previous optimize transport action name for bw comp
- Forbid index name `.` and `..`
Internal::
- Log uncaught exceptions from scheduled once tasks
- Make sure the remaining delay of unassigned shard is updated
with every reroute
- Throw a meaningful error when loading metadata and an alias and
index have the same name
- fixup issues with 32-bit jvm
- Failure to update the cluster state with the recovered state
should make sure it will be recovered later
- Properly bind ClassSet extensions as singletons
- Streamline top level reader close listeners and forbid general
usage
- Gateway: a race condition can prevent the initial cluster state
from being recovered
- Verify actually written checksum in VerifyingIndexOutput
- Remove all setAccessible in tests and forbid
- Remove easy uses of setAccessible in tests.
- Ban setAccessible from core code, restore monitoring stats under
java 9
Logging::
- Settings in log config file should not overwrite custom
parameters
- Plugin cli tool should not create empty log files
Mapping::
- Fix MapperService#searchFilter(...)
- Fix initial sizing of BytesStreamOutput.
- MetaDataMappingService should call MapperService.merge with the
original mapping update.
- Fix copy_to when the target is a dynamic object field.
- Only text fields should accept analyzer and term vector
settings.
- Mapper parsers should not check for a `tokenized` property.
- Validate that fields are defined only once.
- Check mapping compatibility up-front.
- Don't treat _default_ as a regular type.
- Don't ignore mapping merge failures.
- Treat mappings at an index-level feature.
- Multi field names may not contain dots
- Mapping: Allows upgrade of indexes with only search_analyzer
specified
Packaging::
- Fix Windows service installation failure
- fix command line options for windows bat file
- Handle system policy correctly
- Startup script exit status should catch daemonized startup
failures
Plugin Cloud AWS::
- Discovery-ec2 plugin should check `discovery.type`
Plugin Delete By Query::
- Fix Delete-by-Query with Shield
- Delete by query to not wrap the inner query into an additional
query element
Plugin Mapper Attachment::
- Fix toXContent() for mapper attachments field
Plugin Repository S3::
- Hack around aws security hole of accessing sun.security.ssl, s3
repository works on java 9 again
Plugins::
- Fix plugin list command error message
- Parse Java system properties in plugin.bat
- PluginManager: Dont leave leftover files on unsuccessful
installs
- Fix HTML response during redirection
Query DSL::
- Fix FunctionScore equals/hashCode to include minScore and
friends
- Min should match greater than the number of optional clauses
should return no result
- Return a better exception message when `regexp` query is used on
a numeric field
REST::
- Throw exception when trying to write map with null keys
- XContentFactory.xContentType: allow for possible UTF-8 BOM for
JSON XContentType
- Restore support for escaped '/' as part of document id
- Add missing REST spec for `detect_noop`
- Expose nodes operation timeout in REST API
- Ensure XContent is consistent across platforms
Recovery::
- sync translog to disk after recovery from primary
- CancellableThreads should also treat ThreadInterruptedException
as InterruptedException
Scripting::
- Security permissions for Groovy closures
Search::
- Fix NPE when a segment with an empty cache gets closed.
- Fix the quotes in the explain message for a script score
function without parameters
Settings::
- TransportClient should use updated setting for initialization of
modules and service
Shadow Replicas::
- Don't pull translog from shadow engine
Snapshot/Restore::
- Snapshot restore and index creates should keep index settings
and cluster blocks in sync
- Snapshot restore operations throttle more than specified
- Fix blob size in writeBlob() method
Stats::
- Fix calculation of age of pending tasks
- serialize os name, arch and version too
- Add extra validation into `cluster/stats`
- Omit current* stats for OldShardStats
Translog::
- Make sure IndexShard is active during recovery so it gets its
fair share of the indexing buffer
- Avoid circular reference in exception
- Initialize translog before scheduling the sync to disk
- Translog base flushes can be disabled after replication
relocation or slow recovery
- Catch tragic even inside the checkpoint method rather than on
the caller side
- Never delete translog-N.tlog file when creation fails
- Close recovered translog readers if createWriter fails
- Fail and close translog hard if writing to disk fails
- Prevent writing to closed channel if translog is already closed
- Don't delete temp recovered checkpoint file if it was renamed
- Translog recovery can repeatedly fail if we run out of disk
Tribe Node::
- Tribe node: pass path.conf to inner tribe clients
- Fix tribe node to load config file for internal client nodes
=== Regressions
Analysis::
- Add PathHierarchy type back to path_hierarchy tokenizer for
backward compatibility with 1.x
Internal::
- Deduplicate concrete indices after indices resolution
Plugin Cloud Azure::
- Filter cloud azure credentials
Query DSL::
- RangeQueryParser should accept `_name` in inner field
=== Upgrades
Core::
- Upgrade to lucene-5.4.1.
- Upgrade to lucene-5.4.0.
- Upgrade Lucene to 5.4.0-snapshot-1715952
- Upgrade Lucene to 5.4.0-snapshot-1714615
- Upgrade to lucene-5.4.0-snapshot-1712973.
- update to lucene-5.4.x-snapshot-1711508
- Upgrade to lucene-5.4-snapshot-1710880.
- Upgrade to lucene-5.4-snapshot-1708254.
- upgrade lucene to r1702265
- Upgrade master to lucene 5.4-snapshot r1701068
Geo::
- Update to spatial4j 0.5 for correct Multi-Geometry
Network::
- Upgrade Netty to 3.10.5.final
Plugin Discovery Azure::
- Update Azure Service Management API to 0.9.0
Plugin Discovery EC2::
- Upgrade to aws 1.10.33
Plugin Lang JS::
- upgrade rhino for plugins/lang-javascript
== 2.1.2 Release Notes
=== Enhancements
Internal::
- Only trace log shard not available exceptions
Plugin Cloud Azure::
- Add timeout settings (default to 5 minutes)
Translog::
- Check for tragic event on all kinds of exceptions not only ACE
and IOException
=== Bug fixes
Aggregations::
- Make `missing` on terms aggs work with all execution modes.
Aliases::
- Check lenient_expand_open after aliases have been resolved
Allocation::
- Prevent peer recovery from node with older version
Cluster::
- Only fail the relocation target when a replication request on it
fails
Core::
- BitSetFilterCache duplicates its content.
- Limit the max size of bulk and index thread pools to bounded
number of processors
- AllTermQuery's scorer should skip segments that never saw the
requested term
Highlighting::
- Fix spans extraction to not also include individual terms.
Internal::
- Log uncaught exceptions from scheduled once tasks
- Fix ConcurrentModificationException from nodes info and nodes
stats
Mapping::
- Fix MapperService#searchFilter(...)
- Fix initial sizing of BytesStreamOutput.
Packaging::
- Fix Windows service installation failure
- fix command line options for windows bat file
Query DSL::
- Fix FunctionScore equals/hashCode to include minScore and
friends
Recovery::
- sync translog to disk after recovery from primary
Stats::
- Fix calculation of age of pending tasks
Translog::
- Make sure IndexShard is active during recovery so it gets its
fair share of the indexing buffer
- Avoid circular reference in exception
- Initialize translog before scheduling the sync to disk
- Translog base flushes can be disabled after replication
relocation or slow recovery
- Catch tragic even inside the checkpoint method rather than on
the caller side
- Never delete translog-N.tlog file when creation fails
- Close recovered translog readers if createWriter fails
Tribe Node::
- Tribe node: pass path.conf to inner tribe clients
=== Regressions
Analysis::
- Add PathHierarchy type back to path_hierarchy tokenizer for
backward compatibility with 1.x
Diffstat (limited to 'databases')
-rw-r--r-- | databases/elasticsearch/Makefile | 4 | ||||
-rw-r--r-- | databases/elasticsearch/PLIST | 36 | ||||
-rw-r--r-- | databases/elasticsearch/distinfo | 12 | ||||
-rw-r--r-- | databases/elasticsearch/patches/patch-bin_elasticsearch.in.sh | 6 |
4 files changed, 27 insertions, 31 deletions
diff --git a/databases/elasticsearch/Makefile b/databases/elasticsearch/Makefile index d68a192cce4..8bca392483d 100644 --- a/databases/elasticsearch/Makefile +++ b/databases/elasticsearch/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2015/12/31 09:57:31 fhajny Exp $ +# $NetBSD: Makefile,v 1.15 2016/04/29 10:16:01 fhajny Exp $ -DISTNAME= elasticsearch-2.1.1 +DISTNAME= elasticsearch-2.3.2 CATEGORIES= textproc MASTER_SITES= https://download.elasticsearch.org/elasticsearch/elasticsearch/ diff --git a/databases/elasticsearch/PLIST b/databases/elasticsearch/PLIST index 6c8b041b25f..c32a95c74a8 100644 --- a/databases/elasticsearch/PLIST +++ b/databases/elasticsearch/PLIST @@ -1,14 +1,10 @@ -@comment $NetBSD: PLIST,v 1.8 2015/12/31 09:57:31 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.9 2016/04/29 10:16:01 fhajny Exp $ lib/elasticsearch/HdrHistogram-2.1.6.jar -lib/elasticsearch/antlr-runtime-3.5.jar lib/elasticsearch/apache-log4j-extras-1.2.17.jar -lib/elasticsearch/asm-4.1.jar -lib/elasticsearch/asm-commons-4.1.jar lib/elasticsearch/commons-cli-1.3.1.jar lib/elasticsearch/compiler-0.8.13.jar lib/elasticsearch/compress-lzf-1.0.2.jar lib/elasticsearch/${PKGNAME}.jar -lib/elasticsearch/groovy-all-2.4.4-indy.jar lib/elasticsearch/guava-18.0.jar lib/elasticsearch/hppc-0.7.1.jar lib/elasticsearch/jackson-core-2.6.2.jar @@ -21,22 +17,22 @@ lib/elasticsearch/joda-time-2.8.2.jar lib/elasticsearch/jsr166e-1.1.0.jar lib/elasticsearch/jts-1.13.jar lib/elasticsearch/log4j-1.2.17.jar -lib/elasticsearch/lucene-analyzers-common-5.3.1.jar -lib/elasticsearch/lucene-backward-codecs-5.3.1.jar -lib/elasticsearch/lucene-core-5.3.1.jar -lib/elasticsearch/lucene-expressions-5.3.1.jar -lib/elasticsearch/lucene-grouping-5.3.1.jar -lib/elasticsearch/lucene-highlighter-5.3.1.jar -lib/elasticsearch/lucene-join-5.3.1.jar -lib/elasticsearch/lucene-memory-5.3.1.jar -lib/elasticsearch/lucene-misc-5.3.1.jar -lib/elasticsearch/lucene-queries-5.3.1.jar -lib/elasticsearch/lucene-queryparser-5.3.1.jar -lib/elasticsearch/lucene-sandbox-5.3.1.jar -lib/elasticsearch/lucene-spatial-5.3.1.jar -lib/elasticsearch/lucene-spatial3d-5.3.1.jar -lib/elasticsearch/lucene-suggest-5.3.1.jar +lib/elasticsearch/lucene-analyzers-common-5.5.0.jar +lib/elasticsearch/lucene-backward-codecs-5.5.0.jar +lib/elasticsearch/lucene-core-5.5.0.jar +lib/elasticsearch/lucene-grouping-5.5.0.jar +lib/elasticsearch/lucene-highlighter-5.5.0.jar +lib/elasticsearch/lucene-join-5.5.0.jar +lib/elasticsearch/lucene-memory-5.5.0.jar +lib/elasticsearch/lucene-misc-5.5.0.jar +lib/elasticsearch/lucene-queries-5.5.0.jar +lib/elasticsearch/lucene-queryparser-5.5.0.jar +lib/elasticsearch/lucene-sandbox-5.5.0.jar +lib/elasticsearch/lucene-spatial-5.5.0.jar +lib/elasticsearch/lucene-spatial3d-5.5.0.jar +lib/elasticsearch/lucene-suggest-5.5.0.jar lib/elasticsearch/netty-3.10.5.Final.jar +lib/elasticsearch/securesm-1.0.jar lib/elasticsearch/snakeyaml-1.15.jar lib/elasticsearch/spatial4j-0.5.jar lib/elasticsearch/t-digest-3.0.jar diff --git a/databases/elasticsearch/distinfo b/databases/elasticsearch/distinfo index 75940f32fab..fd69d4f3547 100644 --- a/databases/elasticsearch/distinfo +++ b/databases/elasticsearch/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.15 2015/12/31 09:57:31 fhajny Exp $ +$NetBSD: distinfo,v 1.16 2016/04/29 10:16:01 fhajny Exp $ -SHA1 (elasticsearch-2.1.1.tar.gz) = 360ca8e329b8b0c34b1cd6012c452951f8d3e137 -RMD160 (elasticsearch-2.1.1.tar.gz) = 7f6f6f6d642178e5c1d6b666d135fa32f37f1c89 -SHA512 (elasticsearch-2.1.1.tar.gz) = eff12cd7342dc0036dc88f03ced9c7cc90d284222efeca86adfd9e4cf254cb8f96105c58673b239cfc9eb9764a2a669d2cd171ca73eb43b1ec1470a13c5e1776 -Size (elasticsearch-2.1.1.tar.gz) = 29007342 bytes -SHA1 (patch-bin_elasticsearch.in.sh) = 984c9fe74383f724932a6c1b9d88b1158fe4bbde +SHA1 (elasticsearch-2.3.2.tar.gz) = f94461a7bd88a46f3a30f971339122341ba20c65 +RMD160 (elasticsearch-2.3.2.tar.gz) = 406278756c2d195730530dd8b398fc83bedc58d2 +SHA512 (elasticsearch-2.3.2.tar.gz) = 73c4ca82eb0f4dc22907a94b9025e79183f6fcd38dbb82795800d10fc810dbee412784e62f9247390f0fb9aa19545976584bd2b62f1afe79d2cd64bb55f76dc8 +Size (elasticsearch-2.3.2.tar.gz) = 27543334 bytes +SHA1 (patch-bin_elasticsearch.in.sh) = 46c513d58b890ec10c85450887d455ca6e56d7b3 SHA1 (patch-bin_plugin) = 5ddd9b55797305c2c1e77b174ae410c00ecb7b89 SHA1 (patch-config_elasticsearch.yml) = 7729dfb1ed106f0a34e6daaf7a46d0352d42f1f1 diff --git a/databases/elasticsearch/patches/patch-bin_elasticsearch.in.sh b/databases/elasticsearch/patches/patch-bin_elasticsearch.in.sh index 46bb2934cd9..716167ffaed 100644 --- a/databases/elasticsearch/patches/patch-bin_elasticsearch.in.sh +++ b/databases/elasticsearch/patches/patch-bin_elasticsearch.in.sh @@ -1,4 +1,4 @@ -$NetBSD: patch-bin_elasticsearch.in.sh,v 1.2 2015/12/31 09:57:31 fhajny Exp $ +$NetBSD: patch-bin_elasticsearch.in.sh,v 1.3 2016/04/29 10:16:01 fhajny Exp $ Fix paths. @@ -8,8 +8,8 @@ Fix paths. exit 1 fi --ES_CLASSPATH="$ES_HOME/lib/elasticsearch-2.1.1.jar:$ES_HOME/lib/*" -+ES_CLASSPATH="@ES_LIBDIR@/elasticsearch-2.1.1.jar:@ES_LIBDIR@/*" +-ES_CLASSPATH="$ES_HOME/lib/elasticsearch-2.3.2.jar:$ES_HOME/lib/*" ++ES_CLASSPATH="@ES_LIBDIR@/elasticsearch-2.3.2.jar:@ES_LIBDIR@/*" if [ "x$ES_MIN_MEM" = "x" ]; then ES_MIN_MEM=256m |