summaryrefslogtreecommitdiff
path: root/databases
AgeCommit message (Collapse)AuthorFilesLines
2016-12-15Updated databases/p5-Redis to 1.991mef2-8/+10
----------------------------------- 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
2016-12-13Apply fix from https://bugzilla.redhat.com/show_bug.cgi?id=1238322he5-7/+52
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...)
2016-12-12Changes 5.5.54:adam3-9/+8
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
2016-12-12Changes 5.6.35:adam3-9/+49
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
2016-12-12Changes 5.7.17:adam4-160/+875
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.
2016-12-12Do not unconditionally add libedit/libreadline to LDFLAGS.wiz1-12/+2
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.
2016-12-12Revert "Specify readline requirement on 30 packages"wiz5-10/+5
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.
2016-12-12Updated shared-mime-info to 1.8.wiz2-7/+7
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
2016-12-11Upgrade to 5.0.3.darcy2-8/+7
- 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.
2016-12-11Update to 2.62wen2-8/+7
No upstream changelog found.
2016-12-10Reset PKGREVISION along with all php* language packages.taca2-4/+2
2016-12-09Update databases/mongo-c-driver to 1.5.0.fhajny3-85/+93
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.
2016-12-05Update to 2.3.1gdt4-54/+49
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)
2016-12-05Update databases/elasticsearch to 5.0.2fhajny2-7/+7
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
2016-12-04Fix MASTER_SITES.rodent1-2/+2
2016-12-04It's time to make Tryton great again. This update is YUGE. There are 71rodent9-1/+400
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.html http://www.tryton.org/posts/new-tryton-release-40.html
2016-12-04Revbump Go packages after 1.7.4 update.bsiegert1-2/+2
2016-12-04Recursive revbump from textproc/icu 58.1ryoon30-49/+60
2016-12-04Specify readline requirement on 30 packagesmarino5-5/+10
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.
2016-11-29SQLite Release 3.15.2adam2-8/+8
* 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-28Updated p5-DBD-mysql to 4.041.wiz2-7/+7
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).
2016-11-25Backport a SunOS mutex fix from upstream trunk. Bump PKGREVISION.fhajny4-6/+42
2016-11-24Remove unused patch.wiz1-22/+0
2016-11-24Update databases/pgpool2 to 3.6.0.fhajny4-14/+16
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
2016-11-23Replicate tnn's uuid change from postgresql95 for postgresql96.fhajny3-10/+19
Fix postgresql96-contrib/PLIST. Bump PKGREVISION.
2016-11-23Limit databases/postgresql-pgbench to PostgreSQL<9.5.fhajny1-3/+3
2016-11-21postgresql95-contrib: Drop uuid-ossp dependency on BSD.tnn3-30/+16
(Use --with-uuid=bsd as per documentation section F.43.2) Also probably fix the UUID extension on Solaris and Linux, but untested.
2016-11-20Update to 4.040wen2-7/+7
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.
2016-11-19Remove RUBY_RDOC_VERSION since All RUBY_VERSION_DEFAULT versions of Rubytaca1-2/+1
are satisfy minimum RUBY_RDOC_VERSION now.
2016-11-16Update databases/couchdb to 2.0.0.fhajny15-983/+631
- 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
2016-11-16Updated p5-DBD-SQLite to 1.52.wiz2-8/+7
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++)
2016-11-14Fix NetBSD support. Thanks to Mustafa Dogan!fhajny2-5/+25
2016-11-13Update to 0.07046wen2-8/+7
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.
2016-11-13Update to 2.033002wen2-7/+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!)
2016-11-12Reset PKGREVISION after all lang/php* packages.taca3-6/+3
2016-11-08Update databases/elasticsearch to 5.0.0.fhajny10-137/+185
* 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
2016-11-08Update databases/py-elasticsearch to 5.0.1.fhajny3-8/+11
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
2016-11-06Update to 0.0100wen2-10/+8
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
2016-11-04Changes 3.15.1:adam5-19/+20
* 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.
2016-11-04Update databases/py-cassandra-driver to 3.7.1.fhajny2-7/+7
- Cython upgrade has broken stable version of cassandra-driver
2016-11-03Update databases/redis to 3.2.5.fhajny2-7/+7
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(-)
2016-11-01Update ruby-sequel to 4.40.0.taca3-8/+17
=== 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)
2016-10-31Updated py-sqlparse to 0.2.2.wiz2-7/+7
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
2016-10-30Added postgresql96 directoriesadam1-1/+9
2016-10-30Use newer DES API so that smbk5pwd loads with newer OpenSSLmanu3-3/+58
OpenSSL removed old DES API which used des_* functions. https://github.com/openssl/openssl/commit/24956ca00f014a917fb181a8abc39b349f3f316f 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
2016-10-29The PostgreSQL Global Development Group has released an update to all ↵adam72-45/+4793
supported versions of our database system, including 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, and 9.1.24. This is also the last update for the PostgreSQL 9.1 series as it is now end-of-life. This release fixes two issues that can cause data corruption, which are described in more detail below. It also patches a number of other bugs reported over the last three months. The project urges users to apply this update at the next possible downtime.
2016-10-29Revbump packages depending on Go after the Go 1.7.3 update.bsiegert1-2/+2
2016-10-26Update databases/py-peewee to 2.8.5.fhajny3-8/+11
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.
2016-10-26Update elasticsearch to 2.4.1fhajny3-11/+11
=== 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
2016-10-24Fix replaced PREFIX in the patchryoon2-7/+7