Packaged for wip by Mike M. Volokhov and myself.
LevelDB is a fast key-value storage library written at Google that
provides an ordered mapping from string keys to string values.
phpredis 3.1.1
* Additional test updates for 32 bit systems (@remicollet)
* ARM rounding issue in tests (@remicollet)
* Use new zend_list_close instead of zend_list_delete when reconnecting.
* Refactoring of redis_boolean_response_impl and redis_sock_write
(@yatsukhnenko)
phpredis 3.1.1
This release contains mostly fixes for issues introduced when merging
the php 5 and 7 codebase into a single branch.
* Fixed a segfault in igbinary serialization (@yatsukhnenko)
* Restore 2.2.8/3.0.0 functionality to distinguish between an error
and simply empty session data. (@remicollet)
* Fix double to string conversion function (@yatsukhnenko)
* Use PHP_FE_END definition when available (@remicollet)
* Fixed various 'static function declared but not used' warnings
* Fixes to various calls which were typecasting pointers to the
wrong size. (@remicollet)
* Added php session unit test (@yatsukhnenko)
* Added explicit module dependancy for igbinary (@remicollet)
* Added phpinfo serialization information (@remicollet)
phpredis 3.1.1RC2
* Additional test updates for 32 bit systems (@remicollet)
* ARM rounding issue in tests (@remicollet)
* Use new zend_list_close instead of zend_list_delete when reconnecting.
* Refactoring of redis_boolean_response_impl and redis_sock_write
(@yatsukhnenko)
phpredis 3.1.1.RC1
This release contains mostly fixes for issues introduced when merging the php
5 and 7 codebase into a single branch.
* Fixed a segfault in igbinary serialization (@yatsukhnenko)
* Restore 2.2.8/3.0.0 functionality to distinguish between an error
and simply empty session data. (@remicollet)
* Fix double to string conversion function (@yatsukhnenko)
* Use PHP_FE_END definition when available (@remicollet)
* Fixed various 'static function declared but not used' warnings
* Fixes to various calls which were typecasting pointers to the
wrong size. (@remicollet)
* Added php session unit test (@yatsukhnenko)
* Added explicit module dependancy for igbinary (@remicollet)
* Added phpinfo serialization information (@remicollet)
phpredis 3.1.0
In this version of phpredis codebase was unified to work with all versions of
php \o/ Also many bug fixes and some improvements has been made.
--- Improvements ---
* Support the client to Redis Cluster just having one master (andyli) [892e5646]
* Allow both long and strings that are longs for zrangebyscore offset/limit
(Michael Grunder) [bdcdd2aa]
* Process NX|XX, CH and INCR options in zAdd command (Pavlo Yatsukhnenko)
[71c9f7c8]
--- Fixes ---
* Fix incrby/decrby for large integers (Michael Grunder) [3a12758a]
* Use static declarations for spl_ce_RuntimeException decl (Jeremy Mikola)
[a9857d69]
* Fixed method call problem causes session handler to display two times
(ZiHang Gao) [24f86c49]
* psetex method returns '+OK' on success, not true (sitri@ndxbn) [afcd8445]
* Fix integer overflow for long (>32bit) increments in hIncrBy (iyesin)
[58e1d799]
* Move zend_object handler to the end (Michael Grunder) [34107966]
* Using setOption on redis array causes immediate connection (Pavlo
Yatsukhnenko) [f1a85b38]
phpredis 2.2.8
The main improvement in this version of phpredis is support for Redis
Cluster. This version of phpredis is intended for versions of php older
than 7.
In addition there have been many bug fixes and improvements to non cluster
related commands, which are listed below.
I've attempted to include everyone who contribued to the project in each fix
description and have included names or github user ids.
Thanks to everyone for submitting bug reports and pull requests. A special
thanks to Remi Collet for helping with any and all packaging related issues
\o/
--- Improvements ---
* Added randomization to our seed nodes to balance which instance is used
to map the keyspace (Vitaliy Stepanyuk) [32eb1c5f]
* Added support for IPv6 addresses
--- Fixes ---
* PHP liveness checking workaround (Shafreeck Sea) [c18d58b9]
* Various documentation and code formatting and style fixes (ares333,
sanpili, Bryan Nelson, linfangrong, Romero Malaquias, Viktor Sz?pe)
* Fix scan reply processing to use long instead of int to avoid overflow
(mixiaojiong).
* Fix potential segfault in Redis Cluster session storage (Sergei Lomakov)
[cc15aae]
* Fixed memory leak in discard function [17b1f427]
* Sanity check for igbinary unserialization (Maurus Cuelenaere) [3266b222,
5528297a]
* Fix segfault occuring from unclosed socket connection for Redis Cluster
(CatKang) [04196aee]
* Case insensitive zRangeByScore options
* Fixed dreaded size_t vs long long compiler warning
=== 4.44.0 (2017-03-01)
* Add where_all, where_each, where_single_value model dataset methods, optimized for frozen datasets (jeremyevans)
* Add eager method to dataset_module (jeremyevans)
* Add implicit_subquery extension, for implicitly using a subquery for datasets using raw SQL when calling dataset methods that modify SQL (jeremyevans)
* Make Dataset#from_self keep the columns from the current dataset if present (jeremyevans)
* Add implicit_subquery extension, implicitly using subqueries for dataset methods if the current dataset uses raw SQL (jeremyevans)
* Make SQL::ValueList#inspect show that it is a value list (jeremyevans)
* Make LiteralString#inspect show that it is a literal string (jeremyevans)
* Make Model::Associations::AssociationReflection#inspect show reflection class and guess at association definition line (jeremyevans)
* Make SQLTime#inspect show it is an SQLTime instance, and only the time component (jeremyevans)
* Make SQL::Blob#inspect show that it is a blob, the number of bytes, and some or all of the content (jeremyevans)
* Make plugins not modify the constant namespace for the model class that uses them (jeremyevans)
* Do not modify encoding of SQL::Blob instances in force_encoding plugin (jeremyevans)
* Add Model.freeze_descendents to subclasses plugin, for easier finalizing associations/freezing of descendent classes (jeremyevans)
* Add Model.finalize_associations method for finalizing associations, speeding up some association reflections methods almost 10x (jeremyevans)
* Implement Model.freeze such that it can be used in production (jeremyevans)
* Recognize another disconnect error in the jdbc/as400 adapter (perlun) (#1300)
* Correctly handle conversion of false values when typecasting PostgreSQL arrays (mistoo) (#1299)
* Raise error if the postgres adapter attempts to load an incompatible version of sequel_pg (mahlonsmith) (#1298)
* Fix jdbc adapter so basic_type_convertor_map is not shared between instances, work with Database#freeze (jeremyevans)
=== 4.43.0 (2017-02-01)
* Make jdbc/postgresql adapter work if pg_hstore extension is loaded first (jeremyevans) (#1296)
* Make prepared_statements_associations plugin work correctly on some instance specific associations (jeremyevans)
* Make prepared_statements plugin not use prepared statements in cases where it is probably slower (jeremyevans)
* Optimize Model#refresh similar to Model.with_pk (jeremyevans)
* Make Database#extension not attempt to load the same extension more than once (jeremyevans)
* Implement Database#freeze such that it can be used in production (jeremyevans)
* Freeze enum_labels in the pg_enum extension (jeremyevans)
* Handle Database#type_supported? thread-safely on PostgreSQL (jeremyevans)
* Handle primary_key_sequences thread-safely on Oracle (jeremyevans)
* Handle sharding better when using mysql2 native prepared statements (jeremyevans)
* Use thread-safe incrementor for mock adapter autoid handling (jeremyevans)
* Make Model#freeze not freeze associations hash until after validating the model instance (jeremyevans)
* Make prepared_statements_associations plugin work correctly when model object explicitly specifies server to use when also using sharding plugin (jeremyevans)
* Make prepared_statements_with_pk plugin work correctly when dataset explicitly specifies server to use (jeremyevans)
* Make prepared_statements plugin work correctly when model object explicitly specifies server to use (jeremyevans)
* Make dataset_module inherited to subclasses when using the single_table_inheritance plugin (jeremyevans) (#1284)
* Support use of SQLite result codes in the jdbc-sqlite adapter, if the jdbc sqlite driver supports them (flash-gordon, jeremyevans) (#1283)
* Make timestamp migrator handle key length limitations when using MySQL with InnoDB engine and utf8mb4 charset default (jeremyevans) (#1282)
== v0.20.0 [2017-03-10] Michael Granger <ged@FaerieMUD.org>
Enhancements:
- Update error codes to PostgreSQL-9.6
- Update Windows binary gems to Ruby-2.4, PostgreSQL 9.6.1 and
OpenSSL 1.0.2j.
- Add support for RubyInstaller2 to Windows binary gems.
Bugfixes:
- Use secure JSON methods for JSON (de)serialisation. #248
- Fix Result#inspect on a cleared result.
- Fix test case that failed on Ruby-2.4. #255
Documentation fixes:
- Talk about Integer instead of Fixnum.
- Fix method signature of Coder#encode.
What's new in psycopg 2.7
-------------------------
New features:
- Added `~psycopg2.sql` module to generate SQL dynamically (🎫`#308`).
- Added :ref:`replication-support` (🎫`#322`). Main authors are
Oleksandr Shulgin and Craig Ringer, who deserve a huge thank you.
- Added `~psycopg2.extensions.parse_dsn()` and
`~psycopg2.extensions.make_dsn()` functions (🎟️`#321, #363`).
`~psycopg2.connect()` now can take both *dsn* and keyword arguments, merging
them together.
- Added `~psycopg2.__libpq_version__` and
`~psycopg2.extensions.libpq_version()` to inspect the version of the
``libpq`` library the module was compiled/loaded with
(🎟️`#35, #323`).
- The attributes `~connection.notices` and `~connection.notifies` can be
customized replacing them with any object exposing an `!append()` method
(🎫`#326`).
- Adapt network types to `ipaddress` objects when available. When not
enabled, convert arrays of network types to lists by default. The old `!Inet`
adapter is deprecated (🎟️`#317, #343, #387`).
- Added `~psycopg2.extensions.quote_ident()` function (🎫`#359`).
- Added `~connection.get_dsn_parameters()` connection method (🎫`#364`).
- `~cursor.callproc()` now accepts a dictionary of parameters (🎫`#381`).
- Give precedence to `!__conform__()` over superclasses to choose an object
adapter (🎫`#456`).
- Using Python C API decoding functions and codecs caching for faster
unicode encoding/decoding (🎫`#473`).
- `~cursor.executemany()` slowness addressed by
`~psycopg2.extras.execute_batch()` and `~psycopg2.extras.execute_values()`
(🎫`#491`).
- Added ``async_`` as an alias for ``async`` to support Python 3.7 where
``async`` will become a keyword (🎫`#495`).
- Unless in autocommit, do not use :sql:`default_transaction_*` settings to
control the session characteristics as it may create problems with external
connection pools such as pgbouncer; use :sql:`BEGIN` options instead
(🎫`#503`).
- `~connection.isolation_level` is now writable and entirely separated from
`~connection.autocommit`; added `~connection.readonly`,
`~connection.deferrable` writable attributes.
Bug fixes:
- Fixed error caused by missing decoding `~psycopg2.extras.LoggingConnection`
(🎫`#483`).
- Fixed integer overflow in :sql:`interval` seconds (🎫`#512`).
Other changes:
- Dropped support for Python 2.5 and 3.1.
- Dropped support for client library older than PostgreSQL 9.1 (but older
server versions are still supported).
- `~connection.isolation_level` doesn't read from the database but will return
`~psycopg2.extensions.ISOLATION_LEVEL_DEFAULT` if no value was set on the
connection.
- Empty arrays no more converted into lists if they don't have a type attached
(🎫`#506`)
5.2.2
- The request circuit breaker, which track the size of in-flight
requests, was not decrementing its counter when the connection was
closed by the client before the response could be returned. This could
result in no further requests being accepted until the node has been
restarted. All users should upgrade to take advantage of this bug fix.
- The cgroup functionality (for reading OS stats for containers) had a
bug in the regex for parsing /proc/self/cgroup which prevented nodes
with multiple hierarchies from starting up.
- Requests which have been delayed by a shard lock might be executed
later on a different thread which lacks the request context, resulting
in the requests being incorrectly rejected as unauthorised.
- Removal of an undocumented syntax for include/exclude parameters in
the terms aggregation broke certain aggregations in Kibana.
5.2.1
- When stored fields are configured with best_compression, we rely on
JVM garbage collection to reclaim Deflater/Inflater instances. However
these classes use little JVM memory but may use significant native
memory, so if may happen that the OS runs out of native memory before
the JVM collects these unreachable Deflater/Inflater instances.
- Certain queries can hold a reference to the IndexReader that was used
to build them. When these queries are cached, this reference causes
Lucene to hold onto segments long after they should have been deleted.
Features
- Quote index names in metadata CQL generation (PYTHON-616)
- On column deserialization failure, keep error message consistent
between python and cython (PYTHON-631)
- TokenAwarePolicy always sends requests to the same replica for a given
key (PYTHON-643)
- Added cql types to result set (PYTHON-648)
- Add __len__ to BatchStatement (PYTHON-650)
- Duration Type for Cassandra (PYTHON-655)
- Send flags with PREPARE message in v5 (PYTHON-684)
Bug Fixes
- Potential Timing issue if application exits prior to session pool
initialization (PYTHON-636)
- "Host X.X.X.X has been marked down" without any exceptions
(PYTHON-640)
- NoHostAvailable or OperationTimedOut when using execute_concurrent
with a generator that inserts into more than one table (PYTHON-642)
- ResponseFuture creates Timers and don't cancel them even when result
is received which leads to memory leaks (PYTHON-644)
- Driver cannot connect to Cassandra version > 3 (PYTHON-646)
- Unable to import model using UserType without setuping connection
since 3.7 (PYTHON-649)
- Don't prepare queries on ignored hosts on_up (PYTHON-669)
- Sockets associated with sessions not getting cleaned up on
session.shutdown() (PYTHON-673)
- Make client timestamps strictly monotonic (PYTHON-676)
- cassandra.cqlengine.connection.register_connection broken when
hosts=None (PYTHON-692)
Other
- Create a cqlengine doc section explaining None semantics (PYTHON-623)
- Resolve warnings in documentation generation (PYTHON-645)
- Cython dependency (PYTHON-686)
- Drop Support for Python 2.6 (PYTHON-690)
5.2.0 (2017-02-12)
- The client now automatically sends Content-Type http header set
to application/json. If you are explicitly passing in other
encoding than json you need to set the header manually.
5.1.0 (2017-01-11)
- Fixed sniffing
=== Breaking changes
Core::
- Add system call filter bootstrap check
=== Breaking Java changes
Allocation::
- Cluster Explain API uses the allocation process to explain shard
allocation decisions
Cluster::
- Remove PROTO-based custom cluster state components
Ingest::
- Change type of ingest doc meta-data field 'TIMESTAMP' to `Date`
Internal::
- Consolidate the last easy parser construction
- Introduce XContentParser#namedObject
Plugins::
- Plugins: Replace Rest filters with RestHandler wrapper
Query DSL::
- Resolve index names in indices_boost
Search::
- Cluster search shards improvements: expose ShardId, adjust visibility
of some members
=== Deprecations
Java API::
- Deprecate and remove "minimumNumberShouldMatch" in BoolQueryBuilder
Shadow Replicas::
- Add a deprecation notice to shadow replicas
=== New features
Analysis::
- Synonym Graph Support (LUCENE-6664)
Ingest::
- introduce KV Processor in Ingest Node
Mapping::
- Add the ability to set a normalizer on keyword fields.
- Add RangeFieldMapper for numeric and date range types
=== Enhancements
Aggregations::
- `value_type` is useful regardless of scripting.
- Support for partitioning set of terms
Allocation::
- Adds setting level to allocation decider explanations
- Improves allocation decider decision explanation messages
- Prepares allocator decision objects for use with the allocation
explain API
Analysis::
- Expose FlattenGraphTokenFilter
CRUD::
- Use correct block levels for TRA subclasses
Cluster::
- Keep NodeConnectionsService in sync with current nodes in the cluster
state
- Add a generic way of checking version before serializing custom
cluster object
- Add validation for supported index version on node join, restore,
upgrade & open index
- Let ClusterStateObserver only hold onto state that's needed for change
detection
- Remove mutable status field from cluster state
Core::
- Rename bootstrap.seccomp to bootstrap.system_call_filter
- Cleanup random stats serialization code
- Avoid corruption when deserializing booleans
- Reduce memory pressure when sending large terms queries.
Discovery::
- Simplify Unicast Zen Ping
- Prefer joining node with conflicting transport address when becoming
master
Ingest::
- add `ignore_missing` flag to ingest plugins
- Added ability to remove pipelines via wildcards (#22149)
- Enables the ability to inject serialized json fields into root of
document
- compile ScriptProcessor inline scripts when creating ingest pipelines
Internal::
- Remove some more usages of ParseFieldMatcher
- Remove some more usages of ParseFieldMatcher
- Remove some ParseFieldMatcher usages
- Add infrastructure to manage network connections outside of
Transport/TransportService
- Replace strict parsing mode with response headers assertions
- Start using `ObjectParser` for aggs.
- Don't output null source node in RecoveryFailedException
- ClusterService should expose "applied" cluster states (i.e., remove
ClusterStateStatus)
Java High Level REST Client::
- Add fromxcontent methods to index response
- Add fromXContent() methods for ReplicationResponse
- Add parsing method for ElasticsearchException
- Add fromXContent method to GetResponse
Java REST Client::
- Warn log deprecation warnings received from server
Logging::
- Log deleting indices at info level
- Log failure to connect to node at info instead of debug
Mapping::
- Atomic mapping updates across types
- Only update DocumentMapper if field type changes
- Better error message when `_parent` isn't an object
Network::
- Disable the Netty recycler
- Tell Netty not to be unsafe in transport client
- Introduce a low level protocol handshake
- Detach handshake from connect to node
- Reduce number of connections per node depending on the nodes role
- Add a connect timeout to the ConnectionProfile to allow per node
connect timeouts
- Grant Netty permission to read system somaxconn
- Remove connectToNodeLight and replace it with a connection profile
Packaging::
- Improve the out-of-the-box experience
Plugin Discovery EC2::
- Add support for ca-central-1 region to EC2 and S3 plugins
- Support for eu-west-2 (London) cloud-aws plugin
- Add us-east-2 AWS region
- Add setting to set read timeout for EC2 discovery and S3 repository
plugins
Plugin Ingest GeoIp::
- Cache results of geoip lookups
Plugin Lang Painless::
- Improve painless's ScriptException generation
Plugins::
- Pass ThreadContext to transport interceptors to allow header
modification
- Provide helpful error message if a plugin exists
- Add shutdown hook for closing CLI commands
- Allow plugins to install bootstrap checks
Query DSL::
- Un-deprecate fuzzy query
- support numeric bounds with decimal parts for long/integer/short/byte
datatypes
Reindex API::
- Reindex: Better error message for pipeline in wrong place
- Timeout improvements for rest client and reindex
Scripting::
- Wrap VerifyError in ScriptException
- Log ScriptException's xcontent if file script compilation fails
Search::
- Move SearchTransportService and SearchPhaseController creation outside
of TransportSearchAction constructor
- Don't carry ShardRouting around when not needed in
AbstractSearchAsyncAction
- ShardSearchRequest to take ShardId constructor argument rather than
the whole ShardRouting
- Use index uuid as key in the alias filter map rather than the index
name
Settings::
- Speed up filter and prefix settings operations
Snapshot/Restore::
- Fixes retrieval of the latest snapshot index blob
- Synchronize snapshot deletions on the cluster state
Stats::
- Include unindexed field in FieldStats response
Task Manager::
- Improve the error message if task and node isn't found
- Add descriptions to create snapshot and restore snapshot tasks.
- Add proper descriptions to reindex, update-by-query and
delete-by-query tasks.
=== Bug fixes
Aggregations::
- Fix scaled_float numeric type in aggregations
- Allow terms aggregations on pure boolean scripts.
- Fix numeric terms aggregations with includes/excludes and
minDocCount=0
- Fix `missing` on aggs on `boolean` fields.
- IP range masks exclude the maximum address of the range.
- Fix `other_bucket` on the `filters` agg to be enabled if a key is set.
Allocation::
- Cannot force allocate primary to a node where the shard already exists
- Promote shadow replica to primary when initializing primary fails
- Trim in-sync allocations set only when it grows
Analysis::
- AsciiFoldingFilter's multi-term component should never preserve the
original token.
- Pre-built analysis factories do not implement MultiTermAware
correctly.
CRUD::
- Reject external versioning and explicit version numbers on create
Cluster::
- IndicesService handles all exceptions during index deletion
Core::
- Streamline foreign stored context restore and allow to perserve
response headers
- Support negative numbers in readVLong
Discovery::
- Close InputStream when receiving cluster state in
PublishClusterStateAction
- Do not reply to pings from another cluster
Engine::
- Close and flush refresh listeners on shard close
Exceptions::
- Fixing shard recovery error message to report the number of docs
correctly for each node
Highlighting::
- Fix FiltersFunctionScoreQuery highlighting
Index APIs::
- Ensure shrunk indices carry over version information from its source
Ingest::
- fix index out of bounds error in KV Processor
- Fixes GrokProcessor's ignorance of named-captures with same name.
Inner Hits::
- Inner hits and ignore unmapped
Internal::
- Index creation and setting update may not return deprecation logging
Java API::
- Don't output empty ext object in SearchSourceBuilder#toXContent
Java REST Client::
- Don't use null charset in RequestLogger
Mapping::
- The `_all` default mapper is not completely configured.
- Fix MapperService.allEnabled().
- Dynamic `date` fields should use the `format` that was used to detect
it is a date.
- Sub-fields should not accept `include_in_all` parameter
- Mappings: Fix get mapping when no indexes exist to not fail in
response generation
Nested Docs::
- Fix bug in query builder rewrite that ignores the ignore_unmapped
option
Network::
- Pass `forceExecution` flag to transport interceptor
- Ensure new connections won't be opened if transport is closed or
closing
- Prevent open channel leaks if handshake times out or is interrupted
- Execute low level handshake in #openConnection
- Properly configure Netty 3 ClientBootstrap when using custom
connection profile
- Handle connection close / reset events gracefully during handshake
- Do not lose host information when pinging
- DiscoveryNode and TransportAddress should preserve host information
Packaging::
- Another fix for handling of paths on Windows
- Fix handling of spaces in Windows paths
- Add option to skip kernel parameters on install
Percolator::
- Fix NPE in percolator's 'now' range check for percolator queries with
range queries
Plugin Analysis Stempel::
- Fix thread safety of Stempel's token filter factory
Plugin Lang Painless::
- Whitelist some ScriptDocValues in painless
- Update Painless Loop Counter to be Higher
- Fix some issues with painless's strings
- Test fix for def equals in Painless
- Fix a VerifyError bug in Painless
Plugin Mapper Attachment::
- NPE is raised when defining a non existing type within attachments
type
Plugin Repository Azure::
- Fixes default chunk size for Azure repositories
- readonly on azure repository must be taken into account
Query DSL::
- Fix script score function that combines `_score` and weight
REST::
- Adds percent-encoding for Location headers
Recovery::
- Fix primary relocation for shadow replicas
- Don't close store under CancellableThreads
- Use a fresh recovery id when retrying recoveries
- Allow flush/force_merge/upgrade on shard marked as relocated
Reindex API::
- Fix reindex from remote clearing scroll
- Fix source filtering in reindex-from-remote
- Remove content type detection from reindex-from-remote
- Don't close rest client from its callback
- Keep context during reindex's retries
Scripting::
- Expose `ip` fields as strings in scripts.
Search::
- Improve concurrency of ShardCoreKeyMap.
- Make `-0` compare less than `+0` consistently.
- Fix boost_mode propagation when the function score query builder is
rewritten
- FiltersAggregationBuilder: rewriting filter queries, the same way as
in FilterAggregationBuilder
- Fix cross_fields type on multi_match query with synonyms
Search Templates::
- SearchTemplateRequest to implement CompositeIndicesRequest
Settings::
- Handle spaces in `action.auto_create_index` gracefully
- Fix settings diff generation for affix and group settings
Snapshot/Restore::
- Gracefully handles pre 2.x compressed snapshots
- URLRepository should throw NoSuchFileException to correctly adhere to
readBlob contract
- Fixes shard level snapshot metadata loading when index-N file is
missing
Stats::
- Implement stats for geo_point and geo_shape field
- Use reader for doc stats
- Avoid NPE in NodeService#stats if HTTP is disabled
- Add support for "include_segment_file_sizes" in indices stats REST
handler
Term Vectors::
- Fix `_termvectors` with preference to not hit NPE
- Return correct term statistics when a field is not found in a shard
=== Regressions
Core::
- Source filtering: only accept array items if the previous include
pattern matches
Logging::
- Restores the original default format of search slow log
Search::
- Handle specialized term queries in MappedFieldType.extractTerm(Query)
=== Upgrades
Core::
- Upgrade to Lucene 6.4.0
- Update Jackson to 2.8.6
- Upgrade to lucene-6.4.0-snapshot-084f7a0.
- Upgrade to lucene-6.4.0-snapshot-ec38570
================================================================================
Redis 3.2.8 Released Sun Feb 12 16:11:18 CET 2017
================================================================================
Two important bug fixes, the first of one is critical:
1. Apparently Jemalloc 4.4.0 may contain a deadlock under particular
conditions. See https://github.com/antirez/redis/issues/3799.
We reverted back to the previously used Jemalloc versions and plan
to upgrade Jemalloc again after having more info about the
cause of the bug.
2. MIGRATE could crash the server after a socket error. See for reference:
https://github.com/antirez/redis/issues/3796.
================================================================================
Redis 3.2.7 Released Tue Jan 31 16:21:41 CET 2017
================================================================================
Main bugs fixes and improvements in this release:
1. MIGRATE could incorrectly move keys between Redis Cluster nodes by turning
keys with an expire set into persisting keys. This bug was introduced with
the multiple-keys migration recently. It is now fixed. Only applies to
Redis Cluster users that use the resharding features of Redis Cluster.
2. As Redis 4.0 beta and the unstable branch already did (for some months at
this point), Redis 3.2.7 also aliases the Host: and POST commands to QUIT
avoiding to process the remaining pipeline if there are pending commands.
This is a security protection against a "Cross Scripting" attack, that
usually involves trying to feed Redis with HTTP in order to execute commands.
Example: a developer is running a local copy of Redis for development
purposes. She also runs a web browser in the same computer. The web browser
could send an HTTP request to http://127.0.0.1:6379 in order to access the
Redis instance, since a specially crafted HTTP requesta may also be partially
valid Redis protocol. However if POST and Host: break the connection, this
problem should be avoided. IMPORTANT: It is important to realize that it
is not impossible that another way will be found to talk with a localhost
Redis using a Cross Protocol attack not involving sending POST or Host: so
this is only a layer of protection but not a definitive fix for this class
of issues.
3. A ziplist bug that could cause data corruption, could crash the server and
MAY ALSO HAVE SECURITY IMPLICATIONS was fixed. The bug looks complex to
exploit, but attacks always get worse, never better (cit). The bug is very
very hard to catch in practice, it required manual analysis of the ziplist
code in order to be found. However it is also possible that rarely it
happened in the wild. Upgrading is required if you use LINSERT and other
in-the-middle list manipulation commands.
4. We upgraded to Jemalloc 4.4.0 since the version we used to ship with Redis
was an early 4.0 release of Jemalloc. This version may have several
improvements including the ability to better reclaim/use the memory of
system.
* Approximately 25% better performance from the R-Tree extension.
* Uses compiler built-ins (ex: __builtin_bswap32() or _byteswap_ulong()) for byteswapping when available.
* Uses the sqlite3_blob key/value access object instead of SQL for pulling content out of R-Tree nodes
* Other miscellaneous enhancements such as loop unrolling.
* Add the SQLITE_DEFAULT_LOOKASIDE compile-time option.
* Increase the default lookaside size from 512,125 to 1200,100 as this provides better performance while only adding 56KB of extra memory per connection. Memory-sensitive applications can restore the old default at compile-time, start-time, or run-time.
* Use compiler built-ins __builtin_sub_overflow(), __builtin_add_overflow(), and __builtin_mul_overflow() when available. (All compiler built-ins can be omitted with the SQLITE_DISABLE_INTRINSIC compile-time option.)
* Added the SQLITE_ENABLE_NULL_TRIM compile-time option, which can result in significantly smaller database files for some applications, at the risk of being incompatible with older versions of SQLite.
* Change SQLITE_DEFAULT_PCACHE_INITSZ from 100 to 20, for improved performance.
* Added the SQLITE_UINT64_TYPE compile-time option as an analog to SQLITE_INT64_TYPE.
* Perform some UPDATE operations in a single pass instead of in two passes.
* Enhance the session extension to support WITHOUT ROWID tables.
* Fixed performance problems and potential stack overflows when creating views from multi-row VALUES clauses with hundreds of thousands of rows.
* Added the sha1.c extension.
* In the command-line shell, enhance the ".mode" command so that it restores the default column and row separators for modes "line", "list", "column", and "tcl".
* Enhance the SQLITE_DIRECT_OVERFLOW_READ option so that it works in WAL mode as long as the pages being read are not in the WAL file.
* Enhance the LEMON parser generator so that it can store the parser object as a stack variable rather than allocating space from the heap and make use of that enhancement in the amalgamation.
* Other performance improvements. Uses about 6.5% fewer CPU cycles.
Bug Fixes:
* Throw an error if the ON clause of a LEFT JOIN references tables to the right of the ON clause. This is the same behavior as PostgreSQL. Formerly, SQLite silently converted the LEFT JOIN into an INNER JOIN.
* Use the correct affinity for columns of automatic indexes.
* Ensure that the sqlite3_blob_reopen() interface can correctly handle short rows.
6.2.4:
* More complete fix for pkgsrc.
6.2.3:
* Update copyright notices.
* Solve a conflict between different installations of Berkeley DB
on some pkgsrc configurations.
6.2.2:
* Correctly detect Berkeley DB installations in SmartOS native zones.
* "Probably" (not tested) correctly detect Berkeley DB in pkgsrc systems.
New Features/Improvements
-------------------------
Added support for global message prefixes.
Added Replication Manager write forwarding, which enables a client to perform simple put and delete operations by forwarding them to the master.
Improved the way we mark a password as consumed.
Added support for IPv6.
Added support for Java 8.
Added support for ARMv7 and above, and for ARM64. ARMv6 and below are no longer supported.
Add a new SMP-optimized data model that is especially valuable for highly multithreaded applications. A sliced Berkeley DB instance contains a collection of related Berkeley DB environments, known as slices, each containing a disjoint subset of records. Transactional consistency is individually maintained within each slice, rather than across multiple slices.
DB now supports the client-server architecture by providing a stand-alone server program and Java client driver APIs. The server program offers remote access to DB features. The client driver APIs provide building blocks for applications that communicate with a database server. Multiple client applications can communicate with a single server simultaneously.
Enabled support of the SQLite user authentication extension.
Added Visual Studio 2012 projects.
Encryption and checksum can now be enabled with external files (formerly known as BLOBs). Note that only the data stored in the database will be encrypted and checksum protected. The data in the external files will not be encrypted or checksum protected.
The BLOB files feature has been renamed external files to reduce confusion with the SQL BLOB datatype. The BLOB related functions have been deprecated, and replaced with new function names; for example, ext_file_threshold has replaced blob_threshold, and blob_threshold is deprecated. See the Upgrading section of the documentation for more details.
MASTER_SITES= site1 \
site2
style continuation lines to be simple repeated
MASTER_SITES+= site1
MASTER_SITES+= site2
lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
Aggregations::
- Allow terms aggregations on pure boolean scripts.
- IP range masks exclude the maximum address of the range.
- Fix `other_bucket` on the `filters` agg to be enabled if a key is set.
Allocation::
- Promote shadow replica to primary when initializing primary fails
- Trim in-sync allocations set only when it grows
Analysis::
- Pre-built analysis factories do not implement MultiTermAware
correctly.
CRUD::
- Reject external versioning and explicit version numbers on create
Core::
- Support negative numbers in readVLong
Exceptions::
- Fixing shard recovery error message to report the number of docs
correctly for each node
Index APIs::
- Ensure shrunk indices carry over version information from its source
Internal::
- Don't output null source node in RecoveryFailedException
Java REST Client::
- Don't use null charset in RequestLogger
Logging::
- Restores the original default format of search slow log
Mapping::
- Only update DocumentMapper if field type changes
- The `_all` default mapper is not completely configured.
- Fix MapperService.allEnabled().
Network::
- Disable the Netty recycler
- Tell Netty not to be unsafe in transport client
Nested Docs::
- Fix bug in query builder rewrite that ignores the ignore_unmapped
option
Packaging::
- Another fix for handling of paths on Windows
Percolator::
- Fix NPE in percolator's 'now' range check for percolator queries with
range queries
Plugins::
- Provide helpful error message if a plugin exists
- Add shutdown hook for closing CLI commands
Plugin Lang Painless::
- Update Painless Loop Counter to be Higher
Plugin Repository Azure::
- readonly on azure repository must be taken into account
Recovery::
- Fix primary relocation for shadow replicas
- Don't close store under CancellableThreads
- Use a fresh recovery id when retrying recoveries
- Allow flush/force_merge/upgrade on shard marked as relocated
Reindex API::
- Don't close rest client from its callback
Search::
- Improve concurrency of ShardCoreKeyMap.
- Make `-0` compare less than `+0` consistently.
- FiltersAggregationBuilder: rewriting filter queries, the same way as
in FilterAggregationBuilder
Stats::
- Implement stats for geo_point and geo_shape field
- Use reader for doc stats
- Avoid NPE in NodeService#stats if HTTP is disabled
- Add support for "include_segment_file_sizes" in indices stats REST
handler
Term Vectors::
- Fix _termvectors with preference to not hit NPE
- Return correct term statistics when a field is not found in a shard
sqlrelay 1.0.0
- updated md5 pwdenc to use rudiments md5 class
- solved a long-standing hang that could occur if the database password
expired while sqlrelay was running, and the sqlr-scaler attempted to
start new connections
- added convertcase, convertcasedoublequotes, and removedoublequotes
parameters to normalize translation module
- added ColumnCaseName parameter to ODBC driver
- fixed a subtle bug in the ODBC driver that caused the first row to be
skipped if columns were not bound
- added -backtrace option for debugging
- fixed mysql connection module so it can use the statement API on
Windows
- fixed semaphore reference-before-init bug in sqlrservercontroller
- added support for db, debug, columnnamecase, dontgetcolumninfo,
nullsasnulls, and lazyconnect connect-string options to all drivers
(though in some they are camel-case and others lower-case)
- in DB-abstraction-layer drivers, the debug, dontgetcolumninfo,
nullsasnulls, lazyconnect, krb, and tls connect-string options now
support any yes/no equivalent such as yes, Yes, y, Y, true, True, 1,
(and similar for no)
- fixed a regression that could cause crashes in the C#/ADO driver when
binding null or date values
- added all parameters to ODBC config screen
- removed calls to mysql_stmt_store_result/mysql_stmt_num_rows from
mysql connection to improve performance. mysql connection doesn't know
the total number of rows prior to full fetch now (which is consistent
with most other databases).
- updated postgresql connection to use an unnamed cursor instead of
naming it and having to deallocate it over an over
- tweaked skipWhitespaceAndComments and related methods to use
charstring::isNullOrEmpty and character::isWhitespace
- replaced regular expression comparisons in sap/freetds connections
with simpler charstring comparisons
- updated db2 connection to reuse the statement instead of recreating it
with each prepare
- made column-lookup by name case sensitive to improve performance
- fixed nagle-disable and sizing of socket read/write buffers
- changed default maxcursors to 5
- fixed an uninitialized variable in the firebird connection
- python api's are installed in dist-packages subdirectory on systems
that have that instead of site-packages
- added route-entire-session option to router modules
sqlrelay 0.67.0
- general documenation clean-up
- added missing all: target to man/Makefile
- mysql_info in drop-in library for mysql returns NULL instead of "" now
- mysql_errno in the drop-in library now returns the error number from
the DB, instead of CR_UNKNOWN_ERROR, if no error map is provided, and
the backend database is known to be mysql
- mysql_refresh in the drop-in library works with options other than
REFRESH_GRANT now
- mysql_shutdown/kill in the drop-in library return 1 on failure now
rather than 2000
- date/time and timestamp types are recognized as binary types now
- year/timestamp types are recognized as unsigned types now
- TINY/MEDIUM/LONG_TEXT types are recognized as blobs now
- mapping date/time to MYSQL_TYPE_DATE/TIME, rather than
MYSQL_TYPE_DATETIME is the default in the drop-in library now and
SQLR_MAP_DATETIME_TO_DATE has been removed
- mysql drop-in library sets column flags correctly now
- mysql drop-in library runs appropriate kill/shutdown queries now
- mysql connection uses non-stmt api for "show *" queries now
- mysql drop-in library runs "show processlist" for mysql_list_processes
- mysql drop-in library supports date/time/datetime input binds now
instead of just treating them all as datetimes
- connection modules differentiate between date/time/datetime binds now
instead of just treating them all as datetimes
- added result set row translation module framework
- updated firebird connection module to the fieldstruct.textbuffer
instead of fieldbuffer for non-text to text translations
- added support for negative times in mysql connection module and
drop-in library
- added translation-failure event
- general refactoring of server module API
- consolidated sqlr-scaler code
- fixed a 1-byte empty-blob memory leak in the client
- /etc/alternatives/java_sdk is preferred, if found, now
=== 4.42.1 (2017-01-12)
* Make dataset_module inherited to subclasses when using the single_table_inheritance plugin (jeremyevans) (#1284)
=== 4.42.0 (2017-01-01)
* Handle eager load callbacks correctly for one_to_one associations with orders or offsets when window functions are not supported (jeremyevans)
* Raise Sequel::Error if using an :eager_limit dataset option when eager loading a singular association (jeremyevans)
* Replace internal uses of Dataset#select_more with #select_append to save a method call (jeremyevans)
* Make Dataset#order_append the primary method, and #order_more the alias, for similarity to #select_append and #select_more (jeremyevans)
* Replace internal uses of Dataset#filter with #where to save a method call (jeremyevans)
* Do not set :auto_increment in the schema information for integer columns that are part of a composite primary key on SQLite (jeremyevans)
* Use autoincrement setting on integer primary key columns when emulating table modification methods on SQLite (thenrio, jeremyevans) (#1277, #1278)
* Make the pagination extension work on frozen datasets (jeremyevans)
* Make Dataset#server work for frozen model datasets using the sharding plugin (jeremyevans)
* Make Dataset#nullify in the null_dataset extension work on frozen datasets (jeremyevans)
* Make Model#set_server work when using a frozen model dataset (jeremyevans)
* Make Dataset#ungraphed work on a frozen model dataset (jeremyevans)
* Add Dataset#with_{autoid,fetch,numrows} to the mock adapter, returning cloned datasets with the setting changed (jeremyevans)
* Make looser_typecasting extension handle the strict BigDecimal parsing introduced in ruby 2.4rc1 (jeremyevans)
* Make Database#{db,opts}= in the sequel_3_dataset_methods extension raise for frozen datasets (jeremyevans)
* Speed up repeated calls to Dataset#{interval,range} for frozen datasets using a cached placeholder literalizer (jeremyevans)
* Speed up repeated calls to Dataset#get with a single argument for frozen datasets using a cached placeholder literalizer (jeremyevans)
* Speed up repeated calls to Dataset#{first,last} with arguments/blocks for frozen datasets using a cached placeholder literalizer (jeremyevans)
* Speed up repeated calls to Dataset#{avg,min,max,sum} for frozen datasets using a cached placeholder literalizer (jeremyevans)
* Cache dataset returned by Dataset#skip_locked for frozen datasets (jeremyevans)
* Cache dataset returned by Dataset#for_update for frozen datasets (jeremyevans)
* Cache dataset returned by Dataset#un{filtered,grouped,limited,ordered} for frozen datasets (jeremyevans)
* Cache dataset returned by Dataset#reverse (no args) for frozen datasets (jeremyevans)
* Cache dataset returned by Dataset#invert for frozen datasets (jeremyevans)
* Speed up repeated calls to Dataset#count with an argument or block for frozen datasets using a cached placeholder literalizer (jeremyevans)
* Using :on_duplicate_columns=>:warn Database option with duplicate_columns_handler now prepends file/line to the warning message (jeremyevans)
* Move identifier mangling code to identifier_mangling extension, load by default unless using :identifier_mangling=>false Database option (jeremyevans)
* Allow Dataset#with_extend to accept a block and create a module with that block that the object is extended with (jeremyevans)
* Speed up repeated calls to with_pk on the same frozen model dataset using a cached placeholder literalizer (jeremyevans)
* Add dataset_module methods such as select and order that define dataset methods which support caching for frozen datasets (jeremyevans)
* Cache subset datasets if they don't use blocks or procs for frozen model datasets (jeremyevans)
* Cache intermediate dataset used in Dataset#{last,paged_each} for frozen model datasets without an order (jeremyevans)
* Cache dataset returned by Dataset#naked for frozen datasets (jeremyevans)
* Cache intermediate dataset used in Dataset#last (no args) for frozen datasets (jeremyevans)
* Cache intermediate dataset used in Dataset#first (no args) and #single_record for frozen datasets (jeremyevans)
* Cache intermediate dataset used in Dataset#empty? for frozen datasets (jeremyevans)
* Cache intermediate dataset used in Dataset#count (no args) for frozen datasets (jeremyevans)
* Warn if :conditions option may be unexpectedly ignored during eager_graph/association_join (jeremyevans) (#1272)
* Cache SELECT and DELETE SQL for most frozen datasets (jeremyevans)
* Freeze most SQL::Expression objects and internal state by default (jeremyevans)
* Freeze Dataset::PlaceholderLiteralizer and Dataset::PlaceholderLiteralizer::Argument instances (jeremyevans)
* Freeze most dataset opts values to avoid unintentional modification (jeremyevans)
* Add Dataset#with_convert_smallint_to_bool on DB2, returning a clone with convert_smallint_to_bool set (jeremyevans)
* Make Dataset#freeze actually freeze the dataset on ruby 2.4+ (jeremyevans)
* Avoid using instance variables other than @opts for dataset data storage (jeremyevans)
* Add freeze_datasets extension, making all datasets for a given Database frozen (jeremyevans)
* Refactor prepared statement internals, using opts instead of instance variables (jeremyevans)
* Model.set_dataset now operates on a clone of the dataset given instead of modifying it, so it works with frozen datasets (jeremyevans)
=== 4.41.0 (2016-12-01)
* Add Dataset#with_mssql_unicode_strings on Microsoft SQL Server, returning a clone with mssql_unicode_strings set (jeremyevans)
* Add Dataset#with_identifier_output_method, returning a clone with identifier_output_method set (jeremyevans)
* Add Dataset#with_identifier_input_method, returning a clone with identifier_input_method set (jeremyevans)
* Add Dataset#with_quote_identifiers, returning a clone with quote_identifiers set (jeremyevans)
* Add Dataset#with_extend, returning a clone extended with given modules (jeremyevans)
* Add Dataset#with_row_proc, returning a clone with row_proc set (jeremyevans)
* Support use of SQL::AliasedExpressions as Model#to_json :include option keys in the json_serializer plugin (sensadrome) (#1269)
* Major improvements to type conversion in the ado adapter (vais, jeremyevans) (#1265)
* Avoid memory leak in ado adapter by closing result sets after yielding them (vais, jeremyevans) (#1259)
* Fix hook_class_methods plugin handling of commit hooks (jeremyevans)
* Make association dataset method correctly handle cases where key fields are nil (jeremyevans)
* Handle pure java exceptions that don't support message= when reraising the exception in the jdbc adapter (jeremyevans)
* Add support for :offset_strategy Database option on DB2, with :limit_offset and :offset_fetch values, to disable OFFSET emulation (#1254) (jeremyevans)
* Remove deprecated support for using Bignum class as a generic type (jeremyevans)
Changes since 1.5.0:
- allow mixed $ and non-$ query ops.
- Missing exports of mongoc_gridfs_file_set_*() functions.
- update define constants for "find" opts to be unique.
- Windows CA stores should be opened with read-only flag.
- Fix SEGFAULT with performance counters on NUMA (thanks to Jonathan Wang).
- Prevent rare assertion error in mongoc_cluster_stream_for_server.
- Improve error messages from auth failure.
- Escape quotes when appending CFLAGS to handshake metadata.
- Fix OpenSSL header lookups in non-default paths.
- Fix build failure with LibreSSL.
- Add connect options MYSQL_OPT_MAX_ALLOWED_PACKET, MYSQL_OPT_NET_BUFFER_LENGTH,
MYSQL_OPT_TLS_VERSION and MYSQL_OPT_SSL_MODE
- Fix Visual Studio 2015 build.
- Fix segmentation fault when inserting a large string
- Fix Compilation Failure with PRE-5.7 C API
2.1.16
- Avoid infinitely looping result set when paging SELECT queries with
an IN clause with duplicate keys by treating the IN values as a set
instead of a list
- Add system property to set the max number of native transport requests
in queue
- Include column family parameter when -st and -et are provided
- Fix queries with empty ByteBuffer values in clustering column
restrictions
- Disable passing control to post-flush after flush failure to prevent
data loss
- Allow STCS-in-L0 compactions to reduce scope with LCS
- cannot use cql since upgrading python to 2.7.11+
- Fix filtering on clustering columns when 2i is used
- Improve digest calculation in the presence of overlapping tombstones
2.1.15
- Account for partition deletions in tombstone histogram
- Avoid stalling paxos when the paxos state expires
- Remove finished incoming streaming connections from MessagingService
- Don't try to get sstables for non-repairing column families
- Prevent select statements with clustering key > 64k
- Avoid marking too many sstables as repaired
- Fix clock skew corrupting other nodes with paxos
- Remove distinction between non-existing static columns and existing
but null in LWTs
- Support mlockall on IBM POWER arch
- Cache local ranges when calculating repair neighbors
- Allow LWT operation on static column with only partition keys
- Create interval tree over canonical sstables to avoid missing sstables
during streaming
- cqlsh COPY FROM: shutdown parent cluster after forking, to avoid
corrupting SSL connections
- Updated cqlsh Python driver to fix DESCRIBE problem for legacy tables
- cqlsh: apply current keyspace to source command
- Backport CASSANDRA-11578
- Clear out parent repair session if repair coordinator dies
- Set default streaming_socket_timeout_in_ms to 24 hours
- Do not consider local node a valid source during replace
- Avoid holding SSTableReaders for duration of incremental repair
- Add message dropped tasks to nodetool netstats
- Don't compute expensive MaxPurgeableTimestamp until we've verified
there's an expired tombstone
- Fix paging on DISTINCT queries repeats result when first row in
partition changes
- Add option to disable use of severity in DynamicEndpointSnitch
- cqlsh COPY FROM fails for null values with non-prepared statements
- Make cython optional in pylib/setup.py
- Change order of directory searching for cassandra.in.sh to favor local
one
- cqlsh COPY FROM fails with []{} chars in UDT/tuple fields/values
- clqsh: COPY FROM throws TypeError with Cython extensions enabled
- cqlsh: COPY FROM ignores NULL values in conversion
- Validate levels when building LeveledScanner to avoid overlaps with
orphaned sstables
2.1.14
- Start L0 STCS-compactions even if there is a L0 -> L1 compaction going
- (cqlsh) Fix potential COPY deadlock when parent process is terminating
child processes
- Replace sstables on DataTracker before marking them as non-compacting
during anti-compaction
- Checking if an unlogged batch is local is inefficient
- Fix paging for COMPACT tables without clustering columns
- Fix out-of-space error treatment in memtable flushing
- Backport CASSANDRA-10859
- COPY FROM fails when importing blob
- Backport CASSANDRA-10679
- Don't do defragmentation if reading from repaired sstables
- Fix streaming_socket_timeout_in_ms not enforced
- Avoid dropping message too quickly due to missing unit conversion
- COPY FROM on large datasets: fix progress report and debug performance
- InvalidateKeys should have a weak ref to key cache
- Don't remove FailureDetector history on removeEndpoint
- Only notify if repair status changed
- Add partition key to TombstoneOverwhelmingException error message
- Use logback setting for 'cassandra -v' command
- Fix sstableloader to unthrottle streaming by default
- Fix incorrect warning in 'nodetool status'
- Properly release sstable ref when doing offline scrub
- Improve nodetool status performance for large cluster
- Make it clear what DTCS timestamp_resolution is used for
- Gossiper#isEnabled is not thread safe
- Avoid major compaction mixing repaired and unrepaired sstables in DTCS
- test_bulk_round_trip_blogposts is failing occasionally
- Add a -j parameter to scrub/cleanup/upgradesstables to state how
many threads to use
2.1.13
- Fix isJoined return true only after becoming cluster member
(CASANDRA-11007)
- Fix bad gossip generation seen in long-running clusters
- Avoid NPE when incremental repair fails
- Unmark sstables compacting once they are done in
cleanup/scrub/upgradesstables
- Revert CASSANDRA-10012 and add more logging
- Allow simultaneous bootstrapping with strict consistency when no
vnodes are used
- Log a message when major compaction does not result in a single file
- (cqlsh) fix cqlsh_copy_tests when vnodes are disabled
- (cqlsh) fix formatting bytearray values
- (cqlsh) Add request timeout option to cqlsh
- Avoid AssertionError while submitting hint with LWT
- If CompactionMetadata is not in stats file, use index summary instead
- Retry sending gossip syn multiple times during shadow round
- Fix pending range calculation during moves
- Sane default (200Mbps) for inter-DC streaming througput
- Match cassandra-loader options in COPY FROM
- Fix binding to any address in CqlBulkRecordWriter
- Fix the way we replace sstables after anticompaction
- cqlsh fails to decode utf-8 characters for text typed columns
- Log error when stream session fails
- Fix bugs in commit log archiving startup behavior
- (cqlsh) further optimise COPY FROM
- Allow CREATE TABLE WITH ID
- Make Stress compiles within eclipse
- Cassandra Daemon should print JVM arguments
- Allow cancellation of index summary redistribution
- sstableloader will fail if there are collections in the schema tables
- Disable reloading of GossipingPropertyFileSnitch
- Fix Stress profile parsing on Windows
2.1.12
- Fix incremental repair hang when replica is down
- Avoid writing range tombstones after END_OF_ROW marker
- Optimize the way we check if a token is repaired in anticompaction
- Add proper error handling to stream receiver
- Warn or fail when changing cluster topology live
- Status command in debian/ubuntu init script doesn't work
- Some DROP ... IF EXISTS incorrectly result in exceptions on
non-existing KS
- DeletionTime.compareTo wrong in rare cases
- Force encoding when computing statement ids
- Properly reject counters as map keys
- Fix the sstable-needs-cleanup check
- (cqlsh) Print column names before COPY operation
- Add Native-Transport-Requests back to tpstats
- Make paging logic consistent between searcher impls
- Fix CompressedInputStream for proper cleanup
- (cqlsh) Support counters in COPY commands
- Try next replica if not possible to connect to primary replica on
ColumnFamilyRecordReader
- Limit window size in DTCS
- sstableloader does not use MAX_HEAP_SIZE env parameter
- (cqlsh) Improve COPY TO performance and error handling
- Don't remove level info when running upgradesstables
- Create compression chunk for sending file only
- Make buffered read size configurable
- Forbid compact clustering column type changes in ALTER TABLE
- Reject incremental repair with subrange repair
- Add a nodetool command to refresh size_estimates
- Shutdown compaction in drain to prevent leak
- Invalidate cache after stream receive task is completed
- Reject counter writes in CQLSSTableWriter
- Remove superfluous COUNTER_MUTATION stage mapping
- Improve json2sstable error reporting on nonexistent columns
- (cqlsh) fix COPY using wrong variable name for time_format
- Do not run SizeEstimatesRecorder if a node is not a member of the ring
- Improve handling of dead nodes in gossip
- Fix logback-tools.xml incorrectly configured for outputing to
System.err
- Fix streaming to catch exception so retry not fail
- Add validation method to PerRowSecondaryIndex
- Support encrypted and plain traffic on the same port
- Do STCS in DTCS windows
- Don't try to get ancestors from half-renamed sstables
- Avoid repetition of JVM_OPTS in debian package
- Fix potential NPE from handling result of SIM.highestSelectivityIndex
- Fix paging issues with partitions containing only static columns data
- Fix conditions on static columns
- AssertionError: attempted to delete non-existing file CommitLog
- Merge range tombstones during compaction
- (cqlsh) Distinguish negative and positive infinity in output
- (cqlsh) allow custom time_format for COPY TO
- Don't allow startup if the node's rack has changed
- Fix sorting for queries with an IN condition on partition key columns
Fix the REPLACE statement for WITHOUT ROWID tables that lack secondary indexes so that it works correctly with triggers and foreign keys. This was a new bug caused by performance optimizations added in version 3.16.0. Ticket 30027b613b4
Fix the sqlite3_value_text() interface so that it correctly translates content generated by zeroblob() into a string of all 0x00 characters. This is a long-standing issue discovered after the 3.16.1 release by OSS-Fuzz
Fix the bytecode generator to deal with a subquery in the FROM clause that is itself a UNION ALL where one side of the UNION ALL is a view that contains an ORDER BY. This is a long-standing issue that was discovered after the release of 3.16.1. See ticket 190c2507.
Adjust the sqlite3_column_count() API so it more often returns the same values for PRAGMA statements as it did in prior releases, to minimize disruption to applications that might be using that interface in unexpected ways.
Fix a bug concerning the use of row values within triggers (see ticket 8c9458e7) that was in version 3.15.0 but was not reported until moments after the 3.16.0 release was published.
== 5.1.1 Release Notes
=== Breaking changes
Aliases::
- Validate alias names the same as index names
REST::
- Remove lenient stats parsing 5.x
=== Breaking Java changes
Discovery::
- Remove pluggability of ElectMasterService
Exceptions::
- Remove `IndexTemplateAlreadyExistsException` and
`IndexShardAlreadyExistsException`
- Replace IndexAlreadyExistsException with
ResourceAlreadyExistsException
- Backport: Replace IndexAlreadyExistsException with
ResourceAlreadyExistsException
Internal::
- Pass executor name to request interceptor to support async intercept
calls
Network::
- Unguice Transport and friends
Plugins::
- Plugins: Remove support for onModule
=== Deprecations
Analysis::
- Deprecating request parameters of _analyze API in 5.x
CRUD::
- Deprecate VersionType.FORCE
Core::
- Add deprecation logging for users that explicitly opt in for the
`default` fs type.
Mapping::
- Deprecate `timestamp` and `ttl` on index requests.
Query DSL::
- Add deprecation logging for lenient boolean queries
- Add deprecation logging message for 'fuzzy' query
Search::
- Deprecate ignored type parameter in search_shards api
Settings::
- Add deprecation logging for the case that store throttling is used.
=== New features
Analysis::
- Expose Lucenes Ukrainian analyzer
CAT API::
- Provides a cat api endpoint for templates.
Query DSL::
- Add "all fields" execution mode to simple_query_string query
- Add support for `quote_field_suffix` to `simple_query_string`.
- Add "all field" execution mode to query_string query
Reindex API::
- Add automatic parallelization support to reindex and friends
=== Enhancements
Aggregations::
- Rescorer should be applied in the TopHits aggregation
Allocation::
- Balance step in BalancedShardsAllocator for a single shard
- Process more expensive allocation deciders last
- Separates decision making from decision application in
BalancedShardsAllocator
- Split allocator decision making from decision application
Analysis::
- Remove AnalysisService and reduce it to a simple name to analyzer
mapping
CAT API::
- Adding built-in sorting capability to _cat apis.
- Add health status parameter to cat indices API
Cache::
- Do not cache term queries.
- Parse alias filters on the coordinating node
Cluster::
- Cache successful shard deletion checks
Core::
- Reduce memory pressure when sending large terms queries.
- Install a security manager on startup
- Log node ID on startup
- Ensure source filtering automatons are only compiled once
- Improve scheduling fairness when batching cluster state changes with
equal priority
- Do not log full bootstrap checks exception
Exceptions::
- Add BWC layer for Exceptions
Geo::
- Optimize geo-distance sorting.
Ingest::
- add `ignore_missing` option to SplitProcessor
Internal::
- Rename ClusterState#lookupPrototypeSafe to `lookupPrototype` and
remove "unsafe" unused variant
- ShardActiveResponseHandler shouldn't hold to an entire cluster state
- Remove unused ClusterService dependency from SearchPhaseController
- Remove special case in case no action filters are registered
- Use TimveValue instead of long for CacheBuilder methods
- Remove SearchContext#current and all it's threadlocals
Java REST Client::
- Provide error message when rest request path is null
Logging::
- Log failure to connect to node at info instead of debug
- Truncate log messages from the end
- Logging shutdown hack
- Disable console logging
Mapping::
- Create the QueryShardContext lazily in DocumentMapperParser.
Network::
- Grant Netty permission to read system somaxconn
- Lazy resolve unicast hosts
- Fix handler name on message not fully read
- Handle rejected pings on shutdown gracefully
Packaging::
- Add empty plugins dir for archive distributions
- Make explicit missing settings for Windows service
- Change permissions on config files
Plugin Lang Painless::
- Add Debug.explain to painless
- Implement the ?: operator in painless
- In painless suggest a long constant if int won't do
- Support decimal constants with trailing [dD] in painless
- Implement reading from null safe dereferences
- Painless negative offsets
Plugin Repository S3::
- Make the default S3 buffer size depend on the available memory.
Plugins::
- Clarify that plugins can be closed
- Plugins: Convert custom discovery to pull based plugin
- Removing plugin that isn't installed shouldn't trigger usage
information
- Remove pluggability of ZenPing
- Make UnicastHostsProvider extension pull based
Query DSL::
- Using ObjectParser in MatchAllQueryBuilder and IdsQueryBuilder
- Expose splitOnWhitespace in `Query String Query`
- Throw error if query element doesn't end with END_OBJECT
- Remove `lowercase_expanded_terms` and `locale` from query-parser
options.
Reindex API::
- Make reindex-from-remote ignore unknown fields
Scripting::
- Wrap VerifyError in ScriptException
- Support binary field type in script values
- Mustache: Add
- Expose `ctx._now` in update scripts
Search::
- Add indices and filter information to search shards api output
- remove pointless catch exception in TransportSearchAction
- Optimize query with types filter in the URL (t/t/_search)
- Makes search action cancelable by task management API
Search Templates::
- Add profile and explain parameters to template API
Snapshot/Restore::
- Abort snapshots on a node that leaves the cluster
Stats::
- Remove load average leniency
- Strengthen handling of unavailable cgroup stats
- Add basic cgroup CPU metrics
Task Manager::
- Add search task descriptions
Tribe Node::
- Add support for merging custom meta data in tribe node
=== Bug fixes
Aggregations::
- Rewrite Queries/Filter in FilterAggregationBuilder and ensure client
usage marks query as non-cachable
- Percentiles bucket fails for 100th percentile
- Thread safety for scripted significance heuristics
Allocation::
- Allow master to assign primary shard to node that has shard store
locked during shard state fetching
Analysis::
- Can load non-PreBuiltTokenFilter in Analyze API
CAT API::
- Consume `full_id` request parameter early
Cache::
- Fix the request cache keys to not hold references to the
SearchContext.
Circuit Breakers::
- ClusterState publishing shouldn't trigger circuit breakers
Cluster::
- Remove cluster update task when task times out
Core::
- Add a StreamInput#readArraySize method that ensures sane array sizes
- Use a buffer to do character to byte conversion in
StreamOutput#writeString
- 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
- .es_temp_file remains after system crash, causing it not to start
again
Dates::
- Fix time zone rounding edge case for DST overlaps
Engine::
- Die with dignity on the Lucene layer
- Fix `InternalEngine#isThrottled` to not always return `false`.
- Retrying replication requests on replica doesn't call `onRetry`
Highlighting::
- Fix FiltersFunctionScoreQuery highlighting
- Fix highlighting on a stored keyword field
Index APIs::
- Validate the `_rollover` target index name early to also fail if
dry_run=true
Index Templates::
- Fix integer overflows when dealing with templates.
Ingest::
- fix trace_match behavior for when there is only one grok pattern
- Stored scripts and ingest node configurations should be included into
a snapshot
Inner Hits::
- Skip adding a parent field to nested documents.
Internal::
- Rethrow ExecutionException from the loader to concurrent callers of
Cache#computeIfAbsent
- Restore thread's original context before returning to the ThreadPool
- Fix NPE in SearchContext.toString()
- Source filtering should treat dots in field names as sub objects.
Java API::
- Transport client: Fix remove address to actually work
- Add a HostFailureListener to notify client code if a node got
disconnected
- 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::
- Do not prematurely shutdown Log4j
- Assert status logger does not warn on Log4j usage
- Fix logger names for Netty
Mapping::
- Fail to index fields with dots in field names when one of the
intermediate objects is nested.
- Uncommitted mapping updates should not efect existing indices
Network::
- DiscoveryNode and TransportAddress should preserve host information
- Die with dignity on the network layer
- Prevent double release in TcpTransport if send listener throws an
exception
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
Plugin Lang Painless::
- Test fix for def equals in Painless
- Fix a VerifyError bug in Painless
- Fix Lambdas in Painless to be Able to Use Top-Level Variables Such as
params and doc
Plugin Mapper Attachment::
- NPE is raised when defining a non existing type within attachments
type
Query DSL::
- Fixes date range query using epoch with timezone
- Allow overriding all-field leniency when `lenient` option is specified
- Max score should be updated when a rescorer is used
REST::
- Strict level parsing for indices stats
- 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
- XContentBuilder: Avoid building self-referencing objects
Reindex API::
- Ignore IllegalArgumentException with assertVersionSerializable
- Bump reindex-from-remote's buffer to 200mb
- Fix reindex-from-remote for parent/child from <2.0
Search::
- Fix match_phrase_prefix on boosted fields
- Respect default search timeout
- Remove LateParsingQuery to prevent timestamp access after context is
frozen
Search Templates::
- SearchTemplateRequest to implement CompositeIndicesRequest
Settings::
- Handle spaces in `action.auto_create_index` gracefully
- Fix settings diff generation for affix and group settings
- Don't reset non-dynamic settings unless explicitly requested
Snapshot/Restore::
- Fixes shard level snapshot metadata loading when index-N file is
missing
- Ensures cleanup of temporary index-* generational blobs during
snapshotting
- Fixes get snapshot duplicates when asking for _all
- Keep snapshot restore state and routing table in sync (5.x backport)
Task Manager::
- Task cancellation command should wait for all child nodes to receive
cancellation request before returning
Tribe Node::
- Add socket permissions for tribe nodes
=== Upgrades
Core::
- Upgrade to lucene-6.3.0.
Dates::
- Update Joda Time to version 2.9.5
Logging::
- Upgrade Log4j 2 to version 2.7
Network::
- Upgrade to Netty 4.1.6
Plugin Ingest Attachment::
- Update to Tika 1.14
== 5.0.2 Release Notes
=== Enhancements
Core::
- Install a security manager on startup
Exceptions::
- Add BWC layer for Exceptions
Logging::
- Truncate log messages from the end
Scripting::
- Wrap VerifyError in ScriptException
Snapshot/Restore::
- Abort snapshots on a node that leaves the cluster
=== Bug fixes
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::
- 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`.
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
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
Search::
- Respect default search timeout
Settings::
- Don't reset non-dynamic settings unless explicitly requested
Tribe Node::
- Add socket permissions for tribe nodes
This release mainly fixes three bugs:
1. A bug with BITFIELD that may cause the bitmap corruption when setting offsets
larger than the current string size.
2. A GEORADIUS bug that may happen when using very large radius lengths, in
the range of 10000km or alike, due to wrong bounding box calculation.
3. A bug with Redis Cluster which crashes when reading a nodes configuration
file with zero bytes at the end, which sometimes happens with certain ext4
configurations after a system crash.
Uses 9% fewer CPU cycles. (See the CPU performance measurement report for details on how the this performance increase was computed.)
Added experimental support for PRAGMA functions.
Added the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE option to sqlite3_db_config().
Enhance the date and time functions so that the 'unixepoch' modifier works for the full span of supported dates.
Changed the default configuration of the lookaside memory allocator from 500 slots of 128 bytes each into 125 slots of 512 bytes each.
Enhanced "WHERE x NOT NULL" partial indexes so that they are usable if the "x" column appears in a LIKE or GLOB operator.
Enhanced sqlite3_interrupt() so that it interrupts checkpoint operations that are in process.
Enhanced the LIKE and GLOB matching algorithm to be faster for cases when the pattern contains multiple wildcards.
Added the SQLITE_FCNTL_WIN32_GET_HANDLE file control opcode.
Added ".mode quote" to the command-line shell.
Added ".lint fkey-indexes" to the command-line shell.
Added the .imposter dot-command to the command-line shell.
Added the remember(V,PTR) SQL function as a loadable extension.
Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE to better reflect the implications of using it.
Bug Fixes:
Fix a long-standing bug in the query planner that caused incorrect results on a LEFT JOIN where the left-hand table is a subquery and the join constraint is a bare column name coming from the left-hand subquery. Ticket 2df0107b.
Correctly handle the integer literal -0x8000000000000000 in the query planner.
Upstream changes:
1.56 2016-10-06
Full release of the 1.53 development series
One version skipped because of indexing problems.
1.53_2 2016-02-03
[MISCELLANEOUS]
Add new FAQs
1.53_1 2015-10-16
[BUG FIXES]
Strictly speaking this is a bug fix to DBI and not DBD::ODBC but DBI
now supports 64 bit row counts where an IV in perl is 64 bits. However, it
necessitated changes to DBD::ODBC to pick up the fix. odbc_rows (my workaround
since 2012) is still supported but should no longer be required so long as you
use this DBD::ODBC and DBI 1.633_92 or above.
[INTERNALS]
Removed dbd_st_rows and now setting DBIc_ROW_COUNT.
[DOCUMENTATION]
Add tables and table_info section to deviations from the DBI spec.
[MISCELLANEOUS]
Change column name in t/rt_101579.t as "method" is a reserved word
in. Teradata Thanks to Zhenyi Zhou.
Remove duplicate dynamic_config from META.yml.
This release includes the following bug fixes
* Bug 359 dditional parameter to GetConfigOptionByName() in PG 9.6
* Misc other fixes to compile against PG 9.6
* PG 9.5 makefile fix for win32
* Remove 'unsupported' warning for PG 9.5
1.54 2016-12-24
- Switched to a production version.
- Resolved RT#119219: Trivial documentation bug in DBL::SQLite 1.52
1.53_01 2016-11-26
- Re-enabled perl tokenizer by calling sqlite_db_config
if SQLite >= 3.12
1.840 29 Dec 2016
* #119569: Failed to install DB_File-1.839 into Linux
1.839 29 Dec 2016
* #119557: DB_File.xs: unused-parameter warnings
* #107642: unused arg
4.6.5.2 (2016-12-05)
- issue #12765 Fixed SQL export with newlines
4.6.5.1 (2016-11-25)
- issue #12735 Incorrect parameters to escapeString in Node.php
- issue #12734 Fix PHP error when mbstring is not installed
- issue #12736 Don't force partition count to be specified when creating a new table
4.6.5 (2016-11-24)
- issue Remove potentionally license problematic sRGB profile
- issue #12459 Display read only fields as read only when editing
- issue #12384 Fix expanding of navigation pane when clicking on database
- issue #12430 Impove partitioning support
- issue #12374 Reintroduced simplified PmaAbsoluteUri configuration directive
- issue Always use UTC time in HTTP headers
- issue #12479 Simplified validation of external links
- issue #12483 Fix browsing tables with built in transformations
- issue #12485 Do not show warning about short blowfish_secret if none is set
- issue #12251 Fixed random logouts due to wrong cookie path
- issue #12480 Fixed editing of ENUM/SET/DECIMAL fields structure
- issue #12497 Missing escaping of configuration used in SQL (hide_db and only_db)
- issue #12476 Add error checking in reading advisory rules file
- issue #12477 Add checking missing elements and confirming element types from json_decode
- issue #12251 Automatically save SQL query in browser local storage rather than in cookie
- issue #12292 Unable to edit transformations
- issue #12502 Remove unused paramenter when connecting to MySQLi
- issue #12303 Fix number formatting with different settings of precision in PHP
- issue #12405 Use single quotes in PHP code
- issue #12534 Option for the dropped column is not removed from 'after_field' select, after the column is dropped
- issue #12531 Properly detect DROP DATABASE queries
- issue #12470 Fix possible race condition in setting URL hash
- issue #11924 Remove caching of server information
- issue #11628 Proper parsing of INSERT ... ON DUPLICATE KEY queries
- issue #12545 Proper parsing of CREATE TABLE ... PARTITION queries
- issue #12473 Code can throw unhandled exception
- issue #12550 Do not try to keep alive session even after expiry
- issue #12512 Fixed rendering BBCode links in setup
- issue #12518 Fixed copy of table with generated columns
- issue #12221 Fixed export of table with generated columns
- issue #12320 Copying a user does not copy usergroup
- issue #12272 Adding a new row with default enum goes to no selection when you want to add more then 2 rows
- issue #12487 Drag and drop import prevents file dropping to blob column file selector on the insert tab
- issue #12554 Absence of scrolling makes it impossible to read longer text values in grid editing
- issue #12530 "Edit routine" crashes when the current user is not the definer, even if privileges are adequate
- issue #12300 Export selective tables by-default dumps Events also
- issue #12298 Fixed export of view definitions
- issue #12242 Edit routine detail dialog does not fill "Return length" field in mysql functions
- issue #12575 New index Confirm adds whitespace around the field name
- issue #12382 Bug in zoom search
- issue #12321 Assign LIMIT clause only to syntactically correct queries
- issue #12461 Can't Execute SQL With Sub-Query Due To "LIMIT 0,25" Inserted At Wrong Place
- issue #12511 Clarify documentation on ArbitraryServerRegexp
- issue #12508 Remove duplicate code in SQL escaping
- issue #12475 Cleanup code for getting table information
- issue #12579 phpMyAdmin's export of a Select statment without a FROM clause generates Wrong SQL
- issue #12316 Correct export of complex SELECT statements
- issue #12080 Fixed parsing of subselect queries
- issue #11740 Fixed handling DELETE ... USING queries
- issue #12100 Fixed handling of CASE operator
- issue #12455 Query history stores separate entry for every letter typed
- issue #12327 Create PHP code no longer works
- issue #12179 Fixed bookmarking of query with multiple statements
- issue #12419 Wrong description on GRANT OPTION
- issue #12615 Fixed regexp for matching browser versions
- issue #12569 Avoid showing import errors twice
- issue #12362 prefs_manage.php can leave an orphaned temporary file
- issue #12619 Unable to export csv when using union select
- issue #12625 Broken Edit links in query results of JOIN query
- issue #12634 Drop DB error in import if DB doesn't exist
- issue #12338 Designer reverts to first saved ER after EACH relation create or delete
- issue #12639 'Show trace' in Console generates JS error for functions in query's trace called without any arguments
- issue #12366 Fix user creation with certain MariaDB setups
- issue #12616 Refuse to work with mbstring.func_overload enabled
- issue #12472 Properly report connection without password in setup
- issue #12365 Fix records count for large tables
- issue #12533 Fix records count for complex queries
- issue #12454 Query history not updated in console until page refresh
- issue #12344 Fixed parsing of labels in loop
- issue #12228 Fixed parsing of BEGIN labels
- issue #12637 Fixed editing some timestamp values
- issue #12622 Fixed javascript error in designer
- issue #12334 Missing page indicator or VIEWs
- issue #12610 Export of tables with Timestamp/Datetime/Time columns defined with ON UPDATE clause with precision fails
- issue #12661 Error inserting into pma__history after timeout
- issue #12195 Row_format = fixed not visible
- issue #12665 Cannot add a foreign key - non-indexed fields not listed in InnoDB tables
- issue #12674 Allow for proper MySQL-allowed strings as identifiers
- issue #12651 Allow for partial dates on table insert page
- issue #12681 Fixed designer with tables using special chars
- issue #12652 Fixed visual query builder for foreign keys with more fields
- issue #12257 Improved search page performance
- issue #12322 Avoid selecting default function for foreign keys
- issue #12453 Fixed escaping of SQL parts in some corner cases
- issue #12542 Missing table name in account privileges editor
- issue #12691 Remove ksort call on empty array in PMA_getPlugins function
- issue #12443 Check parameter type before processing
- issue #12299 Avoid generating too long URLs in search
- issue #12361 Fix self SQL injection in table-specific privileges
- issue #12698 Add link to release notes and download on new version notification
- issue #12712 Error when trying to setup replication (fatal error in call to an old PMA_DBI_connect function)
- issue [security] Unsafe generation of $cfg['blowfish_secret'], see PMASA-2016-58
- issue [security] phpMyAdmin's phpinfo functionality is removed, see PMASA-2016-59
- issue [security] AllowRoot and allow/deny rule bypass with specially-crafted username, see PMASA-2016-60
- issue [security] Username matching weaknesses with allow/deny rules, see PMASA-2016-61
- issue [security] Possible to bypass logout timeout, see PMASA-2016-62
- issue [security] Full path disclosure (FPD) weaknesses, see PMASA-2016-63
- issue [security] Multiple XSS weaknesses, see PMASA-2016-64
- issue [security] Multiple denial-of-service (DOS) vulnerabilities, see PMASA-2016-65
- issue [security] Possible to bypass white-list protection for URL redirection, see PMASA-2016-66
- issue [security] BBCode injection to login page, see PMASA-2016-67
- issue [security] Denial-of-service (DOS) vulnerability in table partitioning, see PMASA-2016-68
- issue [security] Multiple SQL injection vulnerabilities, see PMASA-2016-69
- issue [security] Incorrect serialized string parsing, see PMASA-2016-70
- issue [security] CSRF token not stripped from the URL, see PMASA-2016-71
-----------------------------------
1.991 2016-08-23 16:04:29CEST+0200 Europe/Paris
* release as a normal release after successful testing of the dev releases
1.990_02 2016-08-06 20:30:30CEST+0200 Europe/Paris
* move reconnection test in reconnect test file to avoid test issues
(skip_all but still run some tests)
1.990_01 2016-08-05 17:17:28CEST+0200 Europe/Paris
* fix issue #122: don't attempt to close an already closed or undefined socket
* fix issue #120 and #111: don't depend on locales for matching error messages
* fix issue #118: spelling mistake
* fix issue #116: forbid continuing using socket after a read timeout
* fix issue #115: Unexpected error condition 54/freebsd
Incorrect multi-keyword mode cipherstring parsing.
Fixes CVE-2015-3276.
Submitted upstream as ITS#8543, it apparently wasn't already(!)
http://www.openldap.org/its/index.cgi/Incoming?id=8543
Bump PKGREVISION for both openldap, openldap-server and openldap-client
(to be on the safe side...)
Security Notes
--------------
Incompatible Change: These changes were made to mysqld_safe:
* Unsafe use of rm and chown in mysqld_safe could result in privilege escalation. chown now can be used only when the target directory is /var/log. An incompatible change is that if the directory for the Unix socket file is missing, it is no longer created; instead, an error occurs. Due to these changes, /bin/bash is required to run mysqld_safe on Solaris. /bin/sh is still used on other Unix/Linux platforms.
* The --ledir option now is accepted only on the command line, not in option files.
* mysqld_safe ignores the current working directory.
Other related changes:
* Initialization scripts that invoke mysqld_safe pass --basedir explicitly.
* Initialization scripts create the error log file only if the base directory is /var/log or /var/lib.
* Unused systemd files for SLES were removed.
Bugs Fixed
Security Notes
--------------
Incompatible Change: These changes were made to mysqld_safe:
* Unsafe use of rm and chown in mysqld_safe could result in privilege escalation. chown now can be used only when the target directory is /var/log. An incompatible change is that if the directory for the Unix socket file is missing, it is no longer created; instead, an error occurs. Due to these changes, /bin/bash is required to run mysqld_safe on Solaris. /bin/sh is still used on other Unix/Linux platforms.
* The --ledir option now is accepted only on the command line, not in option files.
* mysqld_safe ignores the current working directory.
Other related changes:
* Initialization scripts that invoke mysqld_safe pass --basedir explicitly.
* Initialization scripts create the error log file only if the base directory is /var/log or /var/lib.
* Unused systemd files for SLES were removed.
* MySQL Server now includes a plugin library that enables administrators to introduce an increasing delay in server response to clients after a certain number of consecutive failed connection attempts. This capability provides a deterrent that slows down brute force attacks that attempt to access MySQL user accounts. For more information, see The Connection-Control Plugin.
* OpenSSL is ending support for version 1.0.1 in December 2016; see https://www.openssl.org/policies/releasestrat.html. Consequently, MySQL Commercial Server builds now use version 1.0.2 rather than version 1.0.1, and the linked OpenSSL library for the MySQL Commercial Server has been updated from version 1.0.1 to version 1.0.2j. For a description of issues fixed in this version, see https://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead.
Functionality Added or Changed
------------------------------
* InnoDB: By default, InnoDB reads uncommitted data when calculating statistics. In the case of an uncommitted transaction that deletes rows from a table, InnoDB excludes records that are delete-marked when calculating row estimates and index statistics, which can lead to non-optimal execution plans for other transactions that are operating on the table concurrently using a transaction isolation level other than READ UNCOMMITTED. To avoid this scenario, a new configuration option, innodb_stats_include_delete_marked, can be enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics. (Bug 23333990)
* Unit testing now uses Google Mock 1.8. (Bug 24572381, Bug 82823)
Bugs Fixed
Compilation Notes
-----------------
For GCC versions higher than 4.4, -fno-expensive-optimizations was replaced with -ffp-contract=off, which has the effect of enabling more optimizations.
Security Notes
--------------
Incompatible Change: These changes were made to mysqld_safe:
* Unsafe use of rm and chown in mysqld_safe could result in privilege escalation. chown now can be used only when the target directory is /var/log. An incompatible change is that if the directory for the Unix socket file is missing, it is no longer created; instead, an error occurs. Due to these changes, /bin/bash is required to run mysqld_safe on Solaris. /bin/sh is still used on other Unix/Linux platforms.
* The --ledir option now is accepted only on the command line, not in option files.
* mysqld_safe ignores the current working directory.
Other related changes:
* Initialization scripts that invoke mysqld_safe pass --basedir explicitly.
* Initialization scripts create the error log file only if the base directory is /var/log or /var/lib.
* Unused systemd files for SLES were removed.
* MySQL Server now includes a plugin library that enables administrators to introduce an increasing delay in server response to clients after a certain number of consecutive failed connection attempts. This capability provides a deterrent that slows down brute force attacks that attempt to access MySQL user accounts. For more information, see The Connection-Control Plugin.
* OpenSSL is ending support for version 1.0.1 in December 2016; see https://www.openssl.org/policies/releasestrat.html. Consequently, MySQL Commercial Server builds now use version 1.0.2 rather than version 1.0.1, and the linked OpenSSL library for the MySQL Commercial Server has been updated from version 1.0.1 to version 1.0.2j. For a description of issues fixed in this version, see https://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead.
This way they got added as dependencies to sqlite3.so, while
only the sqlite3 binary really needs libreadline.
However, even without the LDFLAGS, the sqlite3 binary correctly
links the library in for me (on NetBSD).
Addresses PR 50776.
Bump PKGREVISION.
Many of these definitely do not depend on readline.
So there must be a different underlying problem, and that
should be tracked down instead of papering over it.
shared-mime-info 1.8 (2016-12-05)
* Add Flatpak-related mime-types
* Add mime-type for a number of Thomson-related disk (and cassette) images
* Add many audio and video mime-type aliases as used in VLC
* Add mime-type for pdf.lz files
* Write the correct length for literal and glob lists to the cache
* Build fixes
- It is now possible to use a custom array cast function by changing
the type caster for the 'anyarray' type. For instance, by calling
set_typecast('anyarray', lambda v, c: v) you can have arrays returned
as strings instead of lists. Note that in the pg module, you can also
call set_array(False) in order to return arrays as strings.
- The namedtuple classes used for the rows of query results are now cached
and reused internally, since creating namedtuples classes in Python is a
somewhat expensive operation. By default the cache has a size of 1024
entries, but this can be changed with the set_row_factory_size() function.
In certain cases this change can notably improve the performance.
New features and bug fixes:
- MongoDB 3.4 Support
- New URI and read preference option, "maxStalenessSeconds"
- Set MongoDB client handshake data with mongoc_client_set_appname or
mongoc_client_pool_set_appname.
- writeConcern and readConcern enhancements.
- Collation allows users to specify language-specific rules for string
comparison when sorting documents.
- mongoc_collection_count_with_opts uses the collection's read
preference if none is passed in
- Improved TLS support
- Fixed LibreSSL (libssl) support
- Added LibreSSL (libtls) support
- Fixed Secure Channel build on VS 2010
- OpenSSL now supports SNI (all others already do)
- Additional features for Application Performance Monitoring
- New functions accept flexible options as a BSON document.
- mongoc_collection_find is now deprecated in favor of
mongoc_collection_find_with_opts.
- New helper function to include read concern in one of the above
function's options parameter: mongoc_read_concern_append.
- mongoc_client_command no longer applies the client's read preference
and read concern by default. Same change for mongoc_database_command
and mongoc_collection_command.
- mongoc_collection_count_with_opts now applies the collection's read
preference if no read preference is provided
- mongoc_collection_create_index and mongoc_collection_drop_index now
apply the collection's write concern.
- mongoc_collection_create_index_with_opts now applies the collection's
write concern if none is specified in "opts"
- connectTimeoutMS timer now begins after DNS resolution, and resets for
each interface attempted (e.g., if the driver first tries IPv6, then
IPv4).
- New error code MONGOC_ERROR_DUPLICATE_KEY.
- mongoc_collection_find no longer treats the "filter" key specially in
queries - querying for a document with a key named "filter" is the
same now as any other key.
- The server description parameter to the following functions is
"const":
- mongoc_server_description_host
- mongoc_server_description_id
- mongoc_server_description_ismaster
- mongoc_server_description_round_trip_time
- mongoc_server_description_type
- Exported symbols are no longer declared in seperate export files.
- mongoc no longer crashes when multi roundtrip bulk operation fails.
- Added support for the new readConcernLevel "linearizable".
- Clients now check for misformatted "readPreferenceTags" in URI.
- New CMake option ENABLE_TRACING allows debug output, which before had
only been available with "configure --enable-tracing".
- Bugfix: "PossiblePrimary"-type replicas could be selected for reads
- Bugfixes: The random number generator used to select servers is now
properly seeded, and secondary queries are now properly distributed
according to localThresholdMS, not just to the lowest-latency secondary.
The latency estimate is reset after a connection error.
- Fix crashes in mongoc_topology_invalidate_server and
mongoc_client_kill_cursor.
- mongoc_collection_insert, mongoc_collection_update,
mongoc_collection_remove consistently use domain MONGOC_ERROR_BSON,
code MONGOC_ERROR_BSON_INVALID if passed oversized BSON, and
MONGOC_ERROR_COLLECTION for other errors. mongoc_bulk_operation_execute
continues to use MONGOC_ERROR_COMMAND for all errors.
- If mongoc_client_pool_t fails to start its scanner thread in the
background, it logs and aborts instead of silently continuing, then
failing to connect.
- The driver now updates its view of the whole topology with information
from each new connection handshake.
- Improved error reporting when the driver fails to reach the server,
and correctly distinguish "connection error" and "connection timeout".
Deprecations:
- mongoc_collection_find is deprecated for
mongoc_collection_find_with_opts.
Removed configure flags:
- --enable-experimental has been removed. All previously experimental
features are now always on.
- The configure option "--enable-hardening" had had no effect. It is
removed in favor of system-wide compiler configuration.
Drop build patch incorporated upstream.
Upstream changes:
PostGIS 2.3.1 (2016/11/28)
* Bug fixes
PostGIS 2.3.0 (2016/09/26)
* Important / Breaking Changes
- #3466, Casting from box3d to geometry now returns a 3D
geometry (Julien Rouhaud of Dalibo)
- #3604, pgcommon/Makefile.in orders CFLAGS incorrectly leading to
wrong liblwgeom.h (Greg Troxel)
- #3396, ST_EstimatedExtent, throw WARNING instead of ERROR
(Regina Obe)
* New Features
- Add support for custom TOC in postgis_restore.pl
(Christoph Moench-Tegeder)
- Add support for negative indexing in ST_PointN and ST_SetPoint
(Rémi Cura)
- Add parameters for geography ST_Buffer (Thomas Bonfort)
- TopoGeom_addElement, TopoGeom_remElement (Sandro Santilli)
- populate_topology_layer (Sandro Santilli)
- #454, ST_WrapX and lwgeom_wrapx (Sandro Santilli)
- #1758, ST_Normalize (Sandro Santilli)
- #2236, shp2pgsql -d now emits "DROP TABLE IF EXISTS"
- #2259, ST_VoronoiPolygons and ST_VoronoiLines (Dan Baston)
- #2841 and #2996, ST_MinimumBoundingRadius and new ST_MinimumBoundingCircle
implementation using Welzl's algorithm (Dan Baston)
- #2991, Enable ST_Transform to use PROJ.4 text (Mike Toews)
- #3059, Allow passing per-dimension parameters in ST_Expand (Dan Baston)
- #3339, ST_GeneratePoints (Paul Ramsey)
- #3362, ST_ClusterDBSCAN (Dan Baston)
- #3364, ST_GeometricMedian (Dan Baston)
- #3391, Add table inheritance support in ST_EstimatedExtent
(Alessandro Pasotti)
- #3424, ST_MinimumClearance (Dan Baston)
- #3428, ST_Points (Dan Baston)
- #3465, ST_ClusterKMeans (Paul Ramsey)
- #3469, ST_MakeLine with MULTIPOINTs (Paul Norman)
- #3549, Support PgSQL 9.6 parallel query mode, as far as possible
(Paul Ramsey, Regina Obe)
- #3557, Geometry function costs based on query stats (Paul Norman)
- #3591, Add support for BRIN indexes. PostgreSQL 9.4+ required.
(Giuseppe Broccolo of 2nd Quadrant, Julien Rouhaud
and Ronan Dunklau of Dalibo)
- #3496, Make postgis non-relocateable for extension install,
schema qualify calls in functions (Regina Obe)
Should resolve once and for all for extensions #3494, #3486, #3076
- #3547, Update tiger geocoder to support TIGER 2016
and to support both http and ftp.
- #3613, Segmentize geography using equal length segments
(Hugo Mercier of Oslandia)
* Bug Fixes
* Performance Enhancements
- #75, Enhancement to PIP short circuit (Dan Baston)
- #3383, Avoid deserializing small geometries during index operations
(Dan Baston)
- #3400, Minor optimization of PIP routines (Dan Baston)
- Make adding a line to topology interruptible (Sandro Santilli)
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
new packages. Most of which are the remaining modules of the Tryton
platform which weren't packaged. The others are dependencies of the new
modules. This was tested on FreeBSD and is based in large part on Richard
Palo's (richard@) work. This is the most recent release of the Tryton
platform, version 4.2. There's a very large list of changes from the 3.8
series we have in pkgsrc. If you're interested, those functional changes
can be found here:
http://www.tryton.org/posts/new-tryton-release-42.htmlhttp://www.tryton.org/posts/new-tryton-release-40.html
Solves:
/usr/libexec/binutils225/elf/ld.gold: error: cannot find -lreadline
The missing specification is obvious on DragonFly because there's
no publically accessible version of readline in base.
* Multiple bug fixes to the row value logic that was introduced in version 3.15.0.
* Fix a NULL pointer dereference in ATTACH/DETACH following a maliciously constructed syntax error.
* Fix a crash that can occur following an out-of-memory condition in the built-in instr() function.
* In the JSON extension, fix the JSON validator so that it correctly rejects invalid backslash escapes within strings.
2016-11-28 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.041)
* Fix use-after-free for repeated fetchrow_arrayref calls when
mysql_server_prepare=1
Function dbd_st_fetch() via Renew() can reallocate output buffer for
mysql_stmt_fetch() call. But it does not update pointer to that buffer in
imp_sth->stmt structure initialized by mysql_stmt_bind_result() function.
That leads to use-after-free in any mysql function which access
imp_sth->stmt structure (e.g. mysql_stmt_fetch()).
This patch fix this problem and properly updates pointer in imp_sth->stmt
structure after Renew() call.
This is a medium level security issue to which the Debian security team
assigned identifier CVE-2016-1251. Discovered and fixed by Pali Rohár.
* auto_reconnect now also matches CR_SERVER_LOST, previously this only
matched CR_SERVER_GONE.
Fixes http://bugs.mysql.com/bug.php?id=27613
Fix suggested by Wouter de Jong.
* Fix compilation fixes (Pali Rohár).
3.6.0
Notable new features
- Improve the behavior of fail-over.
- New PGPOOL SET command has been introduced.
- Watchdog is significantly enhanced.
- Handling of extended query protocol (e.g. used by Java applications)
in streaming replication mode speeds up if many rows are returned
in a result set.
- Import parser of PostgreSQL 9.6.
- In some cases pg_terminate_backend() now does not trigger a fail-over.
- Change documentation format from raw HTML to SGML.
3.5.4
Bug fixes
- Fix buffer over run problem in "show pool_nodes".
- Fix usage of wait(2) in pgpool main process.
- Save and restore errno in each signal handler.
- Fix handling of pcp_listen_addresses config parameter.
- Fix "kind mismatch" error message in pgpool.
- Replace "MAJOR" macro to prevent occasional failure.
- Fixing a coding mistake in watchdog code.
- doc : Fixing a typo in english doc
- Fix for bun 215 that pgpool doesn't escalate ip in case of another node
inavailability.
- Fix for bug of inconsistent status of Postgresql nodes in Pgpool instances
after restart.
- SIGUSR1 signal handler should be installed before watchdog initialization.
- Fix for bug 228 that pgpool doesn't de-escalate IP in case network
restored.
- Fix hang when portal suspend received.
- test : Add regression test for bug 230.
- Fixing a typo in the log message.
- Fixing the error messages when the socket operation fails.
- Tighten up health check timer expired condition in pool_check_fd().
- doc : Add comment to the document about connection_cache.
- Fix Handling of pcp_socket_dir was missing from pool_get_config().
- doc : Fix Japanese document typo.
- Fix "out of memory" by using "pg_md5 -m".
- Fix for 237 that Pgpool-II fails to start if listen_addresses is empty
string.
3.5.3
New features
- Allow to access to pgpool while doing health checking
Bug fixes
- Fix is_set_transaction_serializable() when
SET default_transaction_isolation TO 'serializable'.
- Fix Chinese documetation bug about raw mode
- Fix confusing comments in pgpool.conf
- Fix extended protocol handling in raw mode
- Permit pgpool to support multiple SSL cipher protocols
- If statement timeout is enabled on backend and do_query() sends a
query to primary node, and all of following user queries are sent to
standby, it is possible that the next command, for example END, could
cause a statement timeout error on the primary, and a kind mismatch
error on pgpool-II is raised.
- Deal with the case when the primary is not node 0 in streaming replication
mode.
- Fix a posible hang during health checking
- change the Makefile under this directory src/sql/,that is proposed by
- fix for 0000197: pgpool hangs connections to database..
- Fix bug with load balance node id info on shmem
- Fixing coverity scan reported issues.
3.5.2
Bugfixes
- Fix for segfault during trusted_servers check
- Removing the limit on the maximum number of items in the
black_function_list and white_function_list lists
- Fix check "PCP Directory" in "Parameter Setting" in install
- Fix extended protocol hang with empty query
- Redirect all user queries to primary server
- Change the PID length of pcp_proc_count command result to 6 characters
long
3.5.1
Bugfixes
- Add some warning messages for wd_authkey hash calculation failure
- test: Fix regression test to check timeout of each test
- test: Allow timeout value to be specified by the command option
- Fix compile issue on FreeBSD
- test: Fix test/regression/clean.sh to remove binary files of
010.rewrite_timestamp test
- Fix memorry leak reported by Coverity (CID 1350095)
- Fixing pgpool-recovery module compilation issue with PostgreSQL 9.6
- Fix to properly process an empty query that has only comments
- Fix a reset query stuck problem
- Fix a reset query stuck problem
- Fix query stuck problems in streaming replication mode with extended
protocol queries
- Fix pgpool hung after receiving error state from backend
- Fix bug that child processes exit and are not re-spawned
- Fix typo in configure
- doc: Change description of backend_flag
- doc: Fix installation procedure.
- test: Fix pgpool_setup to not confuse log output
- Fix to validate the PCP packet length
Upstream changes:
2016-11-19 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.040)
* Since 4.038 we had problems compiling on big-endian architectures, such
as MIPS, s390 and Sparc. Thanks to Salvatore Bonaccorso @ Debian project
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844538)
and Vladimir Marek (https://rt.cpan.org/Public/Bug/Display.html?id=118835)
for reporting the issues. Fix by Pali Roh獺r.
Fix integer types when server side prepare statements are enabled
Fixed problems:
* SQL_BIGINT was incorrectly handled as 32bit MYSQL_TYPE_LONG type instead
64bit MYSQL_TYPE_LONGLONG which led to integer overflow/underflow
* 32bit MYSQL_TYPE_LONG was used for perl's IV storage when IV was 64bit
and 64bit MYSQL_TYPE_LONGLONG was used when IV was 32bit
* All unsigned types were handled as signed, so all high positive values
were treated as negative
* Numeric conversions in perl which led to overflow/underflow was ignored
even when mysql strict mode was enabled
* Test t/41int_min_max.t was running only for normal non-prepared statements
* Test t/40server_prepare.t used incorrect SQL type for big (64bit) integers
2016-11-15 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.039)
* Fix for security issue Out-of-bounds read by DBD::mysql CVE-2016-1249 (pali)
2016-10-30 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.038_01)
* Fix compilation of embedded server (pali)
(https://github.com/perl5-dbi/DBD-mysql/pull/68)
* Fix compilation against libmariadbclient. First version by
H.Merijn Brand, improved by Bernt Johnsen @ Oracle.
* For efficiency use newSVpvn() instead newSVpv() where possible (pali)
* Correctly coerce fetched scalar values when mysql_server_prepare is
not used (pali)
* Add support for fetching columns of BIT type with
mysql_server_prepare = 1 (pali)
Fixes https://rt.cpan.org/Public/Bug/Display.html?id=88006
* Use correct format in printf instead of casting variable types (pali)
* Include errno.h for MYSQL_ASYNC because it uses errno variable (pali)
* Travis: also test on perl 5.22 and 5.24.
- The build system embeds the Erlang VM into the package, which means that
the PLIST may differ across build systems. Hence why we use a semi-dynamic
PLIST here.
- That also means that lang/erlang is now a build dependency only.
- Include a couch-epmd service for the Erlang Port Mapper Daemon using the
embedded binary.
- Basic RCD script added.
Upstream changes since 1.6.x:
- Native clustering is now supported. Rather than use CouchDB replication
between multiple, distinct CouchDB servers, configure a cluster of CouchDB
nodes.
- Futon replaced by brand-new, completely re-engineered Fauxton interface.
URL remains the same.
- The new Mango Query Server provides a simple JSON-based way to perform
CouchDB queries without JavaScript or MapReduce.
- Mango selectors can be used in _changes feeds instead of JavaScript
MapReduce filters. Mango has been tested to be up to an order of magnitude
(10x) faster than JavaScript in this application.
- Rewrite rules for URLs can be performed using JavaScript functions.
- Multiple queries can be made of a view with a single HTTP request.
- Views can be queried with sorting turned off ( sorted=false) for a
performance boost.
- The global changes feed has been enhanced. It is now resumable and
persistent.
- New endpoints added (documentation forthcoming):
- /_membership shows all nodes in a cluster
- /_bulk_get speeds up the replication protocol over low-latency connections
- /_node/ api to access individual nodes' configuration and compaction
features
- /_cluster_setup api to set up a cluster from scratch.
- /_up api to signal health of a node to a load-balancer
- /db/_local_docs and /db/_design_docs (similar to /db/_all_docs)
- "Backend" interface on port 5986 used for specific cluster admin tasks. Of
interest are the _nodes and _dbs databases visible only through this
interface.
- Support added for Erlang/OTP 17.x, 18.x and 19
- New streamlined build system written for Unix-like systems and Microsoft
Windows
Upgrade Notes
- The update sequences returned by the /db/_changes feed are no longer
integers. They can be any JSON value. Applications should treat them as
opaque values and return them to CouchDB as-is.
- Temporary views are no longer supported.
- It is possible to have multiple replicator databases. replicator/db config
option has been removed. Instead _replicator and any database names ending
with the /_replicator suffix will be recognized as replicator databases by
the system.
- Note that the semantics of some API calls have changed due to the
introduction of the clustering feature. Specifically, make note of the
difference between receiving a 201 and a 202 when storing a document.
- all_or_nothing is no longer supported by the bulk_docs API
See full release notes:
http://docs.couchdb.org/en/latest/whatsnew/2.0.html
1.52 2016-11-15
- Switched to a production version.
1.51_07 2016-10-16
- Downgraded SQLite to 3.13.0 (RT#118395)
1.51_06 2016-10-15
- Updated SQLite to 3.15.0
1.51_05 2016-06-23
- Updated SQLite to 3.13.0
- Resolved#115465: column_info doesn't parse sizes with spaces
(ilmari++)
- Added two missing function declarations (rurban++)
1.51_04 2016-03-07
- Updated SQLite to 3.11.1, which fixed an FTS5 index
corruption issue
1.51_03 2016-02-20
- No code change
- Resolved#112220: t/62_regexp_multibyte_char_class.t fails
for perl >= 5.22.0 and non-utf8 locale (SREZIC++)
1.51_02 2016-02-20
- No code change; fixed a newly added test that only passed
under recent perls (>= 5.18)
1.51_01 2016-02-20
*** CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS ***
- Updated to SQLite 3.11.0.
As upstream disabled two-arg fts3_tokenizer() for security concern,
DBD::SQLite also stopped enabling it by default. If you do need
perl tokenizer, compile/install with SQLITE_ENABLE_FTS3_TOKENIZER
environmental variable.
- Applied a doc patch by Salvatore Bonaccorso
- Enabled (experimental) FTS5
- Fixed REGEXP function to work under sqlite_unicode correctly
(András Farkas++)
Upstream changes:
0.07046 2016-09-05
- Introspect view definitions for PostgreSQL, MySQL, Oracle,
Firebird, and InterBase.
- When a file's md5sum was wrong but no other content in the file had
changed, it would not be rewritten even when overwrite_modifications
was true. Fixed by Dave Rolsky. GH #8.
Upstream changes:
2.033002 2016-10-31 16:03:23-07:00 America/Los_Angeles
- Fix ::ProxyResultSetMethod to work when calling ->update
(Thanks for the report Ryan Voots!)
- Fix a number of warnings induced by upcoming DBIC (Thanks ribasushi!)
* Now requires JDK 8.0.
* Use a different installation layout as some location are now impossible to
change without patching the Java sources.
=== Breaking changes in 5.0 ===
Migration Plugin
- The elasticsearch-migration plugin (compatible with Elasticsearch 2.3.0
and above) will help you to find issues that need to be addressed when
upgrading to Elasticsearch 5.0.
Indices created before 5.0
- Elasticsearch 5.0 can read indices created in version 2.0 or above. An
Elasticsearch 5.0 node will not start in the presence of indices created
in a version of Elasticsearch before 2.0.
- Indices created in Elasticsearch 1.x or before will need to be reindexed
with Elasticsearch 2.x in order to be readable by Elasticsearch 5.x. It is
not sufficient to use the upgrade API.
=== Breaking changes
Aggregations::
- Remove size 0 options in aggregations
Aliases::
- make get alias expand to open and closed indices by default
- Remove deprecated indices.get_aliases
Allocation::
- Remove DisableAllocationDecider
Analysis::
- Remove `token_filter` in _analyze API
- Removes support for adding aliases to analyzers
- Analyze API : Rename filters/token_filters/char_filter in Analyze API in
master
CAT API::
- Improve cat thread pool API
- Row-centric output for _cat/fielddata
- Add raw recovery progress to cat recovery API
- Remove host from cat nodes API
- Using the accept header in the request instead of content-type in _cat
API.
CRUD::
- Fixed naming inconsistency for fields/stored_fields in the APIs
- Disallow creating indices starting with '-' or '+'
- Wait for changes to be visible by search
- Remove object notation for core types.
Cache::
- Remove deprecated query cache settings
Cluster::
- Persistent Node Ids
- Remove validation errors from cluster health response
- Remove memory section
Core::
- Remove ignore system bootstrap checks
- Remove minimum master nodes bootstrap check
- Keep input time unit when parsing TimeValues
- Remove cluster name from data path
- Add max number of processes check
- Add mlockall bootstrap check
- One log
Engine::
- Optimize indexing for the autogenerated ID append-only case
- Remove `index.compound_on_flush` setting and default to `true`
Exceptions::
- Die with dignity
Fielddata::
- Remove "uninverted" and "binary" fielddata support for numeric and boolean
fields.
Geo::
- Deprecate GeoDistance enums and remove geo distance script helpers
Index APIs::
- Removes write consistency level across replication action APIs in favor of
wait_for_active_shards
- Remove `GET` option for /_forcemerge
- Remove /_optimize REST API endpoint
Indexed Scripts/Templates::
- Store indexed scripts in the cluster state instead of the `.scripts` index
Inner Hits::
- Also do not serialize `_index` key in search response for parent/child
inner hits
- Don't include `_id`, `_type` and `_index` keys in search response for
inner hits
- Nested inner hits shouldn't use relative paths
- Drop top level inner hits in favour of inner hits defined in the query dsl
Internal::
- `_flush` should block by default
- Actually bound the generic thread pool
- Remove support for pre 2.0 indices
Logging::
- Introduce Log4j 2
Mapping::
- Remove `_timestamp` and `_ttl` on 5.x indices.
- Add a soft limit on the mapping depth.
- Disable fielddata on text fields by defaults.
- Add limit to total number of fields in mapping
- Change the field mapping index time boost into a query time boost.
- Deprecate string in favor of text/keyword.
- Term vector APIs should no longer update mappings
- Remove the `format` option of the `_source` field.
- Remove transform
Packaging::
- Rename service.bat to elasticsearch-service.bat
- Remove -D handling in args for windows plugin script
- Set default min heap equal to default max heap
- Remove allow running as root
- Require /bin/bash in packaging
- Remove plugin script parsing of system properties
- Add JVM options configuration file
Parent/Child::
- Removed `total` score mode in favour for `sum` score mode.
- Removed pre 2.x parent child implementation
Percolator::
- Remove `.percolator` type in favour of `percolator` field type
- Change the percolate api to not dynamically add fields to mapping
Plugin Delete By Query::
- Remove Delete-By-Query plugin
Plugin Lang Painless::
- Remove all date 'now' methods from Painless
- Make Painless the Default Language
Plugins::
- Plugins cleanup
- Rename bin/plugin in bin/elasticsearch-plugin
- Change the inner structure of the plugins zip
- Remove multicast plugin
- Plugins: Remove site plugins
Query DSL::
- Lessen leniency of the query dsl.
- Function score query: remove deprecated support for boost_factor
- Remove support for deprecated queries.
REST::
- Change separator for shards preference
- Parameter improvements to Cluster Health API wait for shards
- Switch indices.exists_type from `{index}/{type}` to
`{index}/_mapping/{type}`.
- Only use `PUT` for index creation, not POST.
- Remove camelCase support
- Remove 'case' parameter from rest apis
- Disallow unquoted field names
- Limit the accepted length of the _id
Scripting::
- Hardcode painless as the default scripting lang and add legacy script
default for stored scripts
- Remove deprecated 1.x script and template syntax
- Allow only a single extension for a scripting engine
- Remove 'sandbox' option for script settings, allow only registering a
single language.
Search::
- Rename `fields` to `stored_fields` and add `docvalue_fields`
- Remove only node preference
- Add search preference to prefer multiple nodes
- Add a soft limit on the number of shards that can be queried in a single
search request.
- Remove deprecated reverse option from sorting
- Remove some deprecations
- Remove search exists api
- Remove the scan and count search types.
Search Refactoring::
- Remove deprecated parameter from field sort builder.
- Remove "query" query and fix related parsing bugs
Settings::
- Default max local storage nodes to one
- Persistent Node Names
- Remove support for properties
- Rename boostrap.mlockall to bootstrap.memory_lock
- Register `indices.query.bool.max_clause_count` setting
- Remove settings and system properties entanglement
- Remove `action.get.realtime` setting
- Remove ability to specify arbitrary node attributes with `node.` prefix
- Enforce `discovery.zen.minimum_master_nodes` is set when bound to a public
ip
- Prevent index level setting from being configured on a node level
- Remove support for node.client setting
- Remove es.max-open-files flag
- Enforce node level limits if node is started in production env
- Make settings validation strict
- Remove the ability to fsync on every operation and only schedule fsync
task if really needed
- Script settings
- Remove index.flush_on_close entirely
- Restore chunksize of 512kb on recovery and remove configurability
- Remove ancient deprecated and alternative recovery settings
Similarities::
- Renames `default` similarity into `classic`
Snapshot/Restore::
- Change the default of `include_global_state` from true to false for
snapshot restores
- Fail closing or deleting indices during a full snapshot
Stats::
- Modify load average format
- Reintroduce five-minute and fifteen-minute load averages on Linux
- Add system CPU percent to OS stats
Term Vectors::
- Remove DFS support from TermVector API
Translog::
- Drop support for simple translog and hard-wire buffer to 8kb
- Simplify translog-based flush settings
Warmers::
- Remove query warmers and the warmer API.
=== Breaking Java changes
Aggregations::
- getKeyAsString and key_as_string should be the same for terms aggregation
on boolean field
Allocation::
- Move parsing of allocation commands into REST and remove support for
plugins to register allocation commands
- Simplify shard balancer interface
Analysis::
- Simplify Analysis registration and configuration
CRUD::
- Removing isCreated and isFound from the Java API
Cache::
- Refactor IndicesRequestCache to make it testable.
- Fold IndexCacheModule into IndexModule
Core::
- Remove ability to plug-in TransportService
- Register thread pool settings
- Bootstrap does not set system properties
- Remove es.useLinkedTransferQueue
Discovery::
- Introduce node handshake
- Include pings from client nodes in master election
Highlighting::
- Register Highlighter instances instead of classes
Internal::
- Remove TransportService#registerRequestHandler leniency
- Consolidate search parser registries
- Move all FetchSubPhases to o.e.search.fetch.subphase
- Squash the rest of o.e.rest.action
- Clean up BytesReference
- Cleanup ClusterService dependencies and detached from Guice
- Simplify SubFetchPhase interface
- Simplify FetchSubPhase registration and detach it from Guice
- Remove duplicate getters from DiscoveryNode and DiscoveryNodes
- Cli: Switch to jopt-simple
- Replace ContextAndHeaders with a ThreadPool based ThreadLocal
implementation
- Remove NodeBuilder
- Fix IndexSearcherWrapper interface to not depend on the EngineConfig
- Cleanup query parsing and remove IndexQueryParserService
- Remove circular dependency between IndicesService and IndicesStore
- Remove guice injection from IndexStore and friends
- Replace IndicesLifecycle with a per-index IndexEventListener
- Simplify similarity module and friends
- Refactor SearchRequest to be parsed on the coordinating node
Java API::
- Add a dedicated client/transport project for transport-client
- Remove setRefresh
- Remove the count api
- IdsQueryBuilder to accept only non null ids and types
Mapping::
- [Mapping] Several MappingService cleanups
Network::
- Factor out abstract TCPTransport* classes to reduce the netty footprint
- Remove ability to disable Netty gathering writes
Parent/Child::
- Cleanup ParentFieldMapper
- Several other parent/child cleanups
Percolator::
- Move the percolator from core to its own module
- Remove percolator cache
Plugins::
- Cleanup sub fetch phase extension point
- Remove IndexTemplateFilter
- Switch custom ShardsAllocators to pull based model
- Make custom allocation deciders use pull based extensions
- Migrate query registration from push to pull
- Add components getter as bridge between guice and new plugin init world
- Remove CustomNodeAttributes extension point
- Add RepositoryPlugin interface for registering snapshot repositories
- Simplified repository api for snapshot/restore
- Switch most search extensions from push to pull
- Move RestHandler registration to ActionModule and ActionPlugin
- Pull actions from plugins
- Switch analysis from push to pull
- Remove guice from Mapper plugins
- Fail to start if plugin tries broken onModule
- Simplify ScriptModule and script registration
- Cut over settings registration to a pull model
- Enforce isolated mode for all plugins
- Don't use guice for QueryParsers
- Remove guice from the index level
- Remove shard-level injector
Query DSL::
- Remove the MissingQueryBuilder which was deprecated in 2.2.0.
- Remove NotQueryBuilder
Scripting::
- Remove o.e.script.Template class and move template query to lang-mustache
module
- Move search template to lang-mustache module
- Remove LeafSearchScript.runAsFloat(): Nothing calls it.
Search::
- Remove FetchSubPhaseParseElement
- Refactor of query profile classes to make way for other profile
implementations
- Query refactoring: split parse phase into fromXContent and toQuery for all
queries
Search Refactoring::
- Refactored inner hits parsing and intoduced InnerHitBuilder
- Remove support for query_binary and filter_binary
- Validate query api: move query parsing to the coordinating node
Settings::
- Remove `node.mode` and `node.local` settings
- Remove Settings.settingsBuilder.
- Move remaining settings in NettyHttpServerTransport to the new infra
- Replace IndexSettings annotation with a full-fledged class
- Fix ping timeout settings inconsistencies
Snapshot/Restore::
- Removes extra writeBlob method in BlobContainer
Store::
- Standardize state format type for global and index level metadata
Suggesters::
- Remove suggest threadpool
- Remove suggest transport action
=== Deprecations
CRUD::
- Deprecate found and created in delete and index rest responses
Plugin Discovery Azure Classic::
- Deprecate discovery-azure and rename it to discovery-azure-classic
Plugin Mapper Attachment::
- Deprecate mapper-attachments plugin
Query DSL::
- Deprecate Indices query
- Deprecate mlt, in and geo_bbox query name shortcuts
Query Refactoring::
- Splits `phrase` and `phrase_prefix` in match query into
`MatchPhraseQueryBuilder` and `MatchPhrasePrefixQueryBuilder`
Scripting::
- Deprecate Groovy, Python, and Javascript
Search::
- Deprecate fuzzy query
Templates::
- Deprecate template query
=== New features
Aggregations::
- Split regular histograms from date histograms.
- Adds aggregation profiling to the profile API
- New Matrix Stats Aggregation module
Aliases::
- Add an alias action to delete an index
Allocation::
- Add API to explain why a shard is or isn't assigned
Analysis::
- Exposing lucene 6.x minhash filter.
- Add `fingerprint` token filter and `fingerprint` analyzer
Circuit Breakers::
- Circuit break on aggregation bucket numbers with request breaker
Discovery::
- Add two phased commit to Cluster State publishing
Geo::
- Cut over geo_point field and queries to new LatLonPoint type
Index APIs::
- Add rollover API to switch index aliases given some predicates
Ingest::
- ingest-useragent plugin
- Add a Sort ingest processor
- Add date_index_name processor
- Merge feature/ingest branch into master branch
Java REST Client::
- Introduce async performRequest method
- Low level Rest Client
Mapping::
- Add `scaled_float`.
- Expose half-floats.
- Add a text field.
- Add a new `keyword` field.
Percolator::
- index the query terms from the percolator query
Plugin Analysis ICU::
- Adding support for customizing the rule file in ICU tokenizer
Plugin Discovery File::
- File-based discovery plugin
Plugin Ingest Attachment::
- Ingest: Add attachment processor
Plugin Mapper Attachment::
- Migrate mapper attachments plugin to main repository
Plugin Repository HDFS::
- HDFS Snapshot/Restore plugin
Plugin Repository S3::
- Add support for path_style_access
Query DSL::
- Adds a rewrite phase to queries on the shard level
Reindex API::
- Reindex from remote
- Port Delete By Query to Reindex infrastructure
- Merge reindex to master
Scripting::
- Exceptions and Infinite Loop Checking
- Added a new scripting language (PlanA)
Scroll::
- Add the ability to partition a scroll in multiple slices.
Search::
- Add the ability to disable the retrieval of the stored fields entirely
- Add `search_after` parameter in the SearchAPI
Settings::
- Add infrastructure to transactionally apply and reset dynamic settings
Snapshot/Restore::
- Add Google Cloud Storage repository plugin
Stats::
- Extend field stats to report searchable/aggregatable fields
- API for listing index file sizes
Store::
- Expose MMapDirectory.preLoad().
- Add primitive to shrink an index into a single shard
Suggesters::
- Add support for returning documents with completion suggester
- Add document-oriented completion suggester
Task Manager::
- Add task cancellation mechanism
- Make the Task object available to the action caller
- Task Management: Add framework for registering and communicating with
tasks
Translog::
- Add `elasticsearch-translog` CLI tool with `truncate` command
=== Enhancements
Aggregations::
- Make the heuristic to compute the default shard size less aggressive.
- Add _bucket_count option to buckets_path
- Remove AggregationStreams
- Migrate serial_diff aggregation to NamedWriteable
- Migrate most remaining pipeline aggregations to NamedWriteable
- Migrate moving_avg pipeline aggregation to NamedWriteable
- Migrate matrix_stats to NamedWriteable
- Migrate derivative pipeline aggregation to NamedWriteable
- Migrate top_hits, histogram, and ip_range aggregations to NamedWriteable
- Migrate nested, reverse_nested, and children aggregations to
NamedWriteable
- Migrate geohash_grid and geo_bounds aggregations to NamedWriteable
- Clean up significant terms aggregation results
- Migrate range, date_range, and geo_distance aggregations to NamedWriteable
- Migrate terms aggregation to NamedWriteable
- Migrate sampler and missing aggregations to NamedWriteable
- Migrate global, filter, and filters aggregation to NamedWriteable
- Migrate the cardinality, scripted_metric, and geo_centroid aggregations to
NamedWriteable
- Use a static default precision for the cardinality aggregation.
- Migrate more aggregations to NamedWriteable
- Migrate stats and extended stats to NamedWriteable
- Migrate sum, min, and max aggregations over to NamedWriteable
- Start migration away from aggregation streams
- Automatically set the collection mode to breadth_first in the terms
aggregation when the cardinality of the field is unknown or smaller than
the requested size.
- Rename PipelineAggregatorBuilder to PipelineAggregationBuilder.
- AggregatorBuilder and PipelineAggregatorBuilder do not need generics.
- Rename AggregatorBuilder to AggregationBuilder
- Add the ability to use the breadth_first mode with nested aggregations
(such as `top_hits`) which require access to score information.
- Make significant terms work on fields that are indexed with points.
- Add tests and documentation for using `time_zone` in date range
aggregation
- Fixes serialisation of Ranges
Allocation::
- Verify AllocationIDs in replication actions
- Mark shard as stale on non-replicated write, not on node shutdown
- Add routing changes API to RoutingAllocation
- Primary shard allocator observes limits in forcing allocation
- Use primary terms as authority to fail shards
- Add recovery source to ShardRouting
- Allow `_shrink` to N shards if source shards is a multiple of N
- Only filter intial recovery (post API) when shrinking an index
- Estimate shard size for shrinked indices
- Only fail relocation target shard if failing source shard is a primary
- Simplify delayed shard allocation
- Limit retries of failed allocations per index
- Immutable ShardRouting
- Add the shard's store status to the explain API
- Write shard state metadata as soon as shard is created / initializing
- Reuse existing allocation id for primary shard allocation
- Remove version in ShardRouting (now obsolete)
- Prefer nodes that previously held primary shard for primary shard
allocation
- Extend reroute with an option to force assign stale primary shard copies
- Allocate primary shards based on allocation IDs
- Persist currently started allocation IDs to index metadata
- Use ObjectParser to parse AllocationID
- Persist allocation ID with shard state metadata on nodes
Analysis::
- Stop using cached component in _analyze API
- Specify custom char_filters/tokenizer/token_filters in the analyze API
- Add a MultiTermAwareComponent marker interface to analysis factories.
- Add Flags Parameter for Char Filter
- Core: better error message when analyzer created without tokenizer or…
- Move AsciiFolding earlier in FingerprintAnalyzer filter chain
- Improve error message if resource files have illegal encoding
Benchmark::
- Add client-benchmark-noop-api-plugin to stress clients even more in
benchmarks
CAT API::
- Add health status parameter to cat indices API
- Includes the index UUID in the _cat/indices API
- Add node name to Cat Recovery
- Add support for documented byte/size units and for micros as a time unit
in _cat API
- Add _cat/tasks
- Cat health supports ts=0 option
- Expose http address in cat/nodes
- [cat/recovery] Make recovery time a TimeValue()
- :CAT API: remove space at the end of a line
CRUD::
- Renaming operation to result and reworking responses
- Adding _operation field to index, update, delete response.
- CRUD: Allow to get and set ttl as a time value/string
Cache::
- Enable option to use request cache for size > 0
- Cache FieldStats in the request cache
- Allow the query cache to be disabled.
- Enable the indices request cache by default
Circuit Breakers::
- Cluster Settings Updates should not trigger circuit breakers.
- Circuit break the number of inline scripts compiled per minute
Cluster::
- Add clusterUUID to RestMainAction output
- Batch process node left and node failure
- Index creation waits for write consistency shards
- Inline reroute with process of node join/master election
- Index creation does not cause the cluster health to go RED
- Cluster Health class improvements
- Adds tombstones to cluster state for index deletions
- Enable acked indexing
- Cluster Health should run on applied states, even if waitFor=0
- Resolve index names to Index instances early
- Remove DiscoveryNode#shouldConnectTo method
- Fail demoted primary shards and retry request
- Illegal shard failure requests
- Shard failure requests for non-existent shards
- Add handling of channel failures when starting a shard
- Wait for new master when failing shard
- Master should wait on cluster state publication when failing a shard
- Split cluster state update tasks into roles
- Add timeout mechanism for sending shard failures
- Add listener mechanism for failures to send shard failed
Core::
- Add production warning for pre-release builds
- Add serial collector bootstrap check
- Rename Netty TCP transports thread factories from http_* to transport_*
- Do not log full bootstrap checks exception
- Mark halting the virtual machine as privileged
- Makes index creation more friendly
- Clearer error when handling fractional time values
- Read Elasticsearch manifest via URL
- Throw if the local node is not set
- Bootstrap check for OnOutOfMemoryError and seccomp
- Log OS and JVM on startup
- Add GC overhead logging
- Refactor JvmGcMonitorService for testing
- Default to server VM and add client VM check
- Add system bootstrap checks escape hatch
- Avoid sliced locked contention in internal engine
- Add heap size bootstrap check
- Remove hostname from NetworkAddress.format
- Bootstrapping bootstrap checks
- Add max map count check
- Remove PROTOTYPE from BulkItemResponse.Failure
- Throw an exception if Writeable.Reader reads null
- Remove PROTOTYPE from RescorerBuilders
- Port Primary Terms to master
- Use index UUID to lookup indices on IndicesService
- Add -XX+AlwaysPreTouch JVM flag
- Add max size virtual memory check
- Use and test relative time in TransportBulkAction
- Bump Elasticsearch version to 5.0.0-SNAPSHOT
- Assert that we can write in all data-path on startup
- Add G1GC check on startup
- Shards with heavy indexing should get more of the indexing buffer
- Remove and ban ImmutableMap
- Finish banning ImmutableSet
- Removes and bans ImmutableSet
- Remove and ban ImmutableMap#entrySet
- Forbid ForwardingSet
Dates::
- Improve TimeZoneRoundingTests error messages
- Support full range of Java Long for epoch DateTime
Discovery::
- Do not log cluster service errors at after joining a master
- Log warning if minimum_master_nodes set to less than quorum
- Add a dedicate queue for incoming ClusterStates
Engine::
- Only try to read new segments info if we really flushed the index
- Use _refresh instead of reading from Translog in the RT GET case
- Remove writeLockTimeout from InternalEngine
- Don't guard IndexShard#refresh calls by a check to isRefreshNeeded
- Never call a listerner under lock in InternalEngine
- Use System.nanoTime() to initialize Engine.lastWriteNanos
- Flush big merges automatically if shard is inactive
- Remove Engine.Create
- Remove the disabled autogenerated id optimization from InternalEngine
Exceptions::
- Improve startup exception
- Make NotMasterException a first class citizen
- Do not catch throwable
- Make the index-too-old exception more explicit
- Add index name in IndexAlreadyExistsException default message
- Fix typos in exception/assert/log messages in core module.
- Add field names to several mapping errors
- Add serialization support for more important IOExceptions
- Adds exception objects to log messages.
- Add stack traces to logged exceptions where missing
- Remove reflection hacks from ElasticsearchException
- Rename QueryParsingException to a more generic ParsingException
- Add *Exception(Throwable cause) constructors/ call where appropriate
Expressions::
- improve date api for expressions/painless fields
- Support geo_point fields in lucene expressions
- Add support for .empty to expressions, and some docs improvements
Geo::
- GeoBoundingBoxQueryBuilder should throw IAE when topLeft and bottomRight
are the same coordinate
- Enhanced lat/long error handling
- Fix a potential parsing problem in GeoDistanceSortParser
- Geo: Add validation of shapes to ShapeBuilders
- Make remaining ShapeBuilders implement Writeable
- Geo: Remove internal `translated` flag from LineStringBuilder
- Make PointBuilder, CircleBuilder & EnvelopeBuilder implement Writable
- Merging BaseLineString and BasePolygonBuilder with subclass
- Moving static factory methods to ShapeBuilders
- Remove InternalLineStringBuilder and InternalPolygonBuilder
Highlighting::
- Switch Highlighting to ObjectParser
- Use HighlightBuilder in SearchSourceBuilder
- Joint parsing of common global Hightlighter and subfield parameters
- Enable HighlightBuilder to create SearchContextHighlight
- Add fromXContent method to HighlightBuilder
Index APIs::
- Add date-math support to `_rollover`
- Add Shrink request source parser to parse create index request body
- Fail hot_threads in a better way if unsupported by JDK
Index Templates::
- Add "version" field to Templates
- Parse and validate mappings on index template creation
Ingest::
- Add "version" field to Pipelines
- Make it possible for Ingest Processors to access AnalysisRegistry
- add ignore_missing option to convert,trim,lowercase,uppercase,grok,rename
- Add support for parameters to the script ingest processor
- introduce the JSON Processor
- Allow rename processor to turn leaf fields into branch fields
- remove ability to set field value in script-processor configuration
- Add REST _ingest/pipeline to get all pipelines
- Show ignored errors in verbose simulate result
- update foreach processor to only support one applied processor.
- Skip the execution of an empty pipeline
- Add `ignore_failure` option to all ingest processors
- new ScriptProcessor for Ingest
- Expose underlying processor to blame for thrown exception within
CompoundProcessor
- Avoid string concatentation in IngestDocument.FieldPath
- add ability to specify multiple grok patterns
- add ability to disable ability to override values of existing fields in
set processor
- Streamline option naming for several processors
- add automatic type conversion support to ConvertProcessor
- Give the foreach processor access to the rest of the document
- Added ingest statistics to node stats API
- Add `ingest_took` to bulk response
- Add ingest info to node info API, which contains a list of available
processors
- Use diffs for ingest metadata in cluster state
- hide null-valued metadata fields from WriteableIngestDocument#toXContent
- Ingest: use bulk thread pool for bulk request processing (was index
before)
- Add foreach processor
- revert PipelineFactoryError handling with throwing
ElasticsearchParseException in ingest pipeline creation
- Add processor tags to on_failure metadata in ingest pipeline
- catch processor/pipeline factory exceptions and return structured error
responses
- Ingest: move get/put/delete pipeline methods to ClusterAdminClient
- Geoip processor: remove redundant latitude and longitude fields and make
location an object with lat and lon subfields
Inner Hits::
- Change scriptFields member in InnerHitBuilder to set
Internal::
- Remove poor-mans compression in InternalSearchHit and friends
- Don't register SearchTransportService handlers more than once
- Unguice SearchModule
- Deguice SearchService and friends
- NodeStats classes to implement Writeable rather then Streamable
- More info classes to implement Writeable rather than Streamable
- Internal: Split disk threshold monitoring from decider
- Switching LockObtainFailedException over to ShardLockObtainFailedException
- update and delete by query requests to implement
IndicesRequest.Replaceable
- VersionFetchSubPhase should not use Versions#loadDocIdAndVersion
- Remove useless PK lookup in IndicesTTLService
- ignore some docker craziness in seccomp environment checks
- Make Priority an enum
- Snapshot UUIDs in blob names
- Add RestController method for deprecating in one step
- Tighten ensure atomic move cleanup
- Enable checkstyle ModifierOrder
- Expose task information from NodeClient
- Changed rest handler interface to take NodeClient
- Deprecate ExceptionsHelper.detailedMessage
- Factor out ChannelBuffer from BytesReference
- Cleanup Compressor interface
- Hot methods redux
- Remove forked joda time BaseDateTime class
- Support optional ctor args in ConstructingObjectParser
- Remove thread pool from page cache recycler
- Do not automatically close XContent objects/arrays
- Remove use of a Fields class in snapshot responses
- Removes multiple toXContent entry points for SnapshotInfo
- Removes unused methods in the o/e/common/Strings class
- Determine content length eagerly in HttpServer
- Consolidate query generation in QueryShardContext
- Make reset in QueryShardContext private
- Remove Strings#splitStringToArray
- Add toString() to GetResponse
- ConstructingObjectParser adapts ObjectParser for ctor args
- Makes Script type writeable
- FiltersAggregatorBuilder: Don't create new context for inner parsing
- Clean up serialization on some stats
- Normalize registration for SignificanceHeuristics
- Make (read|write)NamedWriteable public
- Use try-with-resource when creating new parser instances where possible
- Don't pass XContentParser to ParseFieldRegistry#lookup
- Internal: Remove threadlocal from document parser
- Cut range aggregations to registerAggregation
- Remove ParseFieldMatcher from AbstractXContentParser
- Remove parser argument from methods where we already pass in a parse
context
- Switch SearchAfterBuilder to writeGenericValue
- Remove StreamableReader
- Cleanup nested, has_child & has_parent query builders for inner hits
construction
- Make AllocationCommands NamedWriteables
- Isolate StreamableReader
- Create registration methods for aggregations similar to those for queries
- Remove PROTOTYPEs from QueryBuilders
- Remove registerQueryParser
- ParseField#getAllNamesIncludedDeprecated to not return duplicate names
- Rework a query parser and improve registration
- Clean up QueryParseContext and don't hold it inside
QueryRewrite/ShardContext
- Remove PROTOTYPE from MLT.Item
- Remove PROTOTYPE from VersionType
- Remove PROTOTYPEs from highlighting
- Remove PROTOTYPEs from ingest
- Start to rework query registration
- Factor out slow logs into Search and IndexingOperationListeners
- Remove PROTOTYPE from Suggesters
- Remove PROTOTYPE from SortBuilders
- Remove PROTOTYPE from ShapeBuilders
- Replace FieldStatsProvider with a method on MappedFieldType.
- Stop using PROTOTYPE in NamedWriteableRegistry
- Support scheduled commands in current context
- Thread limits
- Remove leniency from segments info integrity checks
- Rename SearchServiceTransportAction to SearchTransportService
- Decouple the TransportService and ClusterService
- Refactor bootstrap checks
- Add LifecycleRunnable
- Hot inlined methods in your area
- Move IndicesQueryCache and IndicesRequestCache into IndicesService
- Forbid use of java.security.MessageDigest#clone()
- Make IndicesWarmer a private class of IndexService
- Simplify IndicesFieldDataCache and detach from guice
- Uppercase ells ('L') in long literals
- ShardId equality and hash code inconsistency
- Ensure all resources are closed on Node#close()
- Make index uuid available in Index, ShardRouting & ShardId
- Move RefreshTask into IndexService and use since task per index
- Make IndexingMemoryController private to IndicesService
- Cleanup IndexingOperationListeners infrastructure
- Remove and forbid use of j.u.c.ThreadLocalRandom
- Fix IntelliJ query builder type inference issues
- Remove and forbid use of Collections#shuffle(List) and Random#<init>()
- Remove and forbid use of the type-unsafe empty Collections fields
- Move IndicesService.canDeleteShardContent to use IndexSettings
- Simplify MonitorService construction and detach from guice
- Use Supplier for StreamInput#readOptionalStreamable
- Add variable-length long encoding
- Extend usage of IndexSetting class
- Fold SimilarityModule into IndexModule
- Move to lucene BoostQuery
- Use built-in method for computing hash code of longs
- Refactor ShardFailure listener infrastructure
- Add methods for variable-length encoding integral arrays
- Fold IndexAliasesService into IndexService
- Remove unneeded Module abstractions
- Query refactoring: simplify IndexQueryParserService parse methods
- Remove and forbid use of com.google.common.collect.Iterators
- Remove and forbid use of com.google.common.collect.ImmutableCollection
- Remove and forbid use of com.google.common.io.Resources
- Remove and forbid use of com.google.common.hash.*
- Remove and forbid use of com.google.common.net.InetAddresses
- Remove and forbid use of com.google.common.collect.EvictingQueue
- Replace Guava cache with simple concurrent LRU cache
- Remove ClusterSerivce and IndexSettingsService dependency from IndexShard
- Start making RecoverySourceHandler unittestable
- Remove IndexService dep. from IndexShard
- Remove ES internal deletion policies in favour of Lucenes implementations
- Move ShardTermVectorService to be on indices level as TermVectorService
- Move ShardPercolateService creation into IndexShard
- Remove `ExpressionScriptCompilationException` and
`ExpressionScriptExecutionException`
- Reduced the number of ClusterStateUpdateTask variants
- Add a BaseParser helper for stream parsing
- Remove and forbid use of com.google.common.primitives.Ints
- Remove and forbid use of com.google.common.math.LongMath
- Remove and forbid use of com.google.common.base.Joiner
- Replace and ban next batch of Guava classes
- Remove and forbid use of com.google.common.collect.Iterables
- Replace LoadingCache usage with a simple ConcurrentHashMap
- Use Supplier instead of Reflection
- Remove and forbid use of com.google.common.base.Preconditions
- Remove and forbid use of guava Function, Charsets, Collections2
- Remove and forbid use of com.google.common.collect.ImmutableSortedMap
- Remove and forbid use of several com.google.common.util. classes
- Cleanup SearchRequest & SearchRequestBuilder
- Remove and forbid use of com.google.common.collect.Queues
- Remove and forbid use of com.google.common.base.Preconditions#checkNotNull
- Remove and forbid use of com.google.common.collect.Sets
- Remove and forbid use of com.google.common.collect.Maps
- Remove use of underscore as an identifier
- Remove and forbid the use of com.google.common.base.Predicate(s)?
- This commit removes com.google.common.io
Java API::
- Ensure PutMappingRequest.buildFromSimplifiedDef input are pairs
- Start from a random node number so that clients do not overload the first
node configured
- Switch QueryBuilders to new MatchPhraseQueryBuilder
- Improve adding clauses to `span_near` and `span_or` query
- QueryBuilder does not need generics.
- Remove copy constructors from request classes and TransportMessage type
Java REST Client::
- Add support for a RestClient path prefix
- Add "Async" to the end of each Async RestClient method
- Allow RestClient to send array-based headers
- Add response body to ResponseException error message
- Simplify Sniffer initialization and automatically create the default
HostsSniffer
- Remove duplicate dependency declaration for http client
- Add callback to customize http client settings
- Rest Client: add short performRequest method variants without params
and/or body
Logging::
- Ensure logging is initialized in CLI tools
- Give useful error message if log config is missing
- Complete Elasticsearch logger names
- Add node name to decider trace logging
- Logging shutdown hack
- Disable console logging
- Skip loading of jansi from log4j2
- Configure AWS SDK logging configuration
- Warn if unsupported logging configuration present
- Size limit deprecation logs
- Increase visibility of deprecation logger
- Add log message about enforcing bootstrap checks
- Improve logging for batched cluster state updates
- Send HTTP Warning Header(s) for any Deprecation Usage from a REST request
- Throw IllegalStateException when handshake fails due to version or cluster
mismatch
Mapping::
- Automatically downgrade text and keyword to string on indexes imported
from 2.x
- Do not parse numbers as both strings and numbers when not included in
`_all`.
- Don't index the `_version` field
- The root object mapper should support updating `numeric_detection`,
`date_detection` and `dynamic_date_formats`.
- Automatically upgrade analyzed string fields that have `index_options` or
`position_increment_gap` set.
- Mappings: Support dots in field names in mapping parsing
- Save one utf8 conversion in KeywordFieldMapper.
- Do not parse the created version from the settings every time a field is
parsed.
- Elasticsearch should reject dynamic templates with unknown
`match_mapping_type`.
- Upgrade `string` fields to `text`/`keyword` even if `include_in_all` is
set.
- Adds a methods to find (and dynamically create) the mappers for the
parents of a field with dots in the field name
- Automatically upgrade analyzed strings with an analyzer to `text`.
- Support dots in field names when mapping already exists
- Use the new points API to index numeric fields.
- Simplify AllEntries, AllField and AllFieldMapper:
- Make `parseMultiField` part of `parseField`.
- Automatically add a sub keyword field to string dynamic mappings.
- Remove friction from the mapping changes in 5.0.
- Rework norms parameters for 5.0.
- Moved dynamic field handling in doc parsing to end of parsing
- Remove the MapperBuilders utility class.
- Make the `index` property a boolean.
- Remove the ability to enable doc values with the `fielddata.format`
setting.
- Be stricter about parsing boolean values in mappings.
- Fix default doc values to be enabled when a field is not indexed.
- Dynamically map floating-point numbers as floats instead of doubles.
- Simplify MetaDataMappingService.
- Remove MergeMappingException.
Network::
- Avoid early initializing Netty
- Network: Allow to listen on virtual interfaces.
- Explicitly tell Netty to not use unsafe
- Enable Netty 4 extensions
- Modularize netty
- Simplify TcpTransport interface by reducing send code to a single send
method
- Do not start scheduled pings until transport start
Packaging::
- Add quiet option to disable console logging
- Explicitly disable Netty key set replacement
- Remove explicit parallel new GC flag
- Use JAVA_HOME or java.exe in PATH like the Linux scripts do
- Don't mkdir directly in deb init script
- Increase default heap size to 2g
- Switch init.d scripts to use bash
- Switch scripts to use bash
- Further simplifications of plugin script
- Pass ES_JAVA_OPTS to JVM for plugins script
- Remove unnecessary sleep from init script restart
- Explicitly set packaging permissions
- rpm uses non-portable `--system` flag to `useradd`
- Adding JAVA_HOME to documents and env config file
- Added RPM metadata
- Elasticsearch ownership for data, logs, and configs
- Fail early on JDK with compiler bug
- Make security non-optional
- Remove RuntimePermission("accessDeclaredMembers")
- Remove Guava as a dependency
- Remove Guava as a dependency
Percolator::
- Also support query term extract for queries wrapped inside a
FunctionScoreQuery
- Add support for synonym query to percolator query term extraction
- Add percolator query extraction support for dismax query
- Improve percolate query performance by not verifying certain candidate
matches
- Improve percolator query term extraction
- PercolatorQueryBuilder cleanup by using MemoryIndex#fromDocument(...)
helper
- Add scoring support to the percolator query
- Add query extract support for the blended term query and the common terms
query
- Add support for several span queries in ExtractQueryTermsService
- Add support for TermsQuery in ExtractQueryTermsService
- Replace percolate APIs with a percolator query
Plugin Analysis Kuromoji::
- Add nbest options and NumberFilter
Plugin Discovery EC2::
- Use `DefaultAWSCredentialsProviderChain` AWS SDK class for credentials
- Support new Asia Pacific (Mumbai) ap-south-1 AWS region
- Add support for proxy authentication for s3 and ec2
Plugin Discovery GCE::
- Allow `_gce_` network when not using discovery gce
Plugin Ingest Attachment::
- Minor attachment processor improvements
Plugin Lang Painless::
- Disable regexes by default in painless
- Catch OutOfMemory and StackOverflow errors in Painless
- Change Painless Tree Structure for Variable/Method Chains
- Add replaceAll and replaceFirst
- Painless Initializers
- Add augmentation
- Infer lambda arguments/return type
- Fix explicit casts and improve tests.
- Add lambda captures
- improve Debugger to print code even if it hits exception
- Move semicolon hack into lexer
- Add flag support to regexes
- improve lambda syntax (allow single expression)
- Remove useless dropArguments in megamorphic cache
- non-capturing lambda support
- fix bugs in operators and more improvements for the dynamic case
- improve unary operators and cleanup tests
- Add support for the find operator (=~) and the match operator (==~)
- Remove casts and boxing for dynamic math
- Refactor def math
- Add support for /regex/
- Array constructor references
- Method references to user functions
- Add } as a delimiter.
- Add Lambda Stub Node
- Add capturing method references
- Add Functions to Painless
- Add Method to Get New MethodWriters
- Static For Each
- Method reference support
- Add support for the new Java 9 MethodHandles#arrayLength() factory
- Improve painless compile-time exceptions
- add java.time packages to painless whitelist
- Add Function Reference Stub to Painless
- improve painless whitelist coverage of java api
- Definition cleanup
- Made def variable casting consistent with invokedynamic rules
- Use Java 9 Indy String Concats, if available
- Add method overloading based on arity
- Refactor WriterUtils to extend ASM GeneratorAdapter
- Whitelist expansion
- Remove boxing when loading and storing values in "def" fields/arrays,
remove boxing onsimple method calls of "def" methods
- Some cleanups
- Use isAssignableFrom instead of relying on ClassCastException
- Build descriptor of array and field load/store in code
- Rename the dynamic call site factory to DefBootstrap
- Cleanup of DynamicCallSite
- Improve exception stacktraces
- Make Line Number Available in Painless
- Remove input, support params instead
- Decouple ANTLR AST from Painless
- _value support in painess?
- Long priority over Float
- _score as double, not float
- Add 'ctx' keyword to painless.
- Painless doc access
- Retrieve _score directly from Scorer
- Implement needsScore() correctly.
- Add synthetic length property as alias to Lists, so they can be used like
arrays
- Use better typing for dynamic method calls
- Array load/store and length with invokedynamic
- Switch painless dynamic calls to invokedynamic, remove perf hack/cheat
- Add fielddata accessors (.value/.values/.distance()/etc)
- painless: optimize/simplify dynamic field and method access
- Painless: Single-Quoted Strings
- Painless Clean Up
- Make Painless a Module
- Minor Clean up
- Remove Extra String Concat Token
Plugin Mapper Attachment::
- minor attachments cleanups: IDE test support and EPUB format
Plugin Mapper Size::
- Add doc values support to the _size field in the mapper-size plugin
Plugin Repository Azure::
- Support global `repositories.azure.` settings
- Add timeout settings (default to 5 minutes)
- Remove AbstractLegacyBlobContainer
Plugin Repository HDFS::
- merge current hdfs improvements to master
Plugin Repository S3::
- Extract AWS Key from KeyChain instead of using potential null value
- Check that S3 setting `buffer_size` is always lower than `chunk_size`
Plugins::
- Revert "Display plugins versions"
- Provide error message when plugin id is missing
- Print message when removing plugin with config
- Plugins: Update official plugin location with unified release
- Allow plugins to upgrade global custom metadata on startup
- Switch aggregations from push to pull
- Display plugins versions
- Add ScriptService to dependencies available for plugin components
- Make NamedWriteableRegistry immutable and add extension point for named
writeables
- Log one plugin info per line
- Make rest headers registration pull based
- Add resource watcher to services available for plugin components
- Add some basic services to createComponents for plugins
- Make plugins closeable
- Plugins: Add status bar on download
- Add did-you-mean for plugin cli
- Plugins: Remove name() and description() from api
- Emit nicer error message when trying to install unknown plugin
- Add plugin information for Verbose mode
- Cli: Improve output for usage errors
- Cli: Add verbose output with zip url when installing plugin
- PluginManager: Add xpack as official plugin
- CliTool: Cleanup and document Terminal
- Plugin cli: Improve maven coordinates detection
- Enforce plugin zip does not contain zip entries outside of the plugin dir
- CliTool: Allow unexpected exceptions to propagate
- Reduce complexity of plugin cli
- Remove Plugin.onIndexService.
- Open up QueryCache and SearcherWrapper extension points
Query DSL::
- Throw exception when multiple field names are provided as part of query
short syntax
- Query parsers to throw exception when multiple field names are provided
- Allow empty json object in request body in `_count` API
- Treat zero token in `common` terms query as MatchNoDocsQuery
- Handle empty query bodies at parse time and remove EmptyQueryBuilder
- Enforce MatchQueryBuilder#maxExpansions() to be strictly positive
- Don't allow `fuzziness` for `multi_match` types `cross_fields`, `phrase`
and `phrase_prefix`
- Add MatchNoDocsQuery, a query that matches no documents and prints the
reason why in the toString method.
- Adds `ignore_unmapped` option to geo queries
- Adds `ignore_unmapped` option to nested and P/C queries
- SimpleQueryParser should call MappedFieldType.termQuery when appropriate.
- An `exists` query on an object should query a single term.
- Function Score Query: make parsing stricter
- Parsers should throw exception on unknown objects
- UNICODE_CHARACTER_CLASS fix
Query Refactoring::
- Add infrastructure to rewrite query builders
- Switch geo validation to enum
REST::
- Add a REST spec for the create API
- Add response params to REST params did you mean
- Add did you mean to strict REST params
- Add exclusion support to response filtering
- Only write forced_refresh if we forced a refresh
- Add Location header to the index, update, and create APIs
- Add support for `wait_for_events` to the `_cluster/health` REST endpoint
- Rename Search Template REST spec names
- Adding status field in _msearch error request bodies
- Add semicolon query string parameter delimiter
- Enable HTTP compression by default with compression level 3
- Allow JSON with unquoted field names by enabling system property
- More robust handling of CORS HTTP Access Control
- Add option to exclude based on paths in XContent
Recovery::
- Pass on maxUnsafeAutoIdTimestamp on recovery / relocation
- Non-blocking primary relocation hand-off
- index shard should be able to cancel check index on close.
- TransportNodesListGatewayStartedShards should fall back to disk based
index metadata if not found in cluster state
- Recover broken IndexMetaData as closed
- Relocation source should be marked as relocating before starting recovery
to primary relocation target
- Operation counter for IndexShard
- Primary relocation handoff
- Remove recovery threadpools and throttle outgoing recoveries on the master
- Refactor StoreRecoveryService to be a simple package private util class
Reindex API::
- Only ask for `_version` we need it
- Use fewer threads when reindexing-from-remote
- Support authentication with reindex-from-remote
- Support requests_per_second=-1 to mean no throttling in reindex
- Implement ctx.op = "delete" on _update_by_query and _reindex
- Make Reindex cancellation tests more uniform
- Makes DeleteByQueryRequest implements IndicesRequest
- Teach reindex to retry on search failures
- Remove ReindexResponse in favor of BulkIndexByScrollResponse
- Stricter validation of Reindex's requests_per_second
- Properly mark reindex's child tasks as child tasks
- Make reindex throttling dynamic
- Throttling support for reindex
- Add ingest pipeline support to reindex
Scripting::
- Parse script on storage instead of on retrieval
- Migrate elasticsearch native script examples to the main repo
- Remove ClusterState from compile api
- Mustache: Render Map as JSON
- Compile each Groovy script in its own classloader
- Include script field even if it value is null
- Skipping hidden files compilation for script service
- Rename Plan A to Painless
- Add plumbing for script compile-time parameters
- Factor mustache -> modules/lang-mustache
Scroll::
- Add an index setting to limit the maximum number of slices allowed in a
scroll request.
Search::
- Limit batch size when scrolling
- Record method counts while profiling query components
- Change default similarity to BM25
- Add a parameter to cap the number of searches the msearch api will
concurrently execute
- Introduces GeoValidationMethod to GeoDistanceSortBuilder
- Switches from empty boolean query to matchNoDocs
- Allow binary sort values.
- Fail query if it contains very large rescores
- Type filters should not have a performance impact when there is a single
type.
- Store _all payloads on 1 byte instead of 4.
- Refuse to load fields from _source when using the `fields` option and
support wildcards.
- Add response into ClearScrollResponse
- Shuffle shards for _only_nodes + support multiple specifications like
cluster API
Search Refactoring::
- Removes the now obsolete SearchParseElement implementations
- Remove RescoreParseElement
- Remove HighlighterParseElement
- Move top level parsing of sort element to SortBuilder
- Switch to using refactored SortBuilder instead of using BytesReference in
serialization
- Add build() method to SortBuilder implementations
- Refactoring of Suggestions
- Move sort `order` field up into SortBuilder
- Moves SortParser:parse(...) to only require QueryShardContext
- Change internal representation of suggesters
- Make GeoDistanceSortBuilder serializable, 2nd try
- Move missing() from SortBuilder interface to class
- Remove deprecated parameters from ScriptSortBuilder
- Refactor GeoSortBuilder
- Refactor FieldSortBuilder
- Make sort order enum writable.
- Make DistanceUnit writable.
- RescoreBuilder: Add parsing and creating of RescoreSearchContext
- Make RescoreBuilder and nested QueryRescorer Writable
- Explain api: move query parsing to the coordinating node
- Switch query parsers to use ParseField
- Refactoring of Aggregations
Sequence IDs::
- Persist sequence number checkpoints
- Add sequence numbers to cat shards API
Settings::
- Add precise logging on unknown or invalid settings
- Make `action.auto_create_index` setting a dynamic cluster setting
- Removes space between # and the setting in elasticsearch.yml
- Validates new dynamic settings from the current state
- Improve error message if a setting is not found
- Cleanup placeholder replacement
- Switch to registered Settings for all IndexingMemoryController settings
- Add guard against null-valued settings
- Useful error message for null property placeholder
- Archive cluster level settings if unknown or broken
- Improve error message if setting is not found
- Improve upgrade experience of node level index settings
- Settings with complex matchers should not overlap
- Moves GCE settings to the new infra
- Add filtering support within Setting class
- Migrate AWS settings to new settings infrastructure
- Remove `gateway.initial_meta` and always rely on min master nodes
- Rewrite SettingsFilter to be immutable
- Simplify azure settings
- Convert PageCacheRecycler settings
- Monitor settings
- Cut over tribe node settings to new settings infra
- Convert multcast plugin settings to the new infra
- Convert `request.headers.*` to the new settings infra
- Migrate Azure settings to new settings infrastructure
- Validate logger settings and allow them to be reset via API
- Switch NodeEnvironment's settings to new settings
- Simplify AutoCreateIndex and add more tests
- Convert several pending settings
- Migrate query caching settings to the new settings infra.
- Convert `action.auto_create_index` and `action.master.force_local` to the
new settings infra
- Convert `cluster.routing.allocation.type` and `processors` to the new
settings infra.
- Validate tribe node settings on startup
- Move node.client, node.data, node.master, node.local and node.mode to new
settings infra
- Moved http settings to the new settings infrastructure
- Migrate network service to the new infra
- Convert client.transport settings to new infra
- Move discovery.* settings to new Setting infrastructure
- Change over to o.e.common.settings.Setting for http settings
- Convert "path.*" and "pidfile" to new settings infra
- Migrate repository settings to the new settings API
- Convert "indices.*" settings to new infra.
- Migrate gateway settings to the new settings API.
- Convert several node and test level settings
- Run Metadata upgrade tool on every version
- Check for invalid index settings on metadata upgrade
- Validate the settings key if it's simple chars separated by `.`
- Validate known global settings on startup
- Cut over all index scope settings to the new setting infrastrucuture
- Remove updatability of `index.flush_on_close`
- Move all dynamic settings and their config classes to the index level
- Always require units for bytes and time settings
- Make MetaData parsing less lenient.
- Move async translog sync logic into IndexService
- Remove `index.merge.scheduler.notify_on_failure` and default to `true`
- Remove cache concurrency level settings that no longer apply
Similarities::
- Defining a global default similarity
Snapshot/Restore::
- Delete differing files in the store before restoring
- Adds ignoreUnavailable option to the snapshot status API
- Check restores in progress before deleting a snapshot
- Snapshot repository cleans up empty index folders
- BlobContainer#writeBlob no longer can overwrite a blob
- More resilient blob handling in snapshot repositories
- Adding repository index generational files
- Raised IOException on deleteBlob
- Adds UUIDs to snapshots
- Clarify the semantics of the BlobContainer interface
- Change BlobPath.buildAsString() method
- Remove the Snapshot class in favor of using SnapshotInfo
Stats::
- Add mem section back to cluster stats
- Add network types to cluster stats
- Add missing field type in the FieldStats response.
- Expose the ClusterInfo object in the allocation explain output
- Add total_indexing_buffer/_in_bytes to nodes info API
- Allow FieldStatsRequest to disable cache
- Remove index_writer_max_memory stat from segment stats
- Move DocStats under Engine to get more accurate numbers
- Do not return fieldstats information for fields that exist in the mapping
but not in the index.
- Add whether the shard state fetch is pending to the allocation explain API
- Add Failure Details to every NodesResponse
- Add I/O statistics on Linux
- Add points to SegmentStats.
- Remove FieldStats.Float.
- Show configured and remaining delay for an unassigned shard.
- indexing stats now contain indexing ops from recovery [ISSUE]
- Normalize unavailable load average
- Add load averages to OS stats on FreeBSD
- Expose pending cluster state queue size in node stats
Store::
- Use `mmapfs` by default.
- Remove support for legacy checksums
- Rename index folder to index_uuid
Suggesters::
- Move SuggestUtils methods to their respective caller classes
- Remove payload option from completion suggester
- Add bwc support for reading pre-5.0 completion index
Task Manager::
- Rename Task Persistence into Storing Task Results
- Fetch result when wait_for_completion
- Create get task API that falls back to the .tasks index
- Add ability to store results for long running tasks
- Move parentTaskId into TransportRequest
- Shorten the serialization of the empty TaskId
- Expose whether a task is cancellable in the _tasks list API
- Add ability to group tasks by common parent
- Add start time and duration to tasks
- Combine node name and task id into single string task id
- Add task status
- Extend tracking of parent tasks to master node, replication and broadcast
actions
Translog::
- Fsync documents in an async fashion
- Add checksumming and versions to the Translog's Checkpoint files
- Beef up Translog testing with random channel exceptions
- Do not replay into translog on local recovery
- FSync translog outside of the writers global lock
- Remove ChannelReference and simplify Views
- Simplify TranslogWriter to always write to a stream
- Remove TranslogService and fold it into synchronous IndexShard API
=== Bug fixes
Aggregations::
- Fixed writeable name from range to geo_distance
- Fix date_range aggregation to not cache if now is used
- The `top_hits` aggregation should compile scripts only once.
- Fix agg profiling when using breadth_first collect mode
- Throw exception when maxBounds greater than minBounds
- Undeprecates `aggs` in the search request
- Change how `nested` and `reverse_nested` aggs know about their nested
depth level
- Make ExtendedBounds immutable
- Aggregations fix: support include/exclude strings for IP and dates
- Fix xcontent rendering of ip terms aggs.
- Improving parsing of sigma param for Extended Stats Bucket Aggregation
- Fixes NPE when no window is specified in moving average request
- Fixes Filter and FiltersAggregation to work with empty query
- Fixes the defaults for `keyed` in the percentiles aggregations
- Correct typo in class name of StatsAggregator
Allocation::
- Keep a shadow replicas' allocation id when it is promoted to primary
- IndicesClusterStateService should clean local started when re-assigns an
initializing shard with the same aid
- IndexRoutingTable.initializeEmpty shouldn't override supplied primary
RecoverySource
- Update incoming recoveries stats when shadow replica is reinitialized
- `index.routing.allocation.initial_recovery` limits replica allocation
- Upon being elected as master, prefer joins' node info to existing cluster
state
- Fix NPE when initializing replica shard has no UnassignedInfo
- Make shard store fetch less dependent on the current cluster state, both
on master and non data nodes
- Fix recovery throttling to properly handle relocating non-primary shards
- Replica shards must be failed before primary shards
Analysis::
- Named analyzer should close the analyzer that it wraps
- Can load non-PreBuiltTokenFilter in Analyze API
- Fix analyzer alias processing
Bulk::
- Add not-null precondition check in BulkRequest
CAT API::
- Fixes cat tasks operation in detailed mode
- Add index pattern wildcards support to _cat/shards
CRUD::
- GET operations should not extract fields from `_source`.
- Squash a race condition in RefreshListeners
- Prevent TransportReplicationAction to route request based on stale local
routing table
- Resolves the conflict between alias routing and parent routing by applying
the alias routing and ignoring the parent routing.
Cache::
- Prevent requests that use scripts or now() from being cached
- Serialize index boost and phrase suggest collation keys in a consistent
order
Circuit Breakers::
- Never trip circuit breaker in liveness request
- Free bytes reserved on request breaker
Cluster::
- Fixes issue with dangling index being deleted instead of re-imported
- Allow routing table to be filtered by index pattern
- Use executor's describeTasks method to log task information in cluster
service
- Acknowledge index deletion requests based on standard cluster state
acknowledgment
- Dangling indices are not imported if a tombstone for the index exists
- Fix issue with tombstones matching active indices in cluster state
- Shard state action channel exceptions
Core::
- Makes `m` case sensitive in TimeValue
- Guard against negative result from FileStore.getUsableSpace when picking
data path for a new shard
- Handle rejected execution exception on reschedule
- Fix concurrency bug in IMC that could cause it to check too infrequently
- Iterables.flatten should not pre-cache the first iterator
- Avoid race while retiring executors
- Refactor UUID-generating methods out of Strings
- Node names cleanup
- NullPointerException from IndexingMemoryController when a version conflict
happens during recovery
- Handle RejectedExecution gracefully in TransportService during shutdown
Discovery::
- Update discovery nodes after cluster state is published
- Add current cluster state version to zen pings and use them in master
election
Engine::
- Take refresh IOExceptions into account when catching ACE in InternalEngine
- Don't suppress AlreadyClosedException
Expressions::
- replace ScriptException with a better one
Geo::
- Incomplete results when using geo_distance for large distances [ISSUE]
- Fix multi-field support for GeoPoint types
- Enforce distance in distance query is > 0 [ISSUE]
Highlighting::
- Enable BoostingQuery with FVH highlighter
Index APIs::
- Fixes active shard count check in the case of `all` shards
- Add zero-padding to auto-generated rollover index name increment
Ingest::
- no null values in ingest configuration error messages
- JSON Processor was not properly added
- Don't rebuild pipeline on every cluster state update
- Add dotexpander processor
- Fix NPE when simulating a pipeline with no id
- Change foreach processor to use ingest metadata for array element
- No other processors should be executed after on_failure is called
- rethrow script compilation exceptions into ingest configuration exceptions
- Rename from `ingest-useragent` plugin to `ingest-user-agent` and its
processor from `useragent` to `user_agent`
- Fix ignore_failure behavior in _simulate?verbose and more cleanup
- Pipeline Stats: Fix concurrent modification exception
- Validate properties values according to database type
- Ingest does not close its factories
- Handle regex parsing errors in Gsub and Grok Processors
- add on_failure exception metadata to ingest document for verbose simulate
- The IngestDocument copy constructor should make a deep copy
Inner Hits::
- Ensure that that InnerHitBuilder uses rewritten queries
Internal::
- Prevent AbstractArrays from release bytes more than once
- IndicesAliasesRequest should not implement CompositeIndicesRequest
- Ensure elasticsearch doesn't start with unuspported indices
- Remove ListTasksResponse#setDiscoveryNodes()
- Priority values should be unmodifiable
- Extract AbstractBytesReferenceTestCase
- Add XPointValues
- Fix BulkItemResponse.Failure.toString
- Enable unmap hack for java 9
- Fix issues with failed cache loads
- Allow parser to move on the START_OBJECT token when parsing search source
- Ensure searcher is release if wrapping fails
- Avoid deadlocks in Cache#computeIfAbsent
Java API::
- fix IndexResponse#toString to print out shards info
- Add NamedWriteables from plugins to TransportClient
- Fix potential NPE in SearchSourceBuilder
Java REST Client::
- Rest Client: add slash to log line when missing between host and uri
- Rest Client: HostsSniffer to set http as default scheme
Logging::
- Fix logger when you can not create an azure storage client
- Avoid unnecessary creation of prefix loggers
- Fix logging hierarchy configs
- Fix prefix logging
- Hack around Log4j bug rendering exceptions
- Avoid prematurely triggering logger initialization
- Only log running out of slots when out of slots
Mapping::
- Allow position_gap_increment for fields in indices created prior to 5.0
- Validate blank field name
- Better error message when mapping configures null
- Make doc_values accessible for _type
- Fix and test handling of `null_value`.
- Fail automatic string upgrade if the value of `index` is not recognized.
- Fix dynamic check to properly handle parents
- Fix array parsing to remove its context when finished parsing
- Disallow fielddata loading on text fields that are not indexed.
- Make dynamic template parsing less lenient.
- Fix dynamic mapper when its parent already has an update
- Fix copy_to when the target is a dynamic object field.
- Preserve existing mappings on batch mapping updates
Network::
- Fix connection close header handling
- Ensure port range is readable in the exception message
- Fix expect 100 continue header handling
- Fixes netty4 module's CORS config to use defaults
- Fix various concurrency issues in transport
- Verify lower level transport exceptions don't bubble up on disconnects
Packaging::
- [Packaging] Do not remove scripts directory on upgrade
- [Package] Remove bin/lib/modules directories on RPM uninstall/upgrade
- Fix handling of spaces for jvm.options on Windows
- Disable service in pre-uninstall
- Remove extra bin/ directory in bin folder
- Filter client/server VM options from jvm.options
- Preserve config files from RPM install
- Fix typo in message for variable setup ES_MAX_MEM
- Don't run `mkdir` when $DATA_DIR contains a comma-separated list
- Fix exit code
- Set MAX_OPEN_FILES to 65536
- [windows] Service command still had positional start command
- Do not pass double-dash arguments on startup
Parent/Child::
- Make sure that no `_parent#null` gets introduces as default _parent
mapping
Percolator::
- Fail indexing percolator queries containing either a has_child or
has_parent query
- Add support for MatchNoDocsQuery in percolator's query terms extract
service
- Let PercolatorQuery's explain use the two phase iterator
Plugin Discovery Azure Classic::
- Make discovery-azure plugin work again
Plugin Discovery EC2::
- Fix EC2 discovery settings
- Add TAG_SETTING to list of allowed tags for the ec2 discovery plugin.
- Fix EC2 Discovery settings
Plugin Discovery GCE::
- Fix NPE when GCE region is empty
Plugin Ingest Attachment::
- Adds content-length as number
Plugin Ingest GeoIp::
- [ingest-geoip] update geoip to not include null-valued results from
Plugin Lang Painless::
- Fix String Concatenation Bug In Painless
- Fix break bug in for/foreach loops.
- Fix compound assignment with string concats
- Fix horrible capture
- Fix Casting Bug
- Remove Grammar Ambiguities
- Remove if/else ANTLR ambiguity.
- Fix insanely slow compilation
- Fix Bug in Painless Assignment
- Fix bracket shortcuts
Plugin Repository Azure::
- Register group setting for repository-azure accounts
- Fix azure files removal
Plugin Repository S3::
- Fixes leading forward slash in S3 repository base_path
- Add missing permission to repository-s3
- Fix repository S3 Settings and add more tests
Plugin Store SMB::
- Fix calling ensureOpen() on the wrong directory (master forwardport)
Plugins::
- Use sysprop like with es.path.home to pass conf dir
- Quote path to java binary
- CliTool: Messages printed in Terminal should have percent char escaped
Query DSL::
- Fixes MultiMatchQuery so that it doesn't provide a null context
- Fix silently accepting malformed queries
- query_string_query should take term length into consideration when
fuzziness is auto
- Throw ParsingException if a query is wrapped in an array
- Restore parameter name auto_generate_phrase_queries
- Resolve string dates and date math to millis before evaluating for rewrite
in range query
- `constant_score` query should throw error on more than one filter
- Single IPv4 addresses in IP field term queries
- Make strategy optional in GeoShapeQueryBuilder readFrom and writeTo
Query Refactoring::
- Query refactoring: set has_parent & has_child types context properly
- Make sure equivalent geohashCellQueries are equal after toQuery called
REST::
- Remove lenient URL parameter parsing
- Fixes CORS handling so that it uses the defaults
- Get XContent params from request in Nodes rest actions
- Fixes reading of CORS pre-flight headers and methods
Recovery::
- Fix concurrency issues between cancelling a relocation and marking shard
as relocated
- Move `reset recovery` into RecoveriesCollection
- Fix replica-primary inconsistencies when indexing during primary
relocation with ongoing replica recoveries
- Invoke `IndexingOperationListeners` also when recovering from store or
remote
- Prevent interruption while store checks lucene files for consistency
- Mark shard as recovering on the cluster state thread
Reindex API::
- Fix reindex with transport client
- Fix a race condition in reindex's rethrottle
- Reindex should never report negative throttled_until
- Reindex should gracefully handle when _source is disabled
Scripting::
- Add support for booleans in scripts
- Fix Javascript OOM build Failure
- Fix propagating the default value for script settings
- Catch and wrap AssertionError and NoClassDefFoundError in groovy scripts
Search::
- Do not cache script queries.
- Throw error when trying to fetch fields from source and source is disabled
- Source filtering should keep working when the source contains numbers
greater than `Long.MAX_VALUE`.
- Fix NPE when running a range query on a `scaled_float` with no upper
bound.
- Fix NPE during search with source filtering if the source is disabled.
- Restore assignment of time value when deserializing a scroll instance
- Fix explain output for dfs query
- Don't recursively count children profile timings
- fix explain in function_score if no function filter matches
- Fix NPEs due to disabled source
- Require timeout units when parsing query body
- Close SearchContext if query rewrite failed
- Fix parsing single `rescore` element in SearchSourceBuilder
- Fail queries on not indexed fields.
- Fix for search after
- Do not be lenient when parsing CIDRs
Settings::
- Fix Setting.timeValue() method
- Add a hard limit for `index.number_of_shard`
- Include complex settings in settings requests
- Fix filter cache setting to allow percentages
- Move cluster.routing.allocation.same_shard.host setting to new settings
infrastructure
- Validate settings against dynamic updaters on the master
- Register "cloud.node.auto_attributes" setting in EC2 discovery plugin
- Use object equality to compare versions in IndexSettings
- fix exists method for list settings when using numbered setting format
- convert settings for ResourceWatcherService to new infrastructure
- Register bootstrap settings
- Add settings filtering to node info requests
- Ban write access to system properties
Snapshot/Restore::
- Better handling of an empty shard's segments_N file
- Fix race condition in snapshot initialization
- Fix the semantics for the BlobContainer interface
Stats::
- Fix FieldStats deserialization of `ip` field
- Fix serialization bug in allocation explain API.
- Allocation explain: Also serialize `includeDiskInfo` field
- Add missing builder.endObject() in FsInfo
Store::
- Tighten up concurrent store metadata listing and engine writes
- Make static Store access shard lock aware
- Catch assertion errors on commit and turn it into a real exception
Task Manager::
- Shard level tasks in Bulk Action lose reference to their parent tasks
- Take filterNodeIds into consideration while sending task requests to nodes
Term Vectors::
- Fix calculation of took time of term vectors request
Translog::
- Fix RAM usage estimation of LiveVersionMap.
- Fix translog replay multiple operations same doc
- Snapshotting and sync could cause a dead lock TranslogWriter
- Move translog recover outside of the engine
- Mark shard active during recovery; push settings after engine finally
inits
=== Regressions
Highlighting::
- Handle SynonymQuery extraction for the FastVectorHighlighter
=== Upgrades
Core::
- Upgrade to Lucene 6.2.0
- Update to jackson 2.8.1
- Upgrade to Lucene 6.1.0.
- Upgrade to lucene-6.1.0-snapshot-3a57bea.
- Upgrade to Lucene 6.0.1.
- Upgrade to lucene 6 release
- Upgrade to lucene-6.0.0-f0aa4fc.
- upgrade to lucene 6.0.0-snapshot-bea235f
- Upgrade to Jackson 2.7.1
Ingest::
- Update MaxMind geoip2 version to 2.6
Internal::
- Bump master (3.0-snapshot) to java 8
Network::
- Upgrade to Netty 4.1.5
- Dependencies: Upgrade to netty 4.1.4
- Introduce Netty 4
Packaging::
- Upgrade JNA to 4.2.2 and remove optionality
Plugin Discovery EC2::
- Update aws sdk to 1.10.69 and add use_throttle_retries repository setting
Scripting::
- Dependencies: Updates to mustache 0.9.3
Search Templates::
- Update mustache.java to version 0.9.1
5.0.1 (2016-11-02)
- Fixed performance regression in scan helper
5.0.0 (2016-10-19)
- Version compatible with elasticsearch 5.0
- when using SSL certificate validation is now on by default.
Install certifi or supply root certificate bundle.
- elasticsearch.trace logger now also logs failed requests, signature
of internal logging method log_request_fail has changed, all custom
connection classes need to be updated
- added headers arg to connections to support custom http headers
- passing in a keyword parameter with None as value will cause that
param to be ignored
Upstream changes:
version 0.0100 at 2016-10-09 04:13:59 +0000
-------------------------------------------
Change: 1a805013fbef23417d4911ad2dae6b88d30df82a
Author: Naveed Massjouni <naveed@vt.edu>
Date : 2016-10-09 00:10:17 +0000
v0.0100
Change: 365201e343fe133a78c22e7977a6c66524d3d6e1
Author: Naveed Massjouni <naveedm9@gmail.com>
Date : 2016-10-08 23:48:50 +0000
Merge pull request #3 from hvoers/master
Add functions 'get_config' and 'add_schema_to_config'
Change: fcabbc9f2ffc171062a428e6e4d6a1d5adccf9f3
Author: Henk van Oers <hvo.pm@xs4all.nl>
Date : 2016-08-20 15:12:40 +0000
Add function 'add_schema_to_config'
add_schema_to_config
This function does not touch the existing config. It can be used if
some
other part of your app has configured DBICx::Sugar but did not know
about
the part that uses an extra schema.
add_schema_to_config('schema_name', { dsn => ... });
Change: 587923ac6bae4a7c3044286859741bd4d794d0e7
Author: Henk van Oers <hvo.pm@xs4all.nl>
Date : 2016-08-20 13:40:33 +0000
Remove 'use Memoize', add function 'get_config'
Memoize is not used, so remove.
For introspection add function get_config.
Change: e58f1936ccec6275aa000dd969d6ef3e9f790596
Author: Henk van Oers <hvo.pm@xs4all.nl>
Date : 2016-08-20 13:12:17 +0000
Save the found config
Save the found config like
DBICx::Sugar::config(LoadFile($config_path)->{dbicx_sugar}); would
do.
Change: 48b48aac50969e76645e3c8960576bddad36097f
Author: Naveed Massjouni <naveed@vt.edu>
Date : 2015-03-29 06:01:49 +0000
updated synopsis
* Added SQLITE_FCNTL_WIN32_GET_HANDLE file control opcode.
Bug Fixes:
* Fix the VACUUM command so that it spills excess content to disk rather than holding everything in memory, and possible causing an out-of-memory error for larger database files. This fixes an issue introduced by version 3.15.0.
* Fix a case (present since 3.8.0 - 2013-08-26) where OR-connected terms in the ON clause of a LEFT JOIN might cause incorrect results.
* Fix a case where the use of row values in the ON clause of a LEFT JOIN might cause incorrect results.
Redis 3.2.5 Released Wed Oct 26 09:16:40 CEST 2016
===========================================================================
Upgrade urgency LOW: This release only fixes a compilation issue due to the
missing -ldl at linking time.
zach shipko in commit 4736407:
BSDs don't have -ldl
1 file changed, 15 insertions(+), 5 deletions(-)
antirez in commit 9ada818:
Fix modules compilation when libc malloc is used.
1 file changed, 2 insertions(+), 2 deletions(-)
=== 4.40.0 (2016-10-28)
* Make column_select plugin not raise an exception if the model's table does not exist (jeremyevans)
* Make dataset_associations plugin correctly handle (many|one)_through_many associations with single join table (jeremyevans) (#1253)
* Add s extension, with adds Sequel::S module that includes private #S method for calling Sequel.expr, including use as refinement (jeremyevans)
* Add symbol_as and symbol_as_refinement extensions so that :column.as(:alias) is treated as Sequel.as(:column, :alias) (jeremyevans)
* Add symbol_aref and symbol_aref_refinement extensions so that :table[:column] is treated as Sequel.qualify(:table, :column) (jeremyevans)
* Add Sequel.split_symbols=, to support the disabling of splitting symbols with double/triple underscores (jeremyevans)
* Make SQL::QualifiedIdentifier convert SQL::Identifier arguments to strings, fixing Sequel[:schema][:table] usage in schema methods (jeremyevans)
* Do not attempt to combine non-associative operators (jeremyevans) (#1246)
* Automatically add NOT NULL to columns when adding primary keys if the database doesn't handle it (jeremyevans)
* Make prepared_statements plugin correctly handle lookup on joined datasets (jeremyevans) (#1244)
* Make Database#tables with :qualify=>true option handle table names with double underscores correctly (jeremyevans) (#1241)
* Add SQL::Identifier#[] and SQL::QualifiedIdentifier#[] for creating qualified identifiers (jeremyevans)
* Add support for Dataset#insert_conflict :conflict_where option, for a predicate to use in ON CONFLICT clauses (chanks) (#1240)
* Freeze Dataset::NON_SQL_OPTIONS, add private Dataset#non_sql_options, fixing thread safety issues during require (jeremyevans)
* Make the callable returned by Database#rollback_checker thread safe (jeremyevans)
* Make lazy_attributes and dataset_associations plugins work if insert_returning_select plugin is loaded before on model with no dataset (jeremyevans)
Release 0.2.2 (Oct 22, 2016)
----------------------------
Enhancements
* Add comma_first option: When splitting list "comma first" notation
is used (issue141).
Bug Fixes
* Fix parsing of incomplete AS (issue284, by vmuriart).
* Fix parsing of Oracle names containing dollars (issue291).
* Fix parsing of UNION ALL (issue294).
* Fix grouping of identifiers containing typecasts (issue297).
* Add Changelog to sdist again (issue302).
Internal Changes
* `is_whitespace` and `is_group` changed into properties
OpenSSL removed old DES API which used des_* functions.
24956ca00f
In order to link with libcrypto from recent OpenSSL releases, we need
to replace the older API des_* functions by the newer API DES_* functions.
Submitted upstream as ITS#8525
http://www.openldap.org/its/index.cgi/Incoming?id=8525
2.8.5
- Starting docs on sqliteq
- Use parentheses for compound select with MySQL.
- Remove "clean_prefetch_subquery" as I'm not sure why it exists in the
first place.
2.8.4
- New playhouse extension module for working with SQLite in
multi-threaded / concurrent environments. The new module is called
playhouse.sqliteq and it works by serializing queries using a dedicated
worker thread (or greenlet). The performance is quite good, hopefully
this proves useful to someone besides myself! You can learn more by
reading the sqliteq documentation.
- #1061 - @akrs patched a bug in TimestampField which affected the
accuracy of sub-second timestamps (for resolution > 1).
- #1071, small python 3 fix.
- #1072, allow DeferredRelation to be used multiple times if there are
multiple references to a given deferred model.
- #1073, fixed regression in the speedups module that caused SQL
functions to always coerce return values, regardless of the coerce
flag.
- #1083, another Python 3 issue - this time regarding the use of
exc.message.
=== Enhancements
Allocation::
- Change DiskThresholdDecider's behavior when factoring in leaving shards
Cluster::
- Add clusterUUID to RestMainAction output
=== Bug fixes
Core::
- Guard against negative result from FileStore.getUsableSpace when pick...
Highlighting::
- skip GeoPointMultiTermQuery when highlighting
- Fix highlighting of MultiTermQuery within a FunctionScoreQuery
Index APIs::
- Fix IndexNotFoundException in multi index search request.
Internal::
- Don't fail replica if FlushNotAllowedEngineException is thrown
Network::
- Don't send exception responses twice
Packaging::
- Fix Windows GC options
Query DSL::
- Fail parsing when match query contains an array of terms
REST::
- Correct the description for refresh
Reindex API::
- Make reindex tests a little less flaky
Scripting::
- Native scripts should be created once per index, not per segment.
Settings::
- Validate max thread/merge settings
0.4.5
New Features
* Add new connection argument :ssl_mode to Mysql2::Client#new
* Prepared statements now support DateTime arguments
Bugfixes
* Fix segfault when wrapper->result is used after it is freed
* Raise an exception but don't crash on non-string encoding argument
* Raise an exception but don't crash on nil argument to Mysql2::Client#new
* Avoid RangeError on integers larger than LONG_LONG
* Fix a BigDecimal value binding in Prepared Statements
* Avoid type error when using connect_timeout, read_timeout and
write_timeout in a DATABASE_URL env variable
Changes
* Travis CI matrix now includes MySQL 8.0
* Travis CI matrix defaults to MySQL 5.6
* AppVeyor CI matrix switched to MySQL 5.7
* Fix test that implicitly creates a passwordless user
* Use RSpec expect output instead of StringIO
* Move macro REQUIRE_CONNECTED to client.c
* Add a note about casting boolean columns
* Suppress rubocop's invalid UTF-8 literal warning
pkgsrc changes
==============
Bind this package with databases/sqlite3 to get immediate updates along
with the sqlite3 package.
Set new versioning policy and concatenate versions of lemon and sqlite3.
The reasoning for it is as follows:
- currently lemon is an integral part of sqlite3
- lemon has its own conservative versioning regardless of changes in its code
- leave room for possible standalone lemon package with bumped versions
- reflect reality and make it human readable without checking the sources
Set LICENSE to public-domain.
Install documentation in the HTML format.
Compile with LDFLAGS set.
Finally don't use databases/sqlite3/Makefile.common as lemon is not
distributed in the same archive. Make use of Makefile.version that does the
same job of tracking upstream.
Do not set PKGCONFIG_OVERRIDE in Makefile.common, it is not accessible in
sqlite3-tcl.
Upstream changelog
==================
Changes are unknown, but at least the program acquired a -T command line
option used by brlcad.
New features:
- Notification Modules
- Connection Schedules
- Query Router Modules
Full changelog:
- fixed mysql set isolation level query
- updated mysql connection to run commit/rollback at the end of every
session even if only selects were run, to make sure metadata locks are
released
- renamed sqlrclientexitstatus_t to clientsessionexitstatus_t
- updated all db connection modules to reinit the column count during
prepare rather than execute
- fixed bug where server-side errors set by conn/cursor->setError()
could inadverntantly be overriden during the next call to
conn/cursor->errorMessage()
- added several more queries to mysql stmt-api blacklist
- configure option --disable-odbc-driver actually works now
- filters can specify an error string and error number now
- added support for systemd
- fixed a memory leak by applying and updating a patch from Kasyanov
Dmitry to deallocate the error message in C++ API destructor
- legacy_stdio_definitions.lib is now included when building ODBC with
VS2015
- added support for PHP7
- added -wait option to sqlr-start for non-Windows
- disabled -disable-new-window option to sqlr-start for non-Windows
- non-ascii character encodings work with the C# API now
- rudiments prompt class is used instead of using readline directly now
- renamed "logger-events" to just "events"
- added notification framework and "events" module
- added connection schedule framework and "cron" module
- applied sec/usec patch from samchuck at neowiz to custom_nw logger to
fix subtle time calculation error
- applied a patch from samchuck at neowiz to the sqlrclient protocol
module to deallocate storage for bind variables after logging the
query to resolve a reference-after-free bug
- added router module framework with "regex", "userlist" and
"clientiplist" modules
- when router detects a possible integrity violation now, it raises an
event which can be logged or trigger a notification and disables the
instance
- router calls begin, commit, and rollback on all connections now, even
if they're executed as queries rather than using the api methods
- removed tls_userlist/krb_userlist auth modules and updated the
userlist auth module to support tls and kerberos auth
- converted most of the doc source to wikitext
- fixed ODBC driver bug that could corrupt memory and trick the driver
manager into thinking that some basic functions are unavailable
- ODBC SQLTables works more correctly now
- fixed an ODBC bug that caused the first row to be fetched twice when
using SQLBindCol
Upstream changes:
2016-10-19 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.038)
* Version 4.037_1 had fixes for MySQL 8.0 provided
Bernt Johnsen @ Oracle that were not in the Changelogs
(https://github.com/perl5-dbi/DBD-mysql/pull/56)
* Fixes for compiling against newer libmysqlclient on Windows (kmx)
* Fix unit test for 40server_prepare_crash on Windows (pali)
* Perl's IV in scalar can store 64bit integer when perl was compiled
with 64 bit support (default on 64bit linux with gcc). Use this
feature and stores MYSQL_TYPE_LONGLONG as integers instead of strings
when possible. (pali, https://github.com/perl5-dbi/DBD-mysql/pull/57)
2016-10-14 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.037_01)
* Newest versions of libmysqlclient and the MariaDB C connector no longer
export the __WIN__ macro. If this macro is not present we would not
compile in the poll.h-based async-support. Changed to use the _WIN32
macro instead. Thanks to Sergei Golubchik for suggesting the fix.
* Fix from Pali Roh獺r to not use unsafe sprintf with variable lengt,
changes to bind logic, and added test 40server_prepare_crash.
2016-10-03 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.037)
* Security release to patch possible buffer overflow in prepared
statements. Reported and fixed by Pali Roh獺r. This vulnerability
is present in all releases at least back to versions 3.0 of the
driver, which were released in 2005.
The CVE identifier for this vulnerability is CVE-2016-1246.
Release 0.2.1 (Aug 13, 2016)
---------------------------
Notable Changes
* PostgreSQL: Function bodys are parsed as literal string. Previously
sqlparse assumed that all function bodys are parsable psql
strings (see issue277).
Bug Fixes
* Fix a regression to parse streams again (issue273, reported and
test case by gmccreight).
* Improve Python 2/3 compatibility when using parsestream (isseu190,
by phdru).
* Improve splitting of PostgreSQL functions (issue277).
Release 0.2.0 (Jul 20, 2016)
----------------------------
IMPORTANT: The supported Python versions have changed with this release.
sqlparse 0.2.x supports Python 2.7 and Python >= 3.3.
Thanks to the many contributors for writing bug reports and working
on pull requests who made this version possible!
Internal Changes
* sqlparse.SQLParseError was removed from top-level module and moved to
sqlparse.exceptions.
* sqlparse.sql.Token.to_unicode was removed.
* The signature of a filter's process method has changed from
process(stack, stream) -> to process(stream). Stack was never used at
all.
* Lots of code cleanups and modernization (thanks esp. to vmuriart!).
* Improved grouping performance. (sjoerdjob)
Enhancements
* Support WHILE loops (issue215, by shenlongxing).
* Better support for CTEs (issue217, by Andrew Tipton).
* Recognize USING as a keyword more consistently (issue236, by koljonen).
* Improve alignment of columns (issue207, issue235, by vmuriat).
* Add wrap_after option for better alignment when formatting
lists (issue248, by Dennis Taylor).
* Add reindent-aligned option for alternate formatting (Adam Greenhall)
* Improved grouping of operations (issue211, by vmuriat).
Bug Fixes
* Leading whitespaces are now removed when format() is called with
strip_whitespace=True (issue213, by shenlongxing).
* Fix typo in keywords list (issue229, by cbeloni).
* Fix parsing of functions in comparisons (issue230, by saaj).
* Fix grouping of identifiers (issue233).
* Fix parsing of CREATE TABLE statements (issue242, by Tenghuan).
* Minor bug fixes (issue101).
* Improve formatting of CASE WHEN constructs (issue164, by vmuriat).
Release 0.1.19 (Mar 07, 2016)
-----------------------------
Bug Fixes
* Fix IndexError when statement contains WITH clauses (issue205).
Release 0.1.18 (Oct 25, 2015)
-----------------------------
Bug Fixes
* Remove universal wheel support, added in 0.1.17 by mistake.
Release 0.1.17 (Oct 24, 2015)
-----------------------------
Enhancements
* Speed up parsing of large SQL statements (pull request: issue201, fixes the
following issues: issue199, issue135, issue62, issue41, by Ryan Wooden).
Bug Fixes
* Fix another splitter bug regarding DECLARE (issue194).
Misc
* Packages on PyPI are signed from now on.
Release 0.1.16 (Jul 26, 2015)
-----------------------------
Bug Fixes
* Fix a regression in get_alias() introduced in 0.1.15 (issue185).
* Fix a bug in the splitter regarding DECLARE (issue193).
* sqlformat command line tool doesn't duplicat newlines anymore (issue191).
* Don't mix up MySQL comments starting with hash and MSSQL
temp tables (issue192).
* Statement.get_type() now ignores comments at the beginning of
a statement (issue186).
Release 0.1.15 (Apr 15, 2015)
-----------------------------
Bug Fixes
* Fix a regression for identifiers with square bracktes
notation (issue153, by darikg).
* Add missing SQL types (issue154, issue155, issue156, by jukebox).
* Fix parsing of multi-line comments (issue172, by JacekPliszka).
* Fix parsing of escaped backslashes (issue174, by caseyching).
* Fix parsing of identifiers starting with underscore (issue175).
* Fix misinterpretation of IN keyword (issue183).
Enhancements
* Improve formatting of HAVING statements.
* Improve parsing of inline comments (issue163).
* Group comments to parent object (issue128, issue160).
* Add double precision builtin (issue169, by darikg).
* Add support for square bracket array indexing (issue170, issue176,
issue177 by darikg).
* Improve grouping of aliased elements (issue167, by darikg).
* Support comments starting with '#' character (issue178).
Added support for row values.
Allow deterministic SQL functions in the WHERE clause of a partial index.
Added the "modeof=filename" URI parameter on the unix VFS
Added support for SQLITE_DBCONFIG_MAINDBNAME.
Added the ability to VACUUM an ATTACH-ed database.
Enhancements to the command-line shell:
Add the ".testcase" and ".check" dot-commands.
Added the --new option to the ".open" dot-command, causing any prior content in the database to be purged prior to opening.
Enhance the fts5vocab virtual table to handle "ORDER BY term" efficiently.
Miscellaneous micro-optimizations reduce CPU usage by more than 7% on common workloads. Most optimization in this release has been on the front-end (sqlite3_prepare_v2()).
Bug Fixes:
The multiply operator now correctly detects 64-bit integer overflow and promotes to floating point in all corner-cases.
Correct handling of columns with redundant unique indexes when those columns are used on the LHS of an IN operator.
Skip NULL entries on range queries in indexes on expressions.
Ensure that the AUTOINCREMENT counters in the sqlite_sequence table are initialized doing "Xfer Optimization" on "INSERT ... SELECT" statements.
Make sure the ORDER BY LIMIT optimization (from check-in 559733b09e) works with IN operators on INTEGER PRIMARY KEYs.
Security Notes
--------------
* Incompatible Change: For STANDALONE and WIN builds, the default secure_file_priv value has changed from the empty string to NULL. This is a secure-by-default setting because it disables import and export operations. To permit those operations, set secure_file_priv to the path name of the directory to use for those operations.
* The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.1u. For a description of issues fixed in this version, see http://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead.
Functionality Added or Changed
------------------------------
* yaSSL was upgraded to version 2.4.2. This upgrade corrects issues with: Potential AES side channel leaks; DSA padding for unusual sizes; the SSL_CTX_load_verify_locations() OpenSSL compatibility function failing to handle long path directory names.
Packaging Notes
---------------
RPM and Debian packages now create the /var/lib/mysql-files directory, which is now the default value of the secure_file_priv system variable that specifies a directory for import and export operations.
Security Notes
--------------
Incompatible Change: The secure_file_priv system variable is used to limit the effect of data import and export operations.
Functionality Added or Changed
------------------------------
yaSSL was upgraded to version 2.4.2. This upgrade corrects issues with: Potential AES side channel leaks; DSA padding for unusual sizes; the SSL_CTX_load_verify_locations() OpenSSL compatibility function failing to handle long path directory names.
Packaging Notes
---------------
RPM packages now create the /var/lib/mysql-files directory, which is now the default value of the secure_file_priv system variable that specifies a directory for import and export operations.
Security Notes
--------------
Incompatible Change: The secure_file_priv system variable is used to limit the effect of data import and export operations.
Functionality Added or Changed
------------------------------
yaSSL was upgraded to version 2.4.2. This upgrade corrects issues with: Potential AES side channel leaks; DSA padding for unusual sizes; the SSL_CTX_load_verify_locations() OpenSSL compatibility function failing to handle long path directory names.
* Fix build with boost 1.62.0
* Use fsync(2) instead of fdatasync(2) on NetBSD
When fdatasync(2) is used, journaling support does not work
on 7.99.39 and 7.0.1
Changelog:
MongoDB 3.2.10 is out and is ready for production deployment. This release contains only fixes since 3.2.9, and is a recommended upgrade for all 3.2 users.
Fixed in this release:
SERVER-12048 Calling "service mongod start" with mongod running prevents "service mongod stop" from working
SERVER-16801 Update considers a change in numerical type to be a noop
SERVER-20306 75% excess memory usage under WiredTiger during stress test
SERVER-24885 The systemd MaxTasks feature can prevent mongod from accepting new connections
SERVER-24971 Excessive memory held by sessions when application threads do evictions
SERVER-25478 Use wtimeout in sh.setBalancerState
SERVER-25951 Report additional metrics in getMore slowms logging
SERVER-25974 Application threads stall for extended period when cache fills
TOOLS-1429 mongostat panic when monitored server is restarted
WT-2026 Maximum pages size at eviction too large
WT-2924 Ensure we are doing eviction when threads are waiting for it
=== 4.39.0 (2016-10-01)
* Make active_model plugin use rollback_checker instead of after_rollback hook (jeremyevans)
* Add Database#rollback_checker, which returns a proc that returns whether the in progress transaction is rolled back (jeremyevans)
* Add Sequel::Database.set_shared_adapter_scheme to allow external adapters to support the mock adapter (jeremyevans)
* Make hook_class_methods plugin not use after commit/rollback model hooks (jeremyevans)
* Support add_column :after and :first options on MySQL (AnthonyBobsin, jeremyevans) (#1234)
* Support ActiveSupport 5 in pg_interval extension when weeks/hours are used in ActiveSupport::Duration objects (chanks) (#1233)
* Support IntegerMigrator :relative option, for running only the specified number of migrations up or down (jeremyevans)
* Make the touch plugin also touch associations on create in addition to update and delete (jeremyevans)
* Add :allow_manual_update timestamps plugin option for not overriding a manually set update timestamp (jeremyevans)
* Add Sequel.[] as an alias to Sequel.expr, for easier expression creation (jeremyevans)
* Add PostgreSQL full_text_search :to_tsquery=>:phrase option, for using PostgreSQL 9.6+ full text search phrase searching (jeremyevans)
* Add JSONBOp#insert in pg_json_ops extension, for jsonb_insert support on PostgreSQL 9.6+ (jeremyevans)
* Support add_column :if_not_exists option on PostgreSQL 9.6+ (jeremyevans)
== v0.19.0 [2016-09-21] Michael Granger <ged@FaerieMUD.org>
- Deprecate Ruby 1.9
Enhancements:
- Respect and convert character encoding of all strings sent
to the server. #231
- Add PostgreSQL-9.5 functions PQsslInUse(), PQsslAttribute()
and PQsslAttributeNames().
- Various documentation fixes and improvements.
- Add mechanism to build without pg_config:
gem install pg -- --with-pg-config=ignore
- Update Windows binary gems to Ruby-2.3, PostgreSQL 9.5.4 and
OpenSSL 1.0.2f.
- Add JSON coders and add them to BasicTypeMapForResults and
BasicTypeMapBasedOnResult
- Allow build from git per bundler.
Bugfixes:
- Release GVL while calling PQsetClientEncoding(). #245
- Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x. #236
- Fix wrong exception when running SQL while in Connection#copy_data
block for output
LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
* Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
* Execute arbitrary SQL statements;
* Retrieve results in a row-by-row cursor fashion;
This package provides access to SQLite 3.x.
LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
* Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
* Execute arbitrary SQL statements;
* Retrieve results in a row-by-row cursor fashion;
This package provides access to SQLite 2.x.
LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
* Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
* Execute arbitrary SQL statements;
* Retrieve results in a row-by-row cursor fashion;
This package provides access to PostgreSQL.
LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
* Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
* Execute arbitrary SQL statements;
* Retrieve results in a row-by-row cursor fashion;
This package provides access to MySQL.
- builds cleanly on recent Linux and Oracle clients
- Added extended support for 64 bit clients
- Added support for DCRP (Database Resident Connection Pooling)
- Dropped Oraperl
mongo-c-driver 1.4.2
- Fixes bugs in "minPoolSize" logic, see CDRIVER-1558 for details.
mongo-c-driver 1.4.1
- mongoc_client_get_server_descriptions could return a list
including NULLs
- Tailable cursors on MongoDB 3.2 only worked with
MONGOC_QUERY_AWAIT_DATA
- Spurious warnings with MONGOC_DISABLE_SHM
======
- Add support for Protocol Buffers 3
- Add View support (without DDL)
- Implement get_default_schema() method in BaseSchema
- DevAPI: Per ReplicaSet SQL execution
- DevAPI: XSession accepts a list of routers
- DevAPI: Define action on adding empty list of documents
- BUG23729357: Fix fetching BIT datatype
- BUG23583381: Add who_am_i and am_i_real methods to DatabaseObject
- BUG23568257: Add fetch_one method to mysqlx.result
- BUG23550743: Add close method to XSession and NodeSession
- BUG23550057: Add support for URI as connection data
This is a Redis critical release in order to fix a security issue
which is documented clearly here:
6d9f8e2462
Thanks to Cory Duplantis of Cisco Talos for reporting the issue.
IMPACT:
The gist is that using CONFIG SET calls (or by manipulating
redis.conf) an attacker is able to compromise certain fields of
the "server" global structure, including the aof filename pointer,
that could be made pointing to something else. In turn the AOF
name is used in different contexts such as logging, rename(2) and
open(2) syscalls, leading to potential problems.
Please note that since having access to CONFIG SET also means to
be able to change the AOF filename (and many other things)
directly, this issue actual real world impact is quite small, so I
would not panik: if you have CONFIG SET level of access, you can
do more and more easily.
AFFECTED VERSIONS:
- All Redis 3.2.x versions are affected.
OTHER CHANGES IN THIS RELEASE:
- TCP binding bug fixed when only certain addresses were available
for a given port.
- A much better crash report that includes part of the Redis binary:
this will allow to fix bugs even when we just have a crash log and
no other help from the original poster oft the issue.
- A fix for Redis Cluster redis-trib displaying of info after
creating a new cluster.
Changelog: https://docs.mongodb.com/manual/release-notes/3.2-changelog/
3.2.9 Changelog
Security
SERVER-17856 users on mongods should always be able to run currentOp and killOp on their own operations
Sharding
SERVER-23958 DBConfig::_loadIfNeeded will not do a reload even in cases where a force reload is needed
SERVER-24810 Swap movePrimary command for ShardingTest::ensurePrimaryShard
SERVER-24842 ShardingStateRecovery::recover cleanup should not wait for replication
SERVER-24892 "Creating first chunks failed: Data inconsistency detected amongst config servers" when using 3.2.3+ without replica set config servers
SERVER-25029 Segmentation fault in mongos when config servers not available
SERVER-25052 csrs_upgrade_set_shard_version.js test is racy
SERVER-25254 Only advance config server optime in response to messages from cluster members
SERVER-25258 Improve parsing of killOp opID in mongos
Replication
SERVER-22136 Attach term metadata to UpdatePosition command
SERVER-23795 master/slave looks at on-disk size on a resync
SERVER-24630 Mongos erroneously advances config optime for writes that fail write concern
SERVER-24933 Clean shutdown of secondaries should occur in between oplog batches, not during
SERVER-25353 Clean shutdown should leave secondaries without the batch-in-progress flag
Query
SERVER-24693 group7.js should deterministically check for yields
SERVER-24761 Queries being planned with the subplanner can ignore when the PlanExecutor is killed
Storage
SERVER-16910 sorth.js makes invalid assumption about order of results
WiredTiger
SERVER-23659 Provide useful message when wiredTigerJournalCompressor is changed
SERVER-24334 Support conditional files in WiredTiger builds
WT-2711 Change statistics log configuration options
WT-2730 cursor next/prev can return the wrong key/value pair when crossing a page boundary
WT-2760 Fix a bug in backup related to directory sync. Change the filesystem API to make durable the default
WT-2798 Crash vulnerability with nojournal after create during checkpoint
WT-2802 Transaction commit causes heap-use-after free
Operations
SERVER-20239 Built-in sampling heap profiler
SERVER-22347 Mongo shell replica set connections must use legacy readMode
SERVER-22383 mongo shell should permit mongodb:// URI without database name
SERVER-23069 Improve tcmalloc freelist statistics
SERVER-23145 Shell sharding helpers should give feedback on success
SERVER-23409 Add tunability to tcmalloc serverStatus detail
SERVER-23830 On RHEL7/Centos7 mongod can't stop if pid location in conf differs from the init.d script
SERVER-24335 Shell sharding helpers should use wtimeout and respond appropriately
Build and Packaging
SERVER-7285 Support systemd in future compatible distributions
SERVER-19986 clang-format.py lint fails in mci if files were deleted
SERVER-21820 Export "endian" option from SConstruct
SERVER-21830 Import the edit "endian" option in SConscript
SERVER-24849 Vendor SCons
Tools
TOOLS-1336 Make -version spit out a bit more information.
Internals
SERVER-23226 Port resmoke.py's CheckReplDBHash hook to javascript
SERVER-23306 Check collection attributes during (js) testing
SERVER-23661 $sample takes disproportionately long time on newly created collection
SERVER-23902 Failing to create a thread should fail with a useful error message
SERVER-24073 Update system perf, longevity, and distributed correctness projects to use dedicated work directory
SERVER-24346 Run jstestfuzz on rhel55-test instead of rhel55
SERVER-24593 virtualenv used for ese test should not use system-site-package
SERVER-24716 Remove the CheckReplDBHashDeprecated hook
SERVER-24758 Move initial_sync suite of tests into its own tasks in sys-perf project
SERVER-24820 move push tasks to use relevant ec2 distro rather than rhel55
SERVER-24919 Perf.yml should consistently call pip install in venv
SERVER-24925 add url_raw field to resmoke
SERVER-24946 Evergreen.yml test for storageEngineCacheSizeGB cannot use [[ ]]
SERVER-24990 Update command_line_parsing.js to ignore cacheSizeGB in configuration comparison
SERVER-25006 Connection Pool ASIO must indicate use separately from non-error
SERVER-25074 make performance analysis run with log analysis
SERVER-25146 JS replset dbhash hook fails when checking nindexes with a collection containing a background index
SERVER-25169 for all branches earlier than master, change rhel55 compile distro to rhel55-large
SERVER-25193 Update system_perf.yml to simplify patch builds
SERVER-25198 Increase scons stack size for eslint
SERVER-25199 performance project: enable time logic for log analysis
SERVER-25212 work around stale dbhash value on v3.2
SERVER-25259 Drop temporary databases in dbhash testing hook
SERVER-25273 Concurrency suite dbHash check should call checkDBHashesFsyncLocked
SERVER-25274 Make checkDBHashesFsyncLocked from jstests/hooks/check_repl_dbhash.js, an internal function
SERVER-25302 turn on YCSB throughput analysis for YCSB tasks in sys-perf
SERVER-25330 Update system_perf.yml to use different test_control file for replica and sharded ycsb
TOOLS-1079 write_concern_mongos jstests are flaky
TOOLS-1176 -dumpDbUsersAndRoles without users creates broken dumps
Ocamldap is an implementation of the Light Weight Directory Access Protocol,
and a set of useful tools built around it. It includes high level libraries for
creating ldap clients and ldap servers.
It also includes many of the auxiliary tools needed for building intelligent
solutions, and interoperating with other directories. These include, an rfc2252
schema parser, and an schema checker, an ldif parser and printer, a search
filter parser (but no printer yet), and a rudimentary ldap url parser.
=== Breaking changes
Network::
- Single comma-delimited response header for multiple values
=== Deprecations
Geo::
- Deprecate optimize_bbox on geodistance queries
- Deprecate geohash parameters for geo_point parser
Mapping::
- Add deprecation logging for '_timestamp' and '_ttl'.
Query DSL::
- Deprecate soon-to-be-unsupported queries.
REST::
- Deprecate camelCase usages
Search::
- Deprecate sort option reverse.
Settings::
- Deprecate bootstrap.mlockall
- Deprecate camelCase settings magic
Snapshot/Restore::
- Adds deprecation notices on removed BlobContainer methods
=== New features
Geo::
- Add CONTAINS relation to geo_shape query
Plugin Cloud AWS::
- Add support for path_style_access
Reindex API::
- Backport: Reindex's throttling
=== Enhancements
Circuit Breakers::
- Limit request size
Cluster::
- Batch process node left and node failure 2.x
Core::
- Improve performance of applyDeletedShards
- Sliced lock contention 2.x
- Kill thread local leak
- Remove hostname from NetworkAddress.format (2.x)
Dates::
- Improve TimeUnitRounding for edge cases and DST transitions
Internal::
- Turn RestChannel into an interface
- Require executor name when calling scheduleWithFixedDelay
- Implement available for all StreamInput classes
Java API::
- Add created flag to IndexingOperationListener#postIndex
Logging::
- Add shardId and node name in search slow log
Mapping::
- Mappings: Allow to force dots in field names
Network::
- Exclude admin / diagnostic requests from HTTP request limiting
- Netty request/response tracer should wait for send
- Exclude specific transport actions from request size limit check
- Provide better error message when an incompatible node connects
to a node
Packaging::
- Increase default max open files to 65536
- Allow configuring Windows service name, description and user
Parent/Child::
- Allow adding additional child types that point to an existing
parent type
Query DSL::
- Fixed QueryParsingException in multi match query
REST::
- CORS handling triggered whether User-Agent is a browser or not
Reindex API::
- Switch default batch size for reindex to 1000
Scripting::
- Mustache: Add util functions to render JSON and join array
values
- Compile each Groovy script in its own classloader
=== Bug fixes
Aggregations::
- Fix potential AssertionError with include/exclude on terms
aggregations.
- Pass resolved extended bounds to unmapped histogram aggregator
- Fix "key_as_string" for date histogram and
epoch_millis/epoch_second format with time zone
- Fix TimeUnitRounding for hour, minute and second units
- Adds serialisation of sigma to extended_stats_bucket pipeline
aggregation
- ExtendedStatsAggregator should also pass sigma to emtpy aggs.
- Prevents exception being raised when ordering by an aggregation
which wasn't collected
- Setting 'other' bucket on empty aggregation
Allocation::
- Rebalancing policy shouldn't prevent hard allocation decisions
Analysis::
- Add 'Character.MODIFIER_SYMBOL' to the list of symbol
categories.
Bulk::
- Copy headers and context to individual requests inside a bulk
CAT API::
- Fix merge stats rendering in RestIndicesAction
- Expand wildcards to closed indices in '/_cat/indices'
- Fix column aliases in '_cat/indices', '_cat/nodes' and
'_cat/shards' APIs
CRUD::
- Prevent TransportReplicationAction to route request based on
stale local routing table
Cluster::
- Fix block checks when no indices are specified
- Cluster stats: fix memory available that is always set to 0
Core::
- Throw exception if using a closed transport client
- Fix misplaced cast when parsing seconds
- Don't try to compute completion stats on a reader after we
already closed it
Dates::
- Make sure TimeIntervalRounding is monotonic for increasing dates
- Fix invalid rounding value for TimeIntervalRounding close to DST
transitions
- Fix problem with TimeIntervalRounding on DST end
Highlighting::
- Plain highlighter should ignore parent/child queries
- Let fast vector highlighter also extract terms from the nested
query's inner query.
- Skip all geo point queries in plain highlighter
- Exclude all but string fields from highlighting if wildcards are
used
Indexed Scripts/Templates::
- Don't ignore custom sharding settings in create index request
for '.scripts' index
Internal::
- Fix filtering of node ids for TransportNodesAction
Logging::
- Add missing index name to search slow log.
Mapping::
- Mapping updates on objects should propagate 'include_an_all'.
- Mappings: Fix detection of metadata fields in documents
- Fix not_analyzed string fields to error when
position_increment_gap is set
- Automatically created indices should honor
'index.mapper.dynamic'.
- Process dynamic templates in order.
- Fix cross type mapping updates for 'boolean' fields.
- Fail if an object is added after a field with the same name.
Packaging::
- RESTART_ON_UPGRADE incorrectly named ES_RESTART_ON_UPGRADE in
sysconfig
Percolator::
- Set the SC and QPC type always to '.percolator' in percolate api
- Fixed NPE when percolator filter option is "empty".
Plugin Analysis Kuromoji::
- Prebuild Japanese Stop Words Token Filter
Plugin Cloud AWS::
- Support specific key/secret for EC2
- Add missing permission for S3 repository
Plugin Cloud Azure::
- Make discovery-azure work again on 2.4 branch
- Fix remove of azure files
Plugin Cloud GCE::
- Fix NPE when GCE region is empty
Query DSL::
- Make parsing of bool queries stricter
- Fix NullPointerException in SimpleQueryParser when analyzing
text produces a null query
- Apply the default operator on analyzed wildcard in
simple_query_string builder
- Apply the default operator on analyzed wildcard in query_string
builder
REST::
- Do not decode path when sending error
- CORS should permit same origin requests
- Allow CORS requests to work with HTTP compression enabled
- Fixes reading of CORS pre-flight headers and methods
- Fix OOM in AbstractXContentParser
Recovery::
- Backports Notify GatewayRecoveryListener on failure
Reindex API::
- Make reindex and lang-javascript compatible
Search::
- AllTermQuery must implement equals/hashCode.
- Add ref-counting to SearchContext to prevent accessing already
closed readers
- Fix '_only_nodes' preferences
- Speed up named queries.
Snapshot/Restore::
- Handle 'indices=["_all"]' when restoring a snapshot
- On restore, selecting concrete indices can select wrong index
Stats::
- Fix sync flush total shards statistics
Translog::
- Translog can delete valid .ckp file when views are closed after
the translog
- Call ensureOpen on Translog#newView() to prevent
IllegalStateException
=== Upgrades
Core::
- Update jackson to version 2.8.1 (on 2.4 branch)
- Upgrade lucene to 5.5.2
Dates::
- Upgrade joda-time to 2.9.4
Internal::
- Update Jackson 2.6.2 -> 2.6.6 (latest and final 2.6 patch)
Network::
- Upgrade to netty 3.10.6.Final
Plugin Cloud AWS::
- Update aws sdk to 1.10.69 and add throttle_retries repository
setting
Features
- Add v5 protocol failure map
- Don't return from initial connect on first error
- Indicate failed column when deserialization fails
- Let Cluster.refresh_nodes force a token map rebuild
- Refresh UDTs after "keyspace updated" event with v1/v2 protocol
- EC2 Address Resolver
- Speculative query retries
- Expose paging state in API
- Don't mark host down while one connection is active
- Query request size information
- Avoid quadratic ring processing with invalid replication factors
- Improve Connection/Pool creation concurrency on startup
- Add beta version native protocol flag
- cqlengine: Connections: support of multiple keyspaces and
sessions
Bug Fixes
- Race when adding a pool while setting keyspace
- Update results_metadata when prepared statement is reprepared
- CQL Export for Thrift Tables
- cqlengine: default value not applied to UserDefinedType
- cqlengine: columns are no longer hashable
- cqlengine: remove clustering keys from where clause when
deleting only static columns
Net::FileMaker provides an interface to FileMaker's various HTTP-based
interfaces, at present only the XML API is supported, but further support
to include XSLT and other means is planned.
popular database language in the world. MySQL is a client-server implementation
that consists of a server daemon `mysqld' and many different client
programs/libraries.
The main goals of MySQL are speed and robustness.
The base upon which MySQL is built is a set of routines that have been used in
a highly demanding production environment for many years. While MySQL is still
in development it already offers a rich and highly useful function set.
----- 7.4.12
Changes in MySQL Cluster NDB 7.4.12 (5.6.31-ndb-7.4.12) (2016-07-18)
MySQL Cluster NDB 7.4.12 is a new release of MySQL Cluster 7.4,
based on MySQL Server 5.6 and including features in version 7.4 of
the NDB storage engine, as well as fixing recently discovered bugs
in previous MySQL Cluster releases.
This release also incorporates all bugfixes and changes made in
previous MySQL Cluster releases, as well as all bugfixes and feature
changes which were added in mainline MySQL 5.6 through MySQL 5.6.31
(see Changes in MySQL 5.6.31 (2016-06-02)).
Functionality Added or Changed
ClusterJ: To make it easier for ClusterJ to handle fatal errors
that require the SessionFactory to be closed, a new public
method in the SessionFactory interface,
getConnectionPoolSessionCounts(), has been created. When it
returns zeros for all pooled connections, it means all sessions
have been closed, at which point the SessionFactory can be
closed and reopened. See Reconnecting to a MySQL Cluster for
more detail. (Bug #22353594)
Bugs Fixed
Incompatible Change: When the data nodes are only partially
connected to the API nodes, a node used for a pushdown join
may get its request from a transaction coordinator on a different
node, without (yet) being connected to the API node itself. In
such cases, the NodeInfo object for the requesting API node
contained no valid info about the software version of the API
node, which caused the DBSPJ block to assume (incorrectly) when
aborting to assume that the API node used NDB version 7.2.4 or
earlier, requiring the use of a backward compatability mode to
be used during query abort which sent a node failure error
instead of the real error causing the abort.
Now, whenever this situation occurs, it is assumed that, if
the NDB software version is not yet available, the API node
version is greater than 7.2.4. (Bug #23049170)
Although arguments to the DUMP command are 32-bit integers,
ndb_mgmd used a buffer of only 10 bytes when processing them.
(Bug #23708039)
During shutdown, the mysqld process could sometimes hang after
logging NDB Util: Stop ... NDB Util: Wakeup. (Bug #23343739)
References: See also: Bug #21098142.
During an online upgrade from a MySQL Cluster NDB 7.3 release
to an NDB 7.4 (or later) release, the failures of several data
nodes running the lower version during local checkpoints (LCPs),
and just prior to upgrading these nodes, led to additional node
failures following the upgrade. This was due to lingering
elements of the EMPTY_LCP protocol initiated by the older nodes
as part of an LCP-plus-restart sequence, and which is no longer
used in NDB 7.4 and later due to LCP optimizations implemented
in those versions. (Bug #23129433)
Reserved send buffer for the loopback transporter, introduced
in MySQL Cluster NDB 7.4.8 and used by API and management nodes
for administrative signals, was calculated incorrectly. (Bug
#23093656, Bug #22016081)
References: This issue is a regression of: Bug #21664515.
During a node restart, re-creation of internal triggers used
for verifying the referential integrity of foreign keys was
not reliable, because it was possible that not all distributed
TC and LDM instances agreed on all trigger identities. To fix
this problem, an extra step is added to the node restart
sequence, during which the trigger identities are determined
by querying the current master node. (Bug #23068914)
References: See also: Bug #23221573.
Following the forced shutdown of one of the 2 data nodes in a
cluster where NoOfReplicas=2, the other data node shut down as
well, due to arbitration failure. (Bug #23006431)
The ndbinfo.tc_time_track_stats table uses histogram buckets
to give a sense of the distribution of latencies. The sizes of
these buckets were also reported as HISTOGRAM BOUNDARY INFO
messages during data node startup; this printout was redundant
and so has been removed. (Bug #22819868)
A failure occurred in DBTUP in debug builds when variable-sized
pages for a fragment totalled more than 4 GB. (Bug #21313546)
mysqld did not shut down cleanly when executing ndb_index_stat.
(Bug #21098142)
References: See also: Bug #23343739.
DBDICT and GETTABINFOREQ queue debugging were enhanced as follows:
Monitoring by a data node of the progress of GETTABINFOREQ
signals can be enabled by setting DictTrace >= 2.
Added the ApiVerbose configuration parameter, which enables
NDB API debug logging for an API node where it is set
greater than or equal to 2.
Added DUMP code 1229 which shows the current state of the
GETTABINFOREQ queue. (See DUMP 1229.)
See also The DBDICT Block. (Bug #20368450)
References: See also: Bug #20368354.
Cluster API: Deletion of Ndb objects used a dispoportionately
high amount of CPU. (Bug #22986823)
----- 7.4.11
Changes in MySQL Cluster NDB 7.4.11 (5.6.29-ndb-7.4.11) (2016-04-20)
MySQL Cluster NDB 7.4.11 is a new release of MySQL Cluster 7.4,
based on MySQL Server 5.6 and including features in version 7.4 of
the NDB storage engine, as well as fixing recently discovered bugs
in previous MySQL Cluster releases.
This release also incorporates all bugfixes and changes made in
previous MySQL Cluster releases, as well as all bugfixes and feature
changes which were added in mainline MySQL 5.6 through MySQL 5.6.29
(see Changes in MySQL 5.6.29 (2016-02-05)).
Functionality Added or Changed
Cluster API: Added the Ndb::setEventBufferQueueEmptyEpoch()
method, which makes it possible to enable queuing of empty
events (event type TE_EMPTY). (Bug #22157845)
Bugs Fixed
Important Change: The minimum value for the BackupDataBufferSize
data node configuration parameter has been lowered from 2 MB
to 512 KB. The default and maximum values for this parameter
remain unchanged. (Bug #22749509)
Microsoft Windows: Performing ANALYZE TABLE on a table having
one or more indexes caused ndbmtd to fail with an InvalidAttrInfo
error due to signal corruption. This issue occurred consistently
on Windows, but could also be encountered on other platforms.
(Bug #77716, Bug #21441297)
During node failure handling, the request structure used to
drive the cleanup operation was not maintained correctly when
the request was executed. This led to inconsistencies that were
harmless during normal operation, but these could lead to
assertion failures during node failure handling, with subsequent
failure of additional nodes. (Bug #22643129)
The previous fix for a lack of mutex protection for the internal
TransporterFacade::deliver_signal() function was found to be
incomplete in some cases. (Bug #22615274)
Compilation of MySQL with Visual Studio 2015 failed in
ConfigInfo.cpp, due to a change in Visual Studio's handling of
spaces and concatenation. (Bug #22558836, Bug #80024)
When setup of the binary log as an atomic operation on one SQL
node failed, this could trigger a state in other SQL nodes in
which they appeared to detect the SQL node participating in
schema change distribution, whereas it had not yet completed
binary log setup. This could in turn cause a deadlock on the
global metadata lock when the SQL node still retrying binary
log setup needed this lock, while another mysqld had taken the
lock for itself as part of a schema change operation. In such
cases, the second SQL node waited for the first one to act on
its schema distribution changes, which it was not yet able to
do. (Bug #22494024)
Duplicate key errors could occur when ndb_restore was run on
a backup containing a unique index. This was due to the fact
that, during restoration of data, the database can pass through
one or more inconsistent states prior to completion, such an
inconsistent state possibly having duplicate values for a column
which has a unique index. (If the restoration of data is preceded
by a run with --disable-indexes and followed by one with
--rebuild-indexes, these errors are avoided.)
Added a check for unique indexes in the backup which is performed
only when restoring data, and which does not process tables
that have explicitly been excluded. For each unique index found,
a warning is now printed. (Bug #22329365)
Restoration of metadata with ndb_restore -m occasionally failed
with the error message Failed to create index... when creating
a unique index. While disgnosing this problem, it was found
that the internal error PREPARE_SEIZE_ERROR (a temporary error)
was reported as an unknown error. Now in such cases, ndb_restore
retries the creation of the unique index, and PREPARE_SEIZE_ERROR
is reported as NDB Error 748 Busy during read of event table.
(Bug #21178339)
References: See also: Bug #22989944.
When setting up event logging for ndb_mgmd on Windows, MySQL
Cluster tries to add a registry key to HKEY_LOCAL_MACHINE,
which fails if the user does not have access to the registry.
In such cases ndb_mgmd logged the error Could neither create
or open key, which is not accurate and which can cause confusion
for users who may not realize that file logging is available
and being used. Now in such cases, ndb_mgmd logs a warning
Could not create or access the registry key needed for the
application to log to the Windows EventLog. Run the application
with sufficient privileges once to create the key, or add the
key manually, or turn off logging for that application. An
error (as opposed to a warning) is now reported in such cases
only if there is no available output at all for ndb_mgmd event
logging. (Bug #20960839)
NdbDictionary metadata operations had a hard-coded 7-day timeout,
which proved to be excessive for short-lived operations such
as retrieval of table definitions. This could lead to unnecessary
hangs in user applications which were difficult to detect and
handle correctly. To help address this issue, timeout behaviour
is modified so that read-only or short-duration dictionary
interactions have a 2-minute timeout, while schema transactions
of potentially long duration retain the existing 7-day timeout.
Such timeouts are intended as a safety net: In the event of
problems, these return control to users, who can then take
corrective action. Any reproducible issue with NdbDictionary
timeouts should be reported as a bug. (Bug #20368354)
Optimization of signal sending by buffering and sending them
periodically, or when the buffer became full, could cause
SUB_GCP_COMPLETE_ACK signals to be excessively delayed. Such
signals are sent for each node and epoch, with a minimum interval
of TimeBetweenEpochs; if they are not received in time, the
SUMA buffers can overflow as a result. The overflow caused API
nodes to be disconnected, leading to current transactions being
aborted due to node failure. This condition made it difficult
for long transactions (such as altering a very large table),
to be completed. Now in such cases, the ACK signal is sent
without being delayed. (Bug #18753341)
An internal function used to validate connections failed to
update the connection count when creating a new Ndb object.
This had the potential to create a new Ndb object for every
operation validating the connection, which could have an impact
on performance, particularly when performing schema operations.
(Bug #80750, Bug #22932982)
When an SQL node was started, and joined the schema distribution
protocol, another SQL node, already waiting for a schema change
to be distributed, timed out during that wait. This was because
the code incorrectly assumed that the new SQL node would also
acknowledge the schema distribution even though the new node
joined too late to be a participant in it.
As part of this fix, printouts of schema distribution progress
now always print the more significant part of a bitmask before
the less significant; formatting of bitmasks in such printouts
has also been improved. (Bug #80554, Bug #22842538)
Settings for the SchedulerResponsiveness data node configuration
parameter (introduced in MySQL Cluster NDB 7.4.9) were ignored.
(Bug #80341, Bug #22712481)
MySQL Cluster did not compile correctly with Microsoft Visual
Studio 2015, due to a change from previous versions in the VS
implementation of the _vsnprintf() function. (Bug #80276, Bug
#22670525)
When setting CPU spin time, the value was needlessly cast to
a boolean internally, so that setting it to any nonzero value
yielded an effective value of 1. This issue, as well as the
fix for it, apply both to setting the SchedulerSpinTimer
parameter and to setting spintime as part of a ThreadConfig
parameter value. (Bug #80237, Bug #22647476)
Processing of local checkpoints was not handled correctly on
Mac OS X, due to an uninitialized variable. (Bug #80236, Bug
#22647462)
A logic error in an if statement in
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp rendered
useless a check for determining whether ZREAD_ERROR should be
returned when comparing operations. This was detected when
compiling with gcc using -Werror=logical-op. (Bug #80155, Bug
#22601798)
References: This issue is a regression of: Bug #21285604.
The ndb_print_file utility failed consistently on Solaris 9
for SPARC. (Bug #80096, Bug #22579581)
Builds with the -Werror and -Wextra flags (as for release
builds) failed on SLES 11. (Bug #79950, Bug #22539531)
When using CREATE INDEX to add an index on either of two NDB
tables sharing circular foreign keys, the query succeeded but
a temporary table was left on disk, breaking the foreign key
constraints. This issue was also observed when attempting to
create an index on a table in the middle of a chain of foreign
keysthat is, a table having both parent and child keys, but on
different tables. The problem did not occur when using ALTER
TABLE to perform the same index creation operation; and subsequent
analysis revealed unintended differences in the way such
operations were performed by CREATE INDEX.
To fix this problem, we now make sure that operations performed
by a CREATE INDEX statement are always handled internally in
the same way and at the same time that the same operations are
handled when performed by ALTER TABLE or DROP INDEX. (Bug
#79156, Bug #22173891)
NDB failed to ignore index prefixes on primary and unique keys,
causing CREATE TABLE and ALTER TABLE statements using them to
be rejected. (Bug #78441, Bug #21839248)
Cluster API: Executing a transaction with an NdbIndexOperation
based on an obsolete unique index caused the data node process
to fail. Now the index is checked in such cases, and if it
cannot be used the transaction fails with an appropriate error.
(Bug #79494, Bug #22299443)
Integer overflow could occur during client handshake processing,
leading to a server exit. (Bug #22722946)
For busy servers, client connection or communication failure
could occur if an I/O-related system call was interrupted. The
mysql_options() C API function now has a MYSQL_OPT_RETRY_COUNT
option to control the number of retries for interrupted system
calls. (Bug #22336527)
References: See also: Bug #22389653.
Ok from OWNER, darcy.
Version 5.0.2 (2016-09-08)
--------------------------
- Fixed an infinite recursion problem in the DB wrapper class of the classic
module that could occur when the underlying connection could not be properly
opened (bug report by Justin Pryzby).
Version 5.0.1 (2016-08-18)
--------------------------
- The update() and delete() methods of the DB wrapper now use the OID instead
of the primary key if both are provided. This restores backward compatibility
with PyGreSQL 4.x and allows updating the primary key itself if an OID exists.
- The connect() function of the DB API 2.0 module now accepts additional keyword
parameters such as "application_name" which will be passed on to PostgreSQL.
- PyGreSQL now adapts some queries to be able to access older PostgreSQL 8.x
databases (as suggested on the mailing list by Andres Mejia). However, these
old versions of PostgreSQL are not officially supported and tested any more.
- Fixed an issue with Postgres types that have an OID >= 0x80000000 (reported
on the mailing list by Justin Pryzby).
- Allow extra values that are not used in the command in the parameter dict
passed to the query_formatted() method (as suggested by Justin Pryzby).
- Improved handling of empty arrays in the classic module.
- Unused classic connections were not properly garbage collected which could
cause memory leaks (reported by Justin Pryzby).
- Made C extension compatible with MSVC 9 again (this was needed to compile for
Python 2 on Windows).
Security update
CVE-2016-6662: Remote Root Code Execution / Privilege Escalation (0day)
(Fixed in 5.5.51, MDEV-10465)
XXX put the distfile on nbftp manually as most mirrors don't have it yet
and pullup.
Changes:
Revision #0da39ca 2016-09-12 16:18:07 +0200
fix BIGINT+MEDIUMINT type aggregation
Revision #347eeef 2016-09-11 20:55:11 +0200
don't use my_copystat in the server
Revision #611dc0d 2016-09-11 20:53:16 +0200
missing element in prelocked_mode_name[] array
Revision #a229091 2016-09-11 20:52:00 +0200
potential signedness issue
Revision #7ae555c 2016-09-11 20:51:09 +0200 - Merge branch 'mysql/5.5' into 5.5
Revision #b9631e3 2015-11-10 12:41:26 +0100
MDEV-8833 Crash of server on prepared statement with conversion to semi-join
Revision #ee97274 2016-08-25 09:50:04 +0300
DEV-10595 MariaDB daemon leaks memory with specific query
Revision #a92a8cc 2016-08-19 17:11:20 +0000
Windows packaging : use /d switch to sign MSI, to prevent installer showing randomly generated name in UAC prompt
Revision #723488b 2016-08-04 15:43:52 +0400
MDEV-10424 - Assertion `ticket == null' failed in MDL_request::set_type
Revision #09cb646 2016-08-11 19:35:53 +0000
Windows : fix search for WiX root directory when using 64bit cmake
Revision #5ad0206 2016-08-09 16:15:10 +0300
MDEV-10341: InnoDB: Failing assertion: mutex_own(mutex) - mutex_exit_func
Revision #0098d78 2016-08-09 13:25:40 +0200
MDEV-10465 general_log_file can be abused
Revision #a3f6424 2016-08-08 12:58:27 +0200
MDEV-6128:[PATCH] mysqlcheck wrongly escapes '.' in table names
Revision #2a54a53 2016-08-08 10:27:22 +0200
MDEV-10465 general_log_file can be abused
Revision #a7c43a6 2016-01-26 14:49:25 +0200
MDEV-9304: MariaDB crash with specific query
Revision #5269d37 2016-08-08 18:37:02 +0400
MDEV-10468 Assertion `nr >= 0.0' failed in Item_sum_std::val_real()
Revision #1b3430a 2016-08-08 16:04:40 +0400
MDEV-10500 CASE/IF Statement returns multiple values and shifts further result values to the next column
Revision #5e23b63 2016-08-07 11:02:42 +0200
MDEV-10506 Protocol::end_statement(): Assertion `0' failed upon ALTER TABLE
Revision #93d5cdf 2016-08-04 13:14:45 +0300
MDEV-9946: main.xtradb_mrr fails sporadically
Revision #c0cb84b 2016-08-04 10:57:55 +0200 - Merge branch 'bb-5.5-serg' into 5.5
Revision #470f259 2016-08-03 20:56:24 +0200
MDEV-10465 general_log_file can be abused
Revision #0214115 2016-08-01 16:53:57 +0200
trivial cleanup
Revision #03dec1a 2016-08-03 18:05:29 +0200
MDEV-10350 "./mtr --report-features" doesn't work
Revision #9d2f892 2016-08-03 17:58:56 +0200
MDEV-7329 plugins.pam_cleartext fails sporadically in buildbot
Revision #75891ed 2016-08-03 17:50:45 +0200
improve pam_cleartext.test a bit
Revision #5265243 2016-08-03 20:44:08 +0200 - Merge branch 'merge/merge-xtradb-5.5' into 5.5
Revision #e316c46 2016-08-03 20:43:29 +0200
5.5.50-38.0
Revision #19fe10c 2016-08-03 20:39:47 +0200
MDEV-6581 Writing to TEMPORARY TABLE not possible in read-only
Revision #a350e53 2016-08-03 20:38:25 +0200 - Merge branch 'mysql/5.5' into 5.5
Revision #eb32dfd 2016-08-03 11:49:35 +0400
MDEV-10365 - Race condition in error handling of INSERT DELAYED
Revision #511313b 2016-08-03 13:42:46 +0000
MDEV-10010 - potential deadlock on windows due to recursive SRWLock acquisition
Revision #141f88d 2016-08-03 12:41:38 +0000
MDEV-10357 my_context_continue() does not store current fiber on Windows
Revision #ecb7ce7 2016-08-03 15:55:48 +0400
MDEV-10467 Assertion `nr >= 0.0' failed in Item_sum_std::val_real() Backporting MDEV-5781 from 10.0.
Revision #35c9c85 2016-08-03 13:40:53 +0300
MDEV-10217: innodb.innodb_bug59641 fails sporadically in buildbot: InnoDB: Failing assertion: current_rec != insert_rec in file page0cur.c line 1052
Revision #6b71a6d 2016-08-02 18:52:51 +0200
MDEV-10383 Named pipes : multiple servers can listen on the same pipename
Revision #5fdb3cf 2016-07-29 18:21:08 +0200
MDEV-10419: crash in mariadb 10.1.16-MariaDB-1trusty
Revision #c6aaa2a 2016-07-30 10:53:01 +0300
MDEV-10228: update test results
Revision #15ef38d 2016-07-27 00:38:51 +0300
MDEV-10228: Delete missing rows with OR conditions
Revision #1b5da2c 2016-07-21 15:32:28 +0400
MDEV-10316 - main.type_date fails around midnight sporadically
Revision #5cf49cd 2016-07-15 23:51:30 +0300
MDEV-10248 Cannot Remove Test Tables
Revision #4e19aa3 2016-07-12 12:13:31 +0200
MDEV-10318 unset params in --ps --embedded
Revision #97ded96 2016-07-11 17:03:03 +0000
MDEV-10318 : Fix crash in embedded, in case prepared statement has parameter placeholders, but does not bind parameters
Revision #e81455bb 2015-05-04 08:32:05 +0200
MDEV-7973 bigint fail with gcc 5.0
Revision #a7814d4 2016-06-30 12:59:52 +0400
MDEV-10311 - funcs_1.processlist_priv_no_prot fails sporadically
Revision #79f852a 2016-06-22 14:17:06 +0200
MDEV-10050: Crash in subselect
Revision #ef92aaf 2016-06-22 22:37:28 +0300
MDEV-10083: Orphan ibd file when playing with foreign keys
Revision #a482e76 2016-06-20 16:12:54 +0200
fix a mysql-5.5.50 merge: mysqlcheck
Revision #95bf696 2016-06-19 14:51:03 +0200
MDEV-9749 InnoDB receives 'Bad file descriptor' error, possibly related to feedback plugin
Revision #7f38a07 2016-06-17 18:54:11 +0400
MDEV-10043 - main.events_restart fails sporadically in buildbot (crashes upon shutdown)
Revision #7ff86b4 2016-06-17 14:59:17 +0300
MDEV-10247 TokuDB assertion error when building with DEBUG
Revision #12ae840 2016-06-16 22:04:24 +0300
Fix typo bug that cause myisam repair to fail
Revision #c7eef02 2016-06-16 22:00:16 +0300
Increase the number of default build thread ids possibilities
Revision #7ab7abd 2016-06-16 18:52:46 +0300
Fix compilation failure when compiling with std=c90
Revision #b644661 2016-06-14 22:29:24 +0200
MDEV-9256 : Crashes on Windows x64 with aria_pagecache_buffer_size > 4GB
Revision #34a104b 2016-06-14 12:28:05 +0300
MDEV-10229: TokuDB fails to build with CLang
Revision #1bf2509 2016-06-13 23:32:50 +0300
MDEV-10162: Update repair testcase
Revision #2b47832 2015-12-10 03:56:31 +0200
Fixed compilation failure using clang
Revision #6a34ba3 2016-02-16 16:15:22 +0200
[Code cleanup] Refactor duplicate code within myisam and maria sort.cc
Revision #bfef17b 2016-06-13 18:30:02 +0300
MDEV-9433: [PATCH} cppcheck reported a number of minor coding errors
Revision #0089af8 2016-06-13 18:11:31 +0300
MDEV-9433: [PATCH] cppcheck reported a number of minor coding errors
Revision #cf721d2 2015-12-10 17:00:14 +1100
MDEV-9257: Increase limit on parallel workers in mysql-test-run
Revision #05bb3b9 2016-06-14 16:28:07 +0200
fix main.ssl_ca test for windows
Revision #a4cfd32 2016-06-14 14:52:43 +0200
main.openssl_1 failure
Revision #c73b987 2016-06-14 13:18:05 +0200
MDEV-8328 Evaluation of two "!" operators depends on space in beetween
Revision #c3c272c 2016-06-10 13:47:00 +0200
MDEV-10166 probes_mysql_nodtrace.h is not provided anymore by mariadb-10.0.25
Revision #260699e 2016-06-14 13:59:41 +0200 - Merge branch 'merge-xtradb-5.5' into 5.5
Revision #f54dcf1 2016-06-14 12:38:47 +0200
5.5.49-37.9
Revision #90eb302 2016-06-14 13:57:49 +0200
fix main.ssl_ca from mysql-5.5.50
Revision #ae29ea2 2016-06-14 13:55:28 +0200 - Merge branch 'mysql/5.5' into 5.5
Revision #1b50d59 2016-06-14 14:44:09 +0400
MDEV-9945 - main.kill_processlist-6619 fails sporadically
Revision #d6a1bae 2016-06-13 17:10:31 +0400
MDEV-10218 - rpl.rpl_binlog_errors fails in buildbot with valgrind warnings - bytes are possibly lost
Revision #2db724c 2016-06-13 15:54:12 +0400
MDEV-10218 - rpl.rpl_binlog_errors fails in buildbot with valgrind warnings - bytes are possibly lost
Revision #3c77a00 2016-03-08 13:27:18 +0200
MDEV-8012: Wrong exit code when asking for help
Revision #416006a 2016-06-12 22:45:15 +0300
MDEV-8012: Wrong exit code when asking for help
Revision #67b4a6f 2016-06-12 20:14:51 +0300
MDEV-8859 rpl.rpl_mdev382 sporadically fails to finish due to disappeared expect file
Revision #87007dc 2016-06-08 15:03:18 +0400
MDEV-9994 - Aria service threads are not "joined"
Revision #4155d09 2016-06-10 17:06:38 +0400
MDEV-8402 Bug #77473 Truncated data with subquery & UTF8
Revision #df14488 2016-06-10 15:50:19 +0400
MDEV-10181 Illegal mix of collation for a field and an ASCII string as a view field
Revision #7adf04e 2016-01-05 22:48:50 +0100
MDEV-9366 : do_shutdown_server fails to detect server shutdown on Windows. Fix test whether process is alive in mysqltest.
Revision #a4848e9 2016-06-08 19:04:12 +0400
MDEV-9972 Least function retuns date in date time format
Revision #b31976f 2016-06-08 15:15:55 +0200 - Merge branch 'mdev9991' into mdev9991-5.5
Revision #196d96c 2016-06-08 15:12:44 +0200
Fix compiler check for stack unwind hint
Revision #0f25270 2016-06-08 08:40:10 +0300
MDEV-7139: Sporadic failure in innodb.innodb_corrupt_bit on P8
Revision #ff832e0 2016-05-24 17:37:23 +0200
Restore COMPONENT Embedded for Windows embedded libs.
Revision #221adbc 2016-05-24 17:01:08 +0200
Fix warnings on Windows, compiler option -ggdb3 option is nonexistent
Revision #535160b 2016-05-24 16:57:03 +0200
MDEV-10117 - update HeidiSQL to current version
Revision #9eb0fbd 2016-05-24 14:20:53 +0200
MDEV-10071 Block installation on XP/Windows 2003 Server(they are no more supported)
Revision #18487ed 2016-05-24 14:18:55 +0200
MDEV-10108 Fix errors in installations by domain user
Revision #964c4f0 2016-05-10 19:13:06 +0400
MDEV-10052 Illegal mix of collations with DAYNAME(date_field)<>varchar_field
Revision #672bbcd 2016-04-27 16:13:14 +0200
MDEV-9973 : Do not set permissions for serviceaccount user (Win7 and later) This appears to break some installation, and it did not do anything useful anyway.
Revision #4f1ad43 2016-04-26 16:15:15 +0400
MDEV-9987 - gen_lex_hash leaks memory, making LeakSanitizer builds fail
Revision #29868de 2016-04-26 12:58:14 +0200
MDEV-9986 Full-text search of the utf8mb4 column causes crash
Revision #7f5ceb7 2016-04-26 11:49:35 +0200
disable main.wait_timeout_not_windows for embedded
Revision #2220480 2016-04-25 18:59:41 +0200
MDEV-7775 Wrong error message (Unknown error) when idle sessions are killed after wait_timeout
Revision #a98ecc2 2016-04-23 12:19:40 +0200
support SEARCH_RANGE in search_pattern_in_file.inc
Revision #2b7573e 2016-04-24 13:36:51 +0400
MDEV-9975 - main.partition_innodb_plugin fails sporadically
Revision #19e3597 2016-04-07 10:47:46 +0300
MDEV-9142 :Adding Constraint with no database reference results in ERROR 1046 (3D000) at line 13: No database selected.
Revision #0ea4c73 2016-04-23 12:15:18 +0400
Fixed compilation failure due to unused var.
Revision #618e300 2016-04-22 12:57:39 +0400
MDEV-9970 - main.sp-threads fails sporadically
Revision #bd75ee7 2016-04-22 09:10:00 -0400
bump the VERSION
Revision #3f0d07e 2016-04-22 16:04:20 +0400
MDEV-9372 select 100 between 1 and 9223372036854775808 returns false
Revision #0991e19e 2016-04-20 20:25:46 +0200 - Merge branch 'bb-5.5-serg' into 5.5
Revision #63c834e 2016-04-20 18:56:41 +0200 - Merge branch 'merge-xtradb-5.5' into 5.5
Revision #c9e56d5 2016-04-18 17:38:05 +0200
5.5.48-37.8
Revision #24ac546 2016-04-20 18:27:23 +0200
use consistent error messaging for IGNORE
Revision #9e826bf 2016-04-20 15:28:44 +0200
trivial optimization
Revision #8f1f869 2016-04-20 15:26:37 +0200
another test case for ER_DATA_OUT_OF_RANGE on insert
Revision #b069d19 2016-04-20 15:25:55 +0200 - Merge branch 'mysql/5.5' into 5.5
Revision #1bc0b0b 2016-04-19 11:08:16 +0200
fix a couple of dbug tests not to write to /tmp
Revision #cc04a9f 2016-04-18 18:30:42 +0200
MDEV-9835 Valid password is not working after server restart
Revision #608c0e1 2016-04-18 11:57:34 +0200
MDEV-5982 `make` fail @ ".../libmysql_versions.ld:155:9: invalid use of VERSION in input file"
Revision #ce35530 2016-04-17 19:52:15 +0200
MDEV-9885 Client doesn't start if 'TERM' unknown
Revision #95fe71a 2016-04-17 18:51:54 +0200
MDEV-9707 MAX(timestamp(6) column) in correlated sub-query returns non-existent row data in original table
Revision #3294cd1 2016-04-16 17:36:47 +0200
MDEV-9929 MariaDB segfaults on command "mysqld --version" with ignore-db-dir option on /etc/my.cnf
Revision #4f133fb 2016-04-16 12:39:20 +0200
MDEV-9493 --tc-heuristic-recover option values off by one
Revision #edf71fd 2016-04-16 10:28:03 +0200
MDEV-9928 LC_TIME_NAMES=de_AT; unusual name for february
Revision #9c64735 2016-03-29 12:50:56 +0200
MDEV-9748 Include Twin (mysys_err.h is included twice in mysys/my_copy.c)
Revision #2a45fa9 2016-04-20 19:03:59 +0200
MDEV-9836 Connection lost when using SSL
Revision #0c0a865 2016-04-19 16:16:13 +0400
MDEV-9943 - TokuDB fails to compile with gcc 5.2.1
Revision #62122ba 2016-04-20 00:36:58 +0300
MDEV-9953 Debian packages install broken 'maria' test suite which cannot be run
Revision #e90f8b7 2016-04-20 11:11:13 +0400
MDEV-9413 "datetime >= coalesce(c1(NULL))" doesn't return expected NULL
Revision #2564650 2016-04-20 11:02:34 +0400
MDEV-9662 Assertion `precision || !scale' failed in my_decimal_precision_to_length_no_truncation(uint, uint8, bool)
Revision #9a98714 2016-04-20 08:53:30 +0400
MDEV-9745 Crash with CASE WHEN TRUE THEN COALESCE(CAST(NULL AS UNSIGNED)) ELSE 4 END
Revision #6c0e231 2016-04-19 14:05:52 +0400
MDEV-9945 - main.kill_processlist-6619 fails sporadically
Revision #18ff6f6 2016-04-19 12:38:00 +0400
MDEV-9944 - main.events_2 fails sporadically
Revision #6fd54c0 2016-04-18 23:15:15 +0400
MDEV-9521 Least function returns 0000-00-00 for null date columns instead of null
Revision #777c213 2016-04-02 00:04:47 +0400
MDEV-9862 Illegal mix of collation, when comparing column with CASE expression
Revision #11b77e9 2016-03-18 16:55:11 +0100
MDEV-9527 build FAILs with GCC 5.1 with release supported "-std=c+11"
Revision #fc2c1e4 2016-03-17 21:29:52 +0100
MDEV-9733 Server crashes in lf_pinbox_real_free on replication slaves
Revision #0b9fb9a 2016-03-17 10:45:15 +0100
MDEV-9568 mysqlcheck crashes with nonexistent table name
Revision #c29e450 2016-02-26 03:02:07 +0200
MDEV-4070 sys_vars.secure_file_priv fails sporadically if it's executed with --mem
Revision #ceba41c 2016-01-24 17:41:11 +0100
MDEV-9299 Test main.events_2 incompatible with Debian reproducibility testing framework
Revision #e1385f2 2016-02-15 12:59:47 +0100
fix buffer overrun
Revision #3889b19 2016-02-14 22:19:27 +0100
more strict ipv6_ok check in mtr
Revision #8f5030e 2016-02-14 22:17:38 +0100
fix my_gethwaddr() for solaris
Revision #95740bc 2016-02-14 22:16:50 +0100
dtrace in cmake
Revision #a5d9597 2016-02-14 22:15:16 +0100
better inline check
Revision #5f078cc 2016-02-14 20:57:48 +0100
compilation errors on sparc sun studio 10
Revision #2a47817 2016-02-14 18:33:20 +0200
MDEV-9225 mysql_upgrade segfault due to missing /etc/my.cnf.d
Revision #b7dc830 2016-02-14 18:31:06 +0200
Fix memory leak when failing to read config file
Revision #93e9d81 2016-02-12 12:04:11 +0400
Errorneous PSI declaration line fixed.
Revision #a9a08b1 2016-02-10 10:03:47 +0400
MDEV-9371 select insert('a',2,1,'b') doesn't return expected 'a'
Revision #3c5c04b 2016-02-10 03:49:11 +0200
MDEV-7122: Assertion `0' failed in subselect_hash_sj_engine::init
Revision #6b614c6 2016-02-09 13:50:48 +0100
MDEV-7765: Crash (Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || bitmap_is_set(table->vcol_set, field_index))' fails) on using function over not created table
Revision #775cccc 2016-02-08 22:53:40 +0200
MDEV-7122: Assertion `0' failed in subselect_hash_sj_engine::init
Revision #01628ce 2016-02-09 14:08:36 +0100
Merge branch 'bb-5.5-serg' into 5.5
Revision #afce541 2016-02-09 14:06:45 +0100
Merge branch 'merge-xtradb-5.5' into 5.5
Revision #5d478f5 2016-02-08 20:07:38 +0100
Bug#19817021
Revision #6703e5b 2016-02-08 20:07:09 +0100
Bug#20691429 ASSERTION `CHILD_L' FAILED IN STORAGE/MYISAMMRG/HA_MYISAMMRG.CC:631
Revision #dece4bc 2016-02-09 11:28:44 +0100
cleanup: make assert more readable
Revision #63d3ccd 2016-02-08 20:04:39 +0100
Bug#21205695 DROP TABLE MAY CAUSE SLAVES TO BREAK
Revision #f3444df 2016-02-09 11:27:40 +0100
Merge branch 'mysql/5.5' into 5.5
Revision #ea0c3fc 2016-02-09 05:17:41 +0400
MDEV-9438 backport feedback-http-proxy to 5.5 and 10.0. The http-proxy option to the FEEDBACK plugin backported.
Revision #b17a435 2016-02-09 02:31:47 +0300
MDEV-6859: scalar subqueries in a comparison produced unexpected result
Revision #3cfd36b 2016-02-09 00:13:25 +0100
5.5.47-37.7
Revision #d443d70 2016-02-09 01:46:53 +0300
MDEV-7823: Server crashes in next_depth_first_tab on nested IN clauses with SQ inside
Revision #c4cb240 2016-02-06 22:41:58 +0100
MDEV-9024 Build fails with VS2015
Revision #1e361f2 2016-02-06 13:57:59 +0100
MDEV-4664 mysql_upgrade crashes if root's password contains an apostrophe/single quotation mark
Revision #9e4e412 2016-02-06 13:56:37 +0100
unit test for dynstr_append_os_quoted()
Revision #41021c0 2016-02-03 17:15:22 +0100
MDEV-9462: Out of memory using explain on 2 empty tables
Revision #ad94790 2016-02-04 14:47:46 +0100
MDEV-9453 mysql_upgrade.exe error when mysql is migrated to mariadb
Revision #0a76ad5 2016-02-04 12:51:57 +0100
MDEV-9175 Query parser tansforms MICROSECOND into SECOND_FRAC, which does not work
Revision #a90da6e 2016-02-05 14:04:24 +0100
MDEV-9314 fatal build error: viosslfactories.c:58:5: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}
Revision #db5f743 2016-02-06 12:37:46 +0200
Merge pull request #148 from grooverdan/5.5-rpl_reporting-cppcheck-va_end
Revision #6ecf6d8 2016-02-05 17:46:01 +0100
MDEV-7827: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed in Field_long::val_str on EXPLAIN EXTENDED
Revision #9f3b53f 2015-12-14 19:16:29 +0100
MDEV-9093 Persistent computed column is not updated when update query contains join
Revision #a3d843d 2016-02-03 15:52:26 +0200
Fix function visibility as it is used on row0mysql.c in Windows.
Revision #f66d016 2016-02-03 11:32:51 +0200
MDEV-9471: Server crashes or returns an error while trying to alter partitioning on a table moved from Windows to Linux
Revision #603c096 2016-02-03 00:43:00 +0100
MDEV-9466 : Exception handler on Windows does not output any text, if mysqld runs as service
Revision #0e84d54 2016-02-01 16:27:12 +0100
Merge MDEV-9112 into 5.5
Revision #8cf1f50 2016-02-01 16:10:49 +0100
MDEV-9112: Non-blocking client API missing on non-x86 platforms
Revision #d0c5efc 2016-01-29 23:53:44 +0200
If one compiled with too long MYSQL_SERVER_SUFFIX this caused a memory overrun that caused some test to fail.
Revision #a1ddf01 2016-01-29 23:52:15 +0200
my_decimal didn't compile properly with debug
Revision #3e5724f 2016-01-19 14:47:41 +1100
Add va_end to make cppcheck happy
Revision #9c9d10b 2016-01-15 09:50:27 +0400
MDEV-9106 Audit plugin not working with MySQL 5.7. fixing Windows crash.
Revision #fe4823d 2016-01-13 18:02:44 +0400
MDEV-9106 Audit plugin doesnt run with MySQL 5.7. updata thread_pool_server_audit test result.
Revision #cdc9aa5 2016-01-13 15:24:33 +0400
MDEV-9106 Audit Plugin doesn't run with MySQL 5.7. MariaDB 5.5 built in debug gets unhappy with mutexes. Although everything is correct, some DBUG_ASSERT can happen. So this patch keeps safe_mutex silent.
Revision #c955253 2016-01-12 16:29:02 +0400
MDEV-9106 Audit plugin compiled with MariaDB can't install on MySQL 5.7. The audit API was seriously changed in MySQL 5.7. so we had to adapt the plugin's code to that.
Revision #5f48b61 2016-01-07 14:45:40 +0100
MDEV-9298 : Build failure when linking libmysql.
Revision #ff24820 2015-12-30 19:39:31 +0100
Fix process handle leak in buildbot. GenerateConsoleCtrlEvent sent to non-existing process will add a process handle to this non-existing process to console host process conhost.exe
Revision #61d3621 2015-12-29 18:40:41 +0400
Moving Field_blob::store_length() back from protected to public, as it's needed for Cassandra in 10.0.
Revision #e1b9be5 2015-12-29 14:17:31 +0400
MDEV-9319 ALTER from a bigger to a smaller blob type truncates too much data
Revision #e126baa 2015-12-21 10:19:02 +0100
MDEV-9249 MariaDB un-buildable on linux64: fails @ "error: ‘ERR_remove_state’ was not declared in this scope" when linking against OpenSSL 1.0.2e
Revision #591e74c 2015-06-20 16:59:22 +0800
MDEV-7526: TokuDB doesn't build on OS X
Revision #e386523 2015-12-19 13:53:43 +0200
MDEV-7526: TokuDB doesn't build on OS X
Revision #f39b9e0 2015-12-19 13:52:27 +0200
MDEV-7526: TokuDB doesn't build on OS X
Revision #6414959 2015-12-19 13:31:44 +0200
MDEV-7526: TokuDB doesn't build on OS X
Revision #f89c9fc 2015-12-19 13:25:55 +0200
MDEV-7526: TokuDB doesn't build on OS X
Revision #0ed4744 2015-12-11 17:03:55 +0100
fix main.mysqldump test on windows
Revision #ca28d90 2015-12-09 17:54:55 +0100
MDEV-7655 SHOW CREATE TABLE returns invalid DDL when using virtual columns along with a table collation
Revision #f560c1b 2015-12-10 10:32:11 +0100
revert 5e9a50efc37c233f1e2a3616f8bcb36315aba4c2
Revision #265e833 2015-12-09 21:22:37 +0100
revert 415faa122b9c683661dafac82fff414fa6864151
Revision #c19972f 2015-12-11 14:33:41 +0200
MDEV-9251: Fix MySQL Bug#20755615: InnoDB compares column names case sensitively, while according to Storage Engine API column names should be compared case insensitively. This can cause FRM and InnoDB data dictionary to go out of sync.
Revision #fa25921 2015-12-10 11:22:53 +0100
MDEV-8407 Numeric errors, server crash with COLUMN_JSON() on DECIMAL with precision > 40
Revision #d67aacb 2015-12-09 17:11:55 +0100
fix xtradb compilation on windows
Revision #fa4d4fc 2015-12-09 10:06:28 +0100
unit tests for my_getopt
Revision #584c07b 2015-10-21 11:51:15 +0200
MDEV-8978 Specify GPL version in RPM metadata
Revision #142b725 2015-12-09 12:57:04 +0100
Merge branch 'merge/merge-xtradb-5.5' into 5.5
Revision #9457139 2015-12-09 12:27:04 +0100
5.5.46-37.6
Revision #1a72c6f 2015-12-09 11:51:59 +0100
Merge branch 'bb-5.5-serg' into 5.5
Revision #abf9d35 2015-12-09 10:00:49 +0100
Merge branch 'mysql/5.5' into 5.5
Revision #dac3149 2015-12-08 17:20:34 +0400
MDEV-9001 - [PATCH] Fix DB name quoting in mysqldump --routine
Revision #50a796d 2015-12-08 10:16:41 +0100
MDEV-8825 mysql_upgrade leaks the admin password when it spawns a shell process to execute mysqlcheck
Revision #c21b927 2015-12-08 10:13:13 +0100
mysql_upgrade cleanup
Revision #f0d774d 2015-12-07 20:06:54 +0100
MDEV-9212 ssl-validate-cert incorrect hostname check
Revision #544eeda 2015-12-07 20:27:58 +0100
MDEV-8644 Using a UDF in a virtual column causes a crash when stopping the server
Revision #79d08e6 2015-12-07 15:15:43 +0100
small cleanup: udf_init()/udf_free() calls
Revision #859a736 2015-12-07 14:07:36 +0100
MDEV-9161 feedback_plugin_send in debug builds
Revision #99774f1 2015-12-06 11:51:57 +0100
feedback plugin compilation warnings
Revision #8fd24b4 2015-12-07 20:25:27 +0100
MDEV-9226 SHOW COLUMNS returns wrong column order for tables with large ENUMs
Revision #f18599a 2015-12-06 20:22:33 +0100
tokudb compilation warnings
Revision #d1fe928 2015-12-06 12:01:12 +0100
MDEV-8607 Init script doesn't check all applicable configuration groups
Revision #18954ff 2015-12-06 01:48:07 +0100
MDEV-8313 Got an error writing communication packets
Revision #354e567 2015-12-06 01:40:51 +0100
federatedx small cleanup
Revision #e05883b 2015-12-05 15:25:15 +0100
MDEV-7341 mysqld_multi doesn't recognize include directive (not following includes)
Revision #ef47b625 2015-12-05 11:29:00 +0100
MDEV-8827 Duplicate key with auto increment
Revision #c8652ee 2015-12-05 11:22:25 +0100
one more test
Revision #ee2fce5 2015-10-20 09:41:44 +0200
fix debian logrotate slow log filename
Revision #0df22a5 2015-12-07 09:34:41 +0200
MDEV-7050: MySQL#74603 - Assertion `comma_length > 0' failed in mysql_prepare_create_table
Revision #d85168e 2015-12-07 09:20:31 +0200
Correct length check in my_wc_mb_filename()
Revision #e528fe7 2015-12-05 12:21:33 +0200
Fix gcc v5.compiler errors.
Revision #082b859 2015-12-04 14:24:03 +0200
MDEV-9233: Copying MySQL 5.5 data directory to 10.0 with partition tables crashes on insert
Revision #d87bc55 2015-12-03 20:43:54 +0400
MDEV-8630 Datetime value dropped in "INSERT ... SELECT ... ON DUPLICATE KEY" Item_func_coalesce::fix_length_and_dec() calls Item_func::count_string_result_length()) which called agg_arg_charsets() with wrong flags, so the collation derivation of the COALESCE result was not properly set to DERIVATION_COERCIBLE. It erroneously stayed DERIVATION_NUMERIC. So GREATEST() misinterpreted the argument as a number rather that a string and did not calculate its own length properly.
Revision #9f07c6b 2015-12-02 16:08:54 +0400
MDEV-9001 - [PATCH] Fix DB name quoting in mysqldump --routine
Revision #33589b2 2015-12-03 13:18:10 +0200
MDEV-7762 InnoDB: Failing assertion: block->page.buf_fix_count > 0 in buf0buf.ic line 730
Revision #13ad179 2015-11-20 14:50:18 +0100
MDEV-8756 MariaDB 10.0.21 crashes during PREPARE
Revision #43a5090 2015-11-18 11:20:59 +0100
MDEV-9051 mysqld got signal 11, after upgrade to 10.1.8
Revision #7261629 2015-11-18 10:58:51 +0100
feedback plugin debug
Revision #e669a5f 2015-11-17 18:33:08 +0100
MDEV-7588 Add thd_wait_begin/end to notify threadpool of binlog waits
Revision #7e4da9b 2015-11-06 16:36:41 +0100
MDEV-8632 Segmentation fault on INSERT
Revision #5d754fc 2015-11-09 09:23:32 +0200
MDEV-8854: New warning messages are unreadable
Revision #c88ca2c 2015-11-06 17:56:56 +0100
MDEV-8701 Crash on derived query MDEV-8938 Server Crash on Update with joins
Revision #df80420 2015-10-21 14:42:56 +0200
fix events_1 test for October 2015
Revision #978c2a3 2015-10-11 17:06:03 -0400
MDEV-7640: CHANGE MASTER TO doesn't work with prepared statements
Revision #16c4b3c 2015-10-09 16:43:59 +0200
fixes for buildbot
Revision #f41a41f 2015-10-09 00:06:16 +0200
Merge branch 'merge-xtradb-5.5' into 5.5
Revision #db79f4c 2015-10-08 23:02:43 +0200
5.5.45-37.4
Revision #82e9f6d 2015-10-08 22:54:24 +0200
Merge remote-tracking branch 'mysql/5.5' into 5.5
Revision #c8d5112 2015-10-08 00:32:07 +0200
MDEV-8796 Delete with sub query with information_schema.TABLES deletes too many rows
Revision #504802f 2015-08-05 11:57:35 +0200
MDEV-7846: postreview fix
Revision #54b9981 2015-04-23 20:08:57 +0200
MDEV-7846: Server crashes in Item_subselect::fix_fields or fails with Thread stack overrun
Revision #0ab93fd 2015-04-23 19:16:57 +0200
MDEV-7445:Server crash with Signal 6 MDEV-7565: Server crash with Signal 6 (part 2)
Revision #2e3e818 2015-04-23 19:11:06 +0200
MDEV-7445: Server crash with Signal 6
Revision #7ccde2c 2015-04-23 19:04:11 +0200
MDEV-7565: Server crash with Signal 6 (part 2)
Revision #006acf7 2015-09-30 10:49:45 +0300
Bug #68148: drop index on a foreign key column leads to missing table MDEV-8845: Table disappear after modifying FK
Revision #a95711e 2015-09-29 08:39:54 +0300
MDEV-8855: innodb.innodb-fk-warnings fails on Windows
Revision #02a38fd 2015-09-24 17:25:52 +0200
MDEV-8624: MariaDB hangs on query with many logical condition
Revision #f804b74 2015-09-28 03:40:29 +0300
MDEV-8154 rpl.show_status_stop_slave_race-7126 sporadically causes internal check failure
Revision #ce7d8c5 2015-09-27 18:01:47 +0300
MDEV-7330 plugins.feedback_plugin_send fails sporadically in buildbot
Revision #bdcf370 2015-09-27 16:00:48 +0300
MDEV-7933 plugins.feedback_plugin_send depends on being executed after plugins.feedback_plugin_load
Revision #2563609 2015-09-26 02:51:29 +0300
Increased the version number
Revision #86ed494 2015-09-26 02:48:55 +0300
MDEV-8849 rpl.rpl_innodb_bug30888 sporadically fails in buildbot with testcase timeout
Revision #dca4ab9 2015-09-24 21:24:28 +0300
MDEV-8841 innodb_zip.innodb-create-options fails in buildbot
Revision #5cc149f 2015-09-24 10:28:47 +0200
The compiler warnings fixed.
Revision #29ac245 2015-09-07 13:13:52 +0200
MDEV-8473: mysqlbinlog -v does not properly decode DECIMAL values in an RBR log
Revision #102a85f 2015-09-03 18:00:43 +0200
MDEV-8663: IF Statement returns multiple values erroneously (or Assertion `!null_value' failed in Item::send(Protocol*, String*))
Revision #fa51f70 2015-08-04 23:42:44 +0200
correct the NULL-pointer test
Revision #877de3a 2015-07-30 22:08:39 +0300
MDEV-8554: Server crashes in base_list_iterator::next_fast ...
Revision #1b0c81c 2015-08-01 15:02:14 +0200
5.5.44-37.3
Revision #96badb1 2015-07-31 22:09:46 +0200
MDEV-7821 Server crashes in Item_func_group_concat::fix_fields on 2nd execution of PS
Revision #409709e 2015-07-31 20:33:10 +0200
compilation error on windows
Revision #79deefc 2015-07-31 12:31:37 +0200
MDEV-8340 Add "mysqlbinlog --binlog-row-event-max-size" support for MariaDB 5.5
Revision #4d5772c 2015-07-31 10:13:01 +0200
MDEV-7810 Wrong result on execution of a query as a PS (both 1st and further executions)
Revision #2721d69 2015-07-28 19:11:53 +0200
MDEV-8352 Increase Diffie-Helman modulus to 2048-bits
Revision #bfe2689 2015-07-31 13:13:39 +0400
MDEV-8379 - SUSE mariadb patches
Revision #360e597 2015-07-31 12:06:29 +0300
Make sure name buffer has string end marker on correct place.
Revision #1ad294e 2015-07-30 18:51:44 +0400
MDEV-7821 - Server crashes in Item_func_group_concat::fix_fields on 2nd execution of PS
Revision #fa765a4 2015-07-31 08:52:24 +0300
MDEV-6697: Improve foreign keys warnings/errors
Revision #e05cd97 2015-07-29 05:58:45 +0300
MDEV-8524: Improve error messaging when there is duplicate key or foreign key names
Revision #392df76 2015-07-23 12:50:58 +0400
MDEV-4017 - GET_LOCK() with negative timeouts has strange behavior
Revision #e40bc65 2015-07-25 15:14:40 +0300
Fixed memory loss detected on P8. This can happen when we call after_flush but never call after_rollback() or after_commit().
Revision #7115341 2015-07-23 14:57:12 +0300
Fixed warnings and errors found by buildbot
Revision #7a96702 2015-07-21 12:12:58 +0300
MDEV-8474: InnoDB sets per-connection data unsafely
Revision #00d3b20 2015-07-17 00:06:27 +0300
MDEV-8432 Slave cannot replicate signed integer-type values with high bit set to 1
Revision #44de090 2015-07-17 00:02:25 +0300
MDEV-8432 Slave cannot replicate signed integer-type values with high bit set to 1
Revision #bc30046 2015-06-26 14:48:22 +0300
Fix for MDEV-8301; Statistics for a thread could be counted twice in SHOW STATUS while thread was ending
Revision #67c56ab 2015-06-25 23:34:54 +0300
Simple cleanups - Removing use of calls to current_thd - More DBUG_PRINT - Code style changes - Made some local functions static Ensure that calls to print_keyuse are locked with mutex to get all lines in same debug packet
Revision #8c81575 2015-06-25 23:26:29 +0300
Problem was that for cases like: SELECT ... WHERE XX IN (SELECT YY) this was transformed to something like: SELECT ... WHERE IF_EXISTS(SELECT ... HAVING XX=YY)
Revision #2e941fe 2015-06-25 23:18:48 +0300
Fixed crashing bug when using ONLY_FULL_GROUP_BY in a stored procedure/trigger that is repeatedly executed. This is MDEV-7601, including its sub tasks MDEV-7594, MDEV-7555, MDEV-7590, MDEV-7581, MDEV-7589
Revision #d199a0f 2015-06-11 17:47:52 +0200
more renames after tokudb merge
Revision #b96c196 2015-06-11 16:48:10 +0200
Item_cache::safe_charset_converter() fixes
Revision #7c98e8a 2015-06-11 16:43:56 +0200
fix after the tokudb ft-index merge
Revision #5a44e1a 2015-06-09 22:11:22 +0200
tests for MDEV-7937: Enforce SSL when --ssl client option is used
Revision #80f6b22 2015-06-09 16:08:09 +0400
MDEV-3870 - Valgrind warnings on OPTIMIZE MyISAM or Aria TABLE with disabled keys
Revision #3a50a8c 2015-06-09 13:50:43 +0400
MDEV-363 - Server crashes in intern_plugin_lock on concurrent installing semisync plugin and setting rpl_semi_sync_master_enabled
Revision #49a3392 2015-06-09 11:57:31 +0400
MDEV-363 - Server crashes in intern_plugin_lock on concurrent installing semisync plugin and setting rpl_semi_sync_master_enabled
Revision #e5005ce 2015-06-09 18:06:41 +0200
disable ssl for ssl-disabled tests
Revision #992d782 2015-06-09 18:56:09 +0300
MDEV-6735: Range checked for each record used with key (also MDEV-7786, MDEV-7923)
Revision #5d57e2d 2015-06-09 16:46:45 +0300
Fix tests for 7937
Revision #be5035b 2015-06-09 15:59:29 +0300
Added tests for MDEV-7937
Revision #4ef7497 2015-06-09 14:08:44 +0300
MDEV-7937: Enforce SSL when --ssl client option is used
Revision #56e2d83 2015-05-02 08:45:10 +0200
MDEV-7695 MariaDB - ssl - fips: can not connect with --ssl-cipher=DHE-RSA-AES256-SHA - handshake failure
Revision #92b3659 2015-06-09 12:05:06 +0400
MDEV-7268 Column of table cannot be converted from type 'decimal(0,?)' to type ' 'decimal(10,7)' Changing the error message to: "...from type 'decimal(0,?)/*old*/' to type ' 'decimal(10,7)'..." So it's now clear that the master data type is OLD decimal.
Revision #b1e1039 2015-06-09 07:36:24 +0400
MDEV-8286 Likely a redundant declaration of Item_cache::used_table_map
Revision #a4d93e0 2015-06-05 20:05:08 +0200
MDEV-8050 sphinx test cases cannot run with sphinxsearch-2.2.6
Revision #b41ad55 2015-06-08 15:09:20 +0200
update tokudb version
Revision #1707cfc 2015-06-08 21:55:52 +0500
MDEV-8211 plugins.server_audit fails sporadically in buildbot. More fixes to assure the order of queries in the log.
Revision #87088b9 2015-06-08 21:44:13 +0500
MDEV-8211 plugins.server_audit fails sporadically in buildbot. This test also should be fixed - delay added so the connection event doesn't happen before the query.
Revision #96b3703 2015-06-08 21:40:17 +0500
MDEV-8211 plugins.server_audit fails sporadically in buildbot. Connection event can happen before the query ends. Added a delay to confirm the order.
Revision #a765cca 2015-06-08 20:50:40 +0400
MDEV-8067 correct fix for MySQL Bug # 19699237: UNINITIALIZED VARIABLE IN ITEM_FIELD::STR_RESULT
Revision #b37b52a 2015-06-08 13:47:07 +0500
MDEV-4922 Stored Procedure - Geometry parameter not working. Fhe GEOMETRY field should be handled just as the BLOB field. So that was fiexed in field_conv. One additional bug was found and fixed meanwhile - thet the geometry field subtypes should also be merged for UNION command.
Revision #69ed429 2015-06-08 12:09:13 +0500
MDEV-7500 thread_handling option in my.cnf is not passing "connect events" to audit plugin. The MYSQL_AUDIT_NOTIFY_CONNECTION_CONNECT() call moved to the login_connection() function. So that it'll be invoked in any thread handling mode.
Revision #1ae05db 2015-06-07 15:40:42 +0500
MDEV-8078 Memory disclosure/buffer overread on audit plugin. If the SET PASSWORD query doesn't have the password string, the parsing of it can fail. It manifested first in MySQL 5.6 as it started to hide password lines sent to the plugins. Fixed by checking for that case.
Revision #db0ecf2 2015-06-06 19:12:44 +0500
MDEV-8032 [PATCH] audit plugin - csv output broken. Symbols like TAB or NEWLINE should be escaped, which was forgotten in one place.
Revision #6264451 2015-06-06 16:13:51 +0200
MDEV-8114: server crash on updates with joins still on 10.0.18
Revision #9a3b975 2015-06-05 09:51:17 +0200
Merge branch '5.5' into bb-5.5-serg
Revision #a2bb9d2 2015-06-04 16:04:05 +0400
MDEV-7505 - Too large scale in DECIMAL dynamic column getter crashes mysqld
Revision #b611ac0 2015-06-03 14:30:09 +0400
MDEV-6236 - [PATCH] mysql_tzinfo_to_sql may produce invalid SQL
Revision #af2256f 2015-06-03 13:59:58 +0400
MDEV-7207 - ALTER VIEW does not change ALGORITM
Revision #ae0c576 2015-06-05 02:14:49 +0200
Merge branch 'merge/merge-xtradb-5.5' into bb-5.5-serg
Revision #f84f577 2015-06-05 02:06:51 +0200
Merge tag 'mysql-5.5.44' into bb-5.5-serg
Revision #f07b346 2015-06-05 02:04:32 +0200
do not re-populate I_S tables in subqueries
Revision #1ff423d 2015-06-04 21:12:29 +0400
MDEV-8243 configure defines to empty string, not 1
Revision #750aa8b 2015-06-04 18:58:12 +0200
5.5.43-37.2
Revision #980bdc3 2015-06-04 17:39:05 +0200
followup: CREATE SERVER tests should not be run for embedded
Revision #a477cd1 2015-06-03 23:31:05 +0300
MDEV-6500: Stale data returned after TRUNCATE PARTITION operation
Revision #08fa02c 2015-06-04 18:51:30 +0400
Some MYD files (e.g. in mysql-test/std_data) could erroneously be treated by git as text files.
Revision #9da8a8f 2015-06-04 18:49:12 +0400
MDEV-7269 mysqlbinlog Don't know how to handle column type=0 meta=0 (0000)# MDEV-8267 Add /*old*/ comment into I_S.COLUMN_TYPE for old DECIMAL
Revision #a8b8544 2015-06-04 13:00:53 +0300
MDEV-7906: InnoDB: Failing assertion: prebuilt->sql_stat_start || trx->state == 1 on concurrent multi-table update
Revision #7b05650 2015-06-03 20:24:51 +0200
Merge tag 'tokudb-engine/tokudb-7.5.7' into 5.5
Revision #e500c47 2015-06-03 19:47:46 +0200
Merge tag 'tokudb-ft-index/tokudb-7.5.7' into 5.5
Revision #934a18d 2015-06-03 19:42:34 +0200
.gitattributes: *.dat files should not be CRLF converted
Revision #c79e98e 2015-06-03 18:45:08 +0200
MDEV-8085 main.group_by failed in buildbot
Revision #5d8cee4 2015-06-03 17:11:07 +0200
MDEV-8224 Server crashes in get_server_from_table_to_cache on empty name
Revision #33d480f 2015-06-03 16:33:10 +0200
MDEV-4608 deb packages for jessie
Revision #f806b4d 2015-06-03 12:13:43 +0200
MDEV-8124 mysqlcheck: --auto-repair runs REPAIR TABLE instead of REPAIR VIEW on views
Revision #535b514 2015-06-03 10:35:34 +0200
MDEV-8123 mysqlcheck: new --process-views option conflicts with --quick, --extended and such
Revision #64569fa 2015-06-03 11:11:53 +0200
parser: better error messages for CHECK/REPAIR VIEW
Revision #0ffef5d 2015-06-03 09:54:56 +0200
MDEV-8052 abi detection incorrect with clang
Revision #8e7d665 2015-06-02 22:07:47 +0200
CRLF->LF
Revision #6bd76f8 2015-05-27 10:27:18 +0400
Merge pull request #73 from akopytov/MDEV-7658-5.5
Revision #70bc0a3 2015-05-26 23:56:00 +0300
Fixes MDEV-7658: MDEV-7026 fix reintroduces MDEV-6615 on AArch64
Revision #5d02928 2015-05-16 10:26:34 +0200
remove second @ from CONFIGURE_FILE (... @ONLY@)
Revision #6f8558b 2015-05-12 14:19:30 -0400
Fix for debug build failure
Revision #373d092 2015-05-08 17:19:48 +0300
Fix win/ files to be stored with LF in repository
Revision #23b2b95 2015-05-08 17:19:06 +0300
Update .gitattributes
Revision #6ef3c7d 2015-05-08 17:09:45 +0300
Updated .gitattributes
Revision #0014bdc 2015-05-07 22:18:34 +0200
MDEV-8115 mysql_upgrade crashes the server with REPAIR VIEW
Revision #8350ea0 2015-05-07 13:04:03 +0300
Fix compiler error if compiler does not support c99 style initializers.
Revision #f704b33 2015-05-06 16:47:23 +0300
Merge pull request #52 from openquery/MDEV-8053-c99-style-for-structure-members
Revision #4d606cb 2015-04-24 23:17:16 +1000
c99 style for assigning structure members
Lib/
* added 'strf_secs' and 'strp_secs' to ldap.functions.__all__
* fixed regression introduced with 2.4.26:
ldif.LDIFParser did not fully parse LDIF records without trailing empty
separator line
* Improved support for using the STDCALL calling convention in winsqlite3.dll.
* Fix the sqlite3_trace_v2() interface so that it is disabled if either the callback or the mask arguments are zero, in accordance with the documentation.
* Fix commenting errors and improve the comments generated on EXPLAIN listings when the -DSQLITE_ENABLE_EXPLAIN_COMMENTS compile-time option is used.
* Fix the ".read" command in the command-line shell so that it understands that its input is not interactive.
* Correct affinity computations for a SELECT on the RHS of an IN operator.
* The ORDER BY LIMIT optimization is not valid unless the inner-most IN operator loop is actually used by the query plan. Fix for ticket 0c4df46116e90f92.
* Fix an internal code generator problem that was causing some DELETE operations to no-op.
shared-mime-info 1.7 (2016-09-05)
* Add mime-types for a number of video games systems ROMS
(Atari 7800, Atari 2600, Neo Geo Pocket, Sega CD/Mega-CD, Game Boy Color,
Genesis 32X, Sega SG-1000, Sega Game Gear, Sega Pico)
* Add mime-type for .tar.lz and tar.lz4 archives
* Add mime-type for Jupyter Notebook files
* Add Flatpak mime-types and add compatibility for xdg-app ones
* Add *.dib glob to BMP images
* Use official IANA mime-types for WMF and EMF images
* Add application/raml+yaml mime-type
* Add GPX mimetypes as found in the wild
* Add application/vnd.squashfs and application/vnd.snap mime-types
* Add mime-type for IGES documents
* Add mime-types for Sass CSS pre-processor files
* Add mime-type for Twig templates
* Add alias application/nappdf for application/pdf
* Add mimetype for AppImage
* Add application/x-bsdiff mime-type
* Add Gherkin feature specifications mime-type
* Use official IANA registered type for application/vnd.chess-pgn
* Use new IANA registered type for application/geo+json
* Use official IANA registered type for application/vnd.comicbook+zip
* Use official IANA registered type for application/vnd.rar
* Use official IANA registered type for application/vnd.framemaker
* Improve VRML mime-type
* Better MPEG-2 TS magic
* Better magic for 669 tracker MOD files
* Fix misdetection of zip files as their content
* Fix multi-page DjVu detection by file
* Fix TGA magic detection
* Fixes related to AMR audio files
* Remove "*.sg" glob for Sega Master System ROM types
Bugs fixed and general changes
- #1028 - allow the ensure_join method to accept on and join_type
parameters. Thanks @paulbooth.
- #1032 - fix bug related to coercing model instances to database
parameters when the model's primary key is a foreign key.
- #1035 - fix bug introduced in 2.8.2, where I had added some
logic to try and restrict the base Model class from being
treated as a "real" Model.
- #1039 - update documentation to clarify that lists or tuples are
acceptable values when specifying SQLite PRAGMA statements.
- #1041 - PyPy user was unable to install Peewee. (Who in their
right mind would ever use PyPy?!) Bug was fixed by removing the
pre-generated C files from the distribution.
- #1043 - fix bug where the speedups C extension was not calling
the correct model initialization method, resulting in model
instances returned as results of a query having their dirty flag
incorrectly set.
- #1048 - similar to #1043, add logic to ensure that fields with
default values are considered dirty when instantiating the
model.
- #1049 - update URL to APSW.
- Fixed unreported bug regarding TimestampField with zero values
reporting the incorrect datetime.
New stuff
- djpeewee extension module now works with Django 1.9.
- TimestampField is now an officially documented field.
- #1050 - use the db_column of a ForeignKeyField for the name of
the ObjectIdDescriptor, except when the db_column and field name
are the same, in which case the ID descriptor will be named
<field_name>_id.
=== 4.38.0 (2016-09-01)
* Support :driver_options option when using the postgres adapter with pg driver (jeremyevans)
* Don't use after commit/rollback database hooks if the model instance methods are not overridden (jeremyevans)
* Add SQL::NumericMethods#coerce, allowing code such as Sequel.expr{1 - x} (jeremyevans)
* Support ** operator for exponentiation on expressions, similar to +, -, *, and / (jeremyevans)
* Add Sequel::SQLTime.date= to set the date used for SQLTime instances (jeremyevans)
Bugs Fixed
----------
Replication: mysqlbinlog --read-from-remote-server log1 log2 was opening a new connection for log2 without freeing the connection used for log1. Thanks to Laurynas Biveinis for the contribution. (Bug 81675, Bug 23540182)
For mysqld_safe, the argument to --malloc-lib now must be one of the directories /usr/lib, /usr/lib64, /usr/lib/i386-linux-gnu, or /usr/lib/x86_64-linux-gnu. In addition, the --mysqld and --mysqld-version options can be used only on the command line and not in an option file. (Bug 24464380)
It was possible to write log files ending with .ini or .cnf that later could be parsed as option files. The general query log and slow query log can no longer be written to a file ending with .ini or .cnf. (Bug 24388753)
Privilege escalation was possible by exploiting the way REPAIR TABLE used temporary files. (Bug 24388746)
Certain internal character-handling functions could fail to handle a too-large character and cause a server exit. (Bug 23296299)
A blank server name in CREATE SERVER statements produced a server exit rather than an error. (Bug 23295288)
The optimizer failed to check a function return value for an area calculation, leading to a server exit. (Bug 23280059)
A prepared statement that used a parameter in the select list of a derived table that was part of a join could cause a server exit. (Bug 22392374, Bug 24380263)
MEDIUMINT columns used in operations with long integer values could result in buffer overflow. (Bug 19984392)
EINTR handling in the client library has been fixed so that interrupted read and write calls are retried. Previously, EINTR was ignored. (Bug 82019, Bug 23703570)
Test Suite Notes
----------------
In mysql-test-run.pl, a limit of 50 was imposed on the number of workers for parallel testing, which on systems with more than 50 CPUs resulted in exhaustion of unique thread IDs. The ID-exhaustion problem has been corrected, and the limit of 50 on number of workers has been lifted. Thanks to Daniel Black for the patch on which this change was based. Additionally, these changes were made:
To avoid idle workers, the number of parallel workers now is limited to the number of tests.
Previously, if --parallel=auto was given and the MTR_MAX_PARALLEL environment variable was not set, a limit of 8 was imposed on the number of parallel workers. This limit has been lifted.
(Bug 22342399, Bug 79585)
Functionality Added or Changed
------------------------------
CMake support for compiling with Solaris Studio 12.5 was added. (Bug 82249, Bug 24303829, Bug 81274, Bug 23212938)
Bugs Fixed
----------
InnoDB: An operation that dropped and created a full-text search table raised an assertion. (Bug 24315031)
InnoDB: Accessing full-text search auxiliary tables while dropping the indexed table raised an assertion. (Bug 24009272)
InnoDB: An online DDL operation on a table with indexed BLOB columns raised an assertion during logging of table modifications. (Bug 23760086)
Replication: mysqlbinlog --read-from-remote-server log1 log2 was opening a new connection for log2 without freeing the connection used for log1. Thanks to Laurynas Biveinis for the contribution. (Bug 81675, Bug 23540182)
Replication: With binlog_row_image=FULL, when updating single tables temporary tables were unnecessarily being used. The fix ensures single table update follows the same pattern as multi-table update. (Bug 79867, Bug 22510353)
For mysqld_safe, the argument to --malloc-lib now must be one of the directories /usr/lib, /usr/lib64, /usr/lib/i386-linux-gnu, or /usr/lib/x86_64-linux-gnu. In addition, the --mysqld and --mysqld-version options can be used only on the command line and not in an option file. (Bug 24464380)
It was possible to write log files ending with .ini or .cnf that later could be parsed as option files. The general query log and slow query log can no longer be written to a file ending with .ini or .cnf. (Bug 24388753)
Privilege escalation was possible by exploiting the way REPAIR TABLE used temporary files. (Bug 24388746)
If the basedir system variable was set at server startup from the command line or option file, the value was not normalized (on Windows, / was not replaced with /). (Bug 23747899, Bug 82125)
In-place ALTER TABLE operations which when executed separately caused no table rebuild could when combined into a single statement result in a table rebuild. (Bug 23475211, Bug 81587)
A blank server name in CREATE SERVER statements produced a server exit rather than an error. (Bug 23295288)
A prepared statement that used a parameter in the select list of a derived table that was part of a join could cause a server exit. (Bug 22392374, Bug 24380263)
MEDIUMINT columns used in operations with long integer values could result in buffer overflow. (Bug 19984392)
A spurious ER_NO_SUCH_TABLE error could occur when attempting to execute a prepared CREATE TABLE ... SELECT statement that used a temporary table in the FROM clause and called a stored function. The same error could occur for a nonprepared version of the statement if used in a stored procedure when the procedure was re-executed. (Bug 16672723, Bug 68972)
EINTR handling in the client library has been fixed so that interrupted read and write calls are retried. Previously, EINTR was ignored. (Bug 82019, Bug 23703570)