https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
5448160 Update Documentation Feature Flags [1.5.0] 23 March 2015, 14:28:55 UTC
46418b3 release [1.5.0] 23 March 2015, 14:28:54 UTC
2d77bdb undo elastic elasticsearch 23 March 2015, 14:00:54 UTC
a3dab49 change elasticsearch.org into elastic.co 23 March 2015, 13:52:56 UTC
ca52d41 Disable marvel as it may fail the tests, because it creates indices. 23 March 2015, 13:48:49 UTC
011aa88 Test: Moved AwaitFix annotation to Ignore annotation. 23 March 2015, 12:10:47 UTC
ef07a31 change url to use elastic organization 23 March 2015, 11:01:01 UTC
013f54c [SPEC] Remove duplicated timeout param from bulk REST spec Closes #10205 22 March 2015, 09:29:03 UTC
fdec90b TEST: use the random variable we have to use the variable instead of the static methods to reproduce failing tests 21 March 2015, 18:09:36 UTC
de2149f [DOCS] Fix typos in percolate.asciidoc 21 March 2015, 09:23:08 UTC
57deaa9 [DOCS] Add ElasticOcean mobile app to monitoring.asciidoc 21 March 2015, 09:12:05 UTC
8c20276 [DOCS] add -i flag to more curl HEAD calls 21 March 2015, 07:55:32 UTC
dfbe061 [DOCS] add -i flag to curl HEAD call without -i you never see the status:200 or status:404 messages 21 March 2015, 07:55:25 UTC
89e5a9b [Bootstrap] Throw exception if the JVM will corrupt data. Detect the worst-offenders, all IBM versions and several known hotspot versions that can cause index corruption, and fail on startup. Provide/detect compiler workarounds when they exist, but warn about performance degradation. In all cases the check can be bypassed completely with a safety switch via undocumented system property (es.bypass.vm.check=true) Closes #7580 21 March 2015, 07:06:53 UTC
15838ea Filter indices stats for translog Added the missing call in the RestAction, closes #8262 Conflicts: src/main/java/org/elasticsearch/rest/action/admin/indices/stats/RestIndicesStatsAction.java 20 March 2015, 23:18:35 UTC
4afa41d Core: increase default rate limiting for snapshot, restore and recovery to 40 MB/sec This also fixes a possible issue that may cause over-throttling when there are many small files being copied, which should be rare. Closed #10185 20 March 2015, 20:57:07 UTC
27b6015 Update templates.asciidoc I've been attempting to programatically verify that adding index templates via the `{path.conf}/templates/` directory works fine although I was never able to validate this via an API call to the `/_template/`. It seems that these templates do not appear in that API call, which I discovered in the following mail thread: http://elasticsearch-users.115913.n3.nabble.com/Loading-of-index-settings-template-from-file-in-config-templates-td4024923.html#d1366317284000-912 My question is why wouldn't the `/_template/*` method return these templates? This tends to complicate things for those that want to perform automated tests to verify that they are in fact being recognized and used by Elasticsearch. 20 March 2015, 20:52:53 UTC
5370450 Test: testCancelRecoveryAndResume - add network hook before bumping replicas 20 March 2015, 15:29:57 UTC
b81fd5e remove left over recovery log 20 March 2015, 15:13:50 UTC
6ff1e53 [DOCS] clarify no-master-block docs Closes #9739 20 March 2015, 15:00:00 UTC
af01eef Benchmark api: removed leftovers Closes #10180 20 March 2015, 09:58:57 UTC
3a9a33e Recovery: add throttle stats This commit adds throttling statistics to the index stats API and to the recovery state. Closes #10097 20 March 2015, 08:43:02 UTC
9ba787f [TEST] Add additional logging to testCorruptTranslogFiles 20 March 2015, 05:06:21 UTC
fe05d8c [TEST] Use less shards in testShadowReplicaNaturalRelocation This makes the assertion a bit more flexible and removes the `ensureGreen` in favor of `ensureYellow`, which is really all that is needed to perform a search. On slow machines the relocations can take a while and time out the `ensureGreen`. 20 March 2015, 00:16:44 UTC
7173b20 remove unused method. close() is neither needed nor called anywhere closes #10175 20 March 2015, 00:07:48 UTC
77be1d8 [LIFECYCLE] Add before/afterIndexShardDelete callback This commit allows code to be executed before or after a shards content is deleted from disk. This is only executed if the shard owns the content ie. on a shard file system only a primary shard will execute these operations. 19 March 2015, 23:22:13 UTC
ecfeade Transport: fix potential NPE in new tracer log if request timeout Closes #9994 19 March 2015, 20:28:16 UTC
7f69016 Merge pull request #10167 from clintongormley/deprecate_thrift_memcached Deprecated the thrift and memcached transports 19 March 2015, 19:09:18 UTC
d63bd72 Deprecated the thrift and memcached transports The thrift and memcached transport layers were experimental, but in the end didn't buy us much. Memcached is very limited in scope, supporting only a portion of the REST API, and thrift has much the same throughput as HTTP. They are deprecated as of 1.5.0, and will be removed in 2.0. Document changes for #10166 19 March 2015, 19:04:49 UTC
09bad23 [TEST] Remove 'gtelte' feature from yaml tests Some yaml tests still used the 'gtelte' feature in their skip section. Since all language clients support this, the feature skip can be removed. 19 March 2015, 17:59:00 UTC
562c0f2 [FIX] fix compile error 19 March 2015, 17:51:46 UTC
47d0ae6 return an HTTP code representing the error when a suggest request failed instead of 200 19 March 2015, 17:50:56 UTC
f93c0f9 Merge pull request #10161 from clintongormley/deprecate_async_1.5 Deprecate async replication 19 March 2015, 14:30:34 UTC
5dedbd4 [DOCS] added note about dynamic scriptings and updated links in getting started page Closes #10074 19 March 2015, 14:29:14 UTC
0248e13 Deprecate async replication Doc changes to deprecate async replication in 1.5.0 and 1.x Relates to #10114 19 March 2015, 14:29:10 UTC
f621166 [DOCS] added instructions on how to write parameterized tests Closes #9423 19 March 2015, 14:28:50 UTC
1687ef3 [TEST] RepeatOnExceptionRule to rethrow unexpected exception In case an exception was caught by the repeat rule, the retry mechanism would kick in only if the exception was the expected one. If not an NPE got thrown, while we should rather just bubble it up to the caller. This makes `NettyTransportMultiPortTests` run from a plane. An assumption would kick in to make sure that the test gets ignored but the `AssumptionViolationException` was caught and not properly re-thrown. 19 March 2015, 14:28:18 UTC
fab1f7b [TEST] Add tests that triggers truncated files on recovery Several issues where reported showing truncated files where footers didn't match and checksums read past EOF. This test reproduces the issue on the latest 1.4 branch but passes on all versions above. Closes #10155 19 March 2015, 08:07:47 UTC
3ced40b [TEST] Add local gateway to GeoShapeIntegrationTest Correcting GeoShapeIntegration tests to use the local gateway to ensure reading settings from the same directory 19 March 2015, 02:47:37 UTC
97b4bac [TEST] Fix geo orientation integration test Pass node name to getInstance method of internalCluster to ensure we return the indexService from a node containing the index. 19 March 2015, 02:47:25 UTC
44c2d4a [GEO] Fix orientation persistence Fixing geo_shape field mapper to persist the orientation parameter. Also adding parsing and integration tests to ensure persistence across cluster restarts. 19 March 2015, 02:47:11 UTC
eed7162 [HTTP] add option to only return simple exception messages Adds a setting to disable detailed error messages and full exception stack traces in HTTP responses. When set to false, the error_trace request parameter will result in a HTTP 400 response. When the error_trace parameter is not present, the message of the first ElasticsearchException will be output and no nested exception messages will be output. 18 March 2015, 22:35:09 UTC
9ef002b Fix typo in UnavailableShardsException message Closes #10140 18 March 2015, 18:40:30 UTC
bdbf64d [TEST] muste test, we have an issue for it and know what is going on 18 March 2015, 17:21:31 UTC
3fc0a27 [release script] Check for //NORELEASE in code before release Lines in the code that should be removed before a release can be annotated with //NORELEASE . This can be useful when debugging test failures. For example, one might want to add additional logging that would be too verbose for production and therfore should be removed before releasing. closes #10141 18 March 2015, 16:58:09 UTC
df647d5 _cat/nodes: Thread null handling through stats and info Closes #6297 # Conflicts: # src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java 18 March 2015, 00:22:48 UTC
c7b225c [PLUGINS] Always send current ES version when downloading plugins to enable download servers to send the correct plugin version for the node that is installing it this PR sends the current version as a header to the server. 17 March 2015, 23:44:17 UTC
6e8a9c1 Recovery: add total operations to the `_recovery` API This commit adds the current total number of translog operations to the recovery reporting API. We also expose the recovered / total percentage: ``` "translog": { "recovered": 536, "total": 986, "percent": "54.3%", "total_time": "2ms", "total_time_in_millis": 2 }, ``` Closes #9368 Closes #10042 17 March 2015, 00:40:03 UTC
730bb01 percolator: Take filters from index aliases into account when selecting queries to run on a document. The filter from an indexed alias is as if you would filter on the metadata of a percolator query, but then the filter is defined in the index alias instead of the percolate request. Closes #6241 17 March 2015, 00:14:57 UTC
b5288d8 inner_hits: Nested parent field should be resolved based on the parent inner hit definition, instead of the nested parent field in the mapping. The behaviour is better in the case someone has multiple levels of nested object fields defined in the mapping and like to define a single inner_hits definition that is two or more levels deep. If someone wants inner hits on a nested field that is 2 levels deep the following would need to be defined: ``` { ... "inner_hits" : { "path" : { "level1" : { "inner_hits" : { "path" : { "level2" : { "query" : { .... } } } } } } } } ``` With this change the above can be defined as: ``` { ... "inner_hits" : { "path" : { "level1.level2" : { "query" : { .... } } } } } ``` Closes #9251 16 March 2015, 23:38:43 UTC
7459b50 Add license header to signature files 16 March 2015, 21:25:58 UTC
d480db4 [TEST] Ban @Seed from test 16 March 2015, 21:25:51 UTC
29e5e8e Fixes ignore_malformed behaviour for ip fields 16 March 2015, 21:06:56 UTC
56b9198 [STORE] Add filename to corruption message Today we rely on the IndexOutput#toString method to print the actual resource name we are verifying. This has a but in the 4.10.x series that leaves us with the default toString. This commit adds the filename to each corruption message for easier debugging. Relates to #10062 16 March 2015, 18:35:02 UTC
e8b3a45 Translog: stats fail to serialize size Closes #10105 16 March 2015, 17:42:18 UTC
3fb5895 [ENGINE] Remove reflection call to waitForMerges Since the index writer is now final we can remove the readlock around the forceMerge calls and use the official API to wait for merges. Conflicts: src/main/java/org/elasticsearch/index/engine/InternalEngine.java src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java 16 March 2015, 06:15:35 UTC
3557d21 Internal: Fix PageCacheRecycler's max page size computation. PageCacheRecycler was mistakenly using the maximum number of items per page instead of the byte size of a page. This could result in higher memory usage than configured. Close #10077 16 March 2015, 03:29:53 UTC
f39ba34 Aggregations: Be lenient when converting local to utc time in time zone roundings This solves a problem in the time zone rounding classes where time dates that fall into a DST gap will cause joda time library to throw an exception. Changing the conversion methods 'strict' option to false prevents this. Closes #10025 16 March 2015, 03:05:05 UTC
32c4cda [TEST] Add `-Pdev` to the TESTING.asciidoc guide 16 March 2015, 00:49:10 UTC
75ddd83 Engine: update index buffer size during recovery and allow configuring version map size. To support real time gets, the engine keeps an in-memory map of recently index docs and their location in the translog. This is needed until documents become visible in Lucene. With 1.3.0, we have improved this map and made tightly integrated with refresh cycles in Lucene in order to keep the memory signature to a bare minimum. On top of that, if the version map grows above a 25% of the index buffer size, we proactively refresh in order to be able to trim the version map back to 0 (see #6363) . In the same release, we have fixed an issue where an update to the indexing buffer could result in an unwanted exception during recovery (#6667) . We solved this by waiting with updating the size of the index buffer until the shard was fully recovered. Sadly this two together can have a negative impact on the speed of translog recovery. During the second phase of recovery we replay all operations that happened on the shard during the first phase of copying files. In parallel we start indexing new documents into the new created shard. At some point (phase 3 in the recovery), the translog replay starts to send operation which have already been indexed into the shard. The version map is crucial in being able to quickly detect this and skip the replayed operations, without hitting lucene. Sadly #6667 (only updating the index memory buffer once shard is started) means that a shard is using the default 64MB for it's index buffer, and thus only 16MB (25%) for the version map. This much less then the default index buffer size 10% of machine memory (shared between shards). Since we don't flush anymore when updating the memory buffer, we can remove #6667 and update recovering shards as well. Also, we make the version map max size configurable, with the same default of 25% of the current index buffer. Closes #10046 15 March 2015, 21:12:50 UTC
0e91c1a Test: testClusterFormingWithASlowNode - make delays less aggressive 15 March 2015, 20:56:13 UTC
fcbc592 [TEST] Fix test to use correct type in the mapping 14 March 2015, 20:18:42 UTC
a971140 Core: deprecate index.fail_on_merge_failure In 2.0 we will always fail the engine on merge exception. Closes #10084 14 March 2015, 18:58:55 UTC
de0172a trying to fix doc link 14 March 2015, 14:34:48 UTC
fb874fb [TEST] renamed variables in ScriptServiceTests 13 March 2015, 19:57:01 UTC
4734c9c [TEST] removed duplicated file creation from ScriptServiceTests 13 March 2015, 19:42:23 UTC
4ceb563 Core: deprecate delete-by-query This API is trappy: it secretly does a refresh, which can quickly cause too many segments / OOME if you are also concurrently indexing, and it might delete different documents between primary and replica. It will be removed in 2.0. It's better to do a scan/scroll request with the query, gather the matching ids, and issue a bulk request to delete them. Closes #10083 13 March 2015, 18:43:59 UTC
e5889a2 Core: don't rethrow merge exceptions We already 1) log the full exception, and 2) fail the engine. Closes #10083 13 March 2015, 18:26:07 UTC
b3a7200 Translog: make sure stats's op count and size are in sync During translog flush there is a very small window where translog stats reports can be inconsistent. Closes #10041 13 March 2015, 17:37:57 UTC
d7ffa9f Scripting: File scripts cache key to include language to prevent conflicts The file scripts cache key should include the language of the script to prevent conflicts between scripts with same name but different extension (hence lang). Note that script engines can register multiple acronyms that may be used as lang at execution time (e.g. javascript and js are synonyms). We then need to make sure that the same script gets loaded no matter which of the acronyms is used at execution time. The problem didn't exist before this change ad the lang was simply ignored, while now we take it into account. This change has also some positive effect on inline scripts caching. Up until now, the same script referred to with different acronyms would be compiled and cached multiple times, once per acronym. After this change every script gets compiled and cached only once, as we chose internally the acronym used as part of the cache key, no matter which one the user provides. Closes #10033 13 March 2015, 06:16:52 UTC
1fd3e53 [DOCS] fix typo in scripting docs 12 March 2015, 22:28:29 UTC
b55dd3c [SHARD] make assert less strict to ensure local node is not null Conflicts: src/main/java/org/elasticsearch/index/shard/IndexShard.java 12 March 2015, 19:18:00 UTC
81c5160 Snapshot/Restore: delete operation should ignore finalizing shards on nodes that no longer exist Related to #9924 12 March 2015, 04:59:31 UTC
bc68362 [DOCS] fix typo in BoolQueryBuilder javadocs 10 March 2015, 18:16:58 UTC
041e449 [DOCS] add missing comma in percentile_rank aggregation example 10 March 2015, 18:16:58 UTC
3a5cbba [DOCS] Adjusted geo_distance aggregation example unit is not returned in the response, but we have key and an implicit from starting at 0 for the first bucket 10 March 2015, 18:16:58 UTC
ff2df21 [DOCS] missing curly brace in ip_range aggregation example 10 March 2015, 18:16:58 UTC
16c64e8 [TEST] more logging for testIndexWithFewDocuments 10 March 2015, 18:11:07 UTC
f185f34 [doc] Cat API: show open and closed indices in _cat/indices Related to #7936 (cherry picked from commit d9c19cd) 09 March 2015, 22:46:01 UTC
49c1ca2 Improve reporting of assert in IndexShard Conflicts: src/main/java/org/elasticsearch/index/shard/IndexShard.java 09 March 2015, 21:26:26 UTC
cf8a06d Docs: Typo Closes #10010 09 March 2015, 00:56:32 UTC
4418686 Fix extra logging parameter in RecoverySourceHandler 08 March 2015, 23:57:05 UTC
a7119ef Gateway: improve assertion at the end of shard recovery we want to make sure the recovery finished all the way to post recovery. Current check, validating the shard is either in POST_RECOVERY or STARTED is not good because the shard could be also closed if things go fast enough (like in our tests). The assertion is changed to check the shard is not left in CREATED or RECOVERING. Closes #10028 08 March 2015, 17:57:33 UTC
9663fa4 Scripting: cleanup ScriptService & friends in preparation for #6418 - Added NAME constants for each script language, avoiding to repeat the same strings all over the place. - Simplified `compile` method signatures by removing a couple of variants. Note that all of these signatures are going to change again with #6418 as in order to compile/execute a script the caller will need to specify which operation is attempting to execute the script, info that will be provided as an additional mandatory argument. - Removed double call to ScriptService#verifyDynamicScripting for every indexed or dynamic script. - Decreased ScriptService inner classes visibility to private (CacheKey, IndexedScript, ApplySettings) - Moved ScriptService inner classes to the bottom of the class, I think it makes it more readable. - Resolved some compiler warnings Closes #9992 07 March 2015, 11:28:52 UTC
b182b9f Tribe node: system properties and configuration settings must not be forwarded to tribe clients The tribe node, at startup, sets up the tribe clients that will join their corresponding tribes. All of the tribe.* settings are properly forwarded to the corresponding tribe client. System properties and global configuration settings must not be forwarded to the tribe client though or they will end up overriding per tribe settings with same name causing issues. For instance if you set the transport.tcp.port to some defined value for the tribe node, via system property or configuration file, that same value must not be forwarded to the tribe clients, otherwise they will try and use the same port, which will be already occupied by the tribe node itself, resulting in startup failed. Same for cluster.name, which will cause the tribe clients not to join their tribes. Closes #9576 Closes #9721 07 March 2015, 08:45:13 UTC
ccd6b5d Internal: Fix equality check of timevalue after serialization closes #9218 06 March 2015, 21:31:05 UTC
cab7aba Mark shadow replicas with 's' in _cat/shards output Fixes #9772 06 March 2015, 20:47:50 UTC
7d8d949 Revert "[mappings] update dynamic fields in mapping on master even if parsing fails for the rest of doc" This reverts commit d7424654420497dad3d1709630f37f2d7d61ec16. 06 March 2015, 18:21:45 UTC
02d4488 [significant terms] Use 'script_file' instead of 'script' if the script is a file 06 March 2015, 17:42:03 UTC
61e07ad significant terms: add scriptable significance heuristic This commit adds scripting capability to significant_terms. Custom heuristics can be implemented with a script that provides parameters subset_freq, superset_freq,subset_size, superset_size. closes #7850 06 March 2015, 16:06:27 UTC
d742465 [mappings] update dynamic fields in mapping on master even if parsing fails for the rest of doc The local DocumentMapper is updated while parsing and dynamic fields are added before parsing has finished. If parsing fails after a dynamic field has been added already then the field was not added to the cluster state but was present in the local mapper of this node. New documents with the same field would not necessarily cause an update either and after restarting the node the mapping for these fields were lost. Instead the new fields should always be updated. closes #9851 closes #9874 06 March 2015, 14:35:47 UTC
a944da0 Tests: wait for discovery to be completed after both majority nodes follow a new master 06 March 2015, 12:50:50 UTC
acef8c9 Use provided cluster state for indices service validations Since the method can be called in an #execute event of the cluster service, we need the ability to use the cluster state that will be provided in the ClusterChangedEvent, have the ClusterState be provided as a parameter 06 March 2015, 12:50:12 UTC
1397c53 Fix Java 8 _ variable warning The _ variable causes a warning when compiling with Java 8, noting that it might be removed in a future version 06 March 2015, 12:36:51 UTC
2c7a25a Tests: added more logging 06 March 2015, 10:24:18 UTC
d34941d [TEST] wait until mappings are added to cluster state to make sure they are persisted 06 March 2015, 09:43:32 UTC
e23dce4 Add missing imports 06 March 2015, 08:24:04 UTC
a6dfb91 Zen: Node receiving a cluster state with a wrong master node should reject and throw an error. Previously it was ignored and the publish cluster state timeout would kick in. In that case a stale master node would just wait for the inevitable and waste valuable time. This issue was discovered by the DiscoveryWithServiceDisruptionsTests#testStaleMasterNotHijackingMajority test. Also only perform cluster state versions and wrong master node check inside cluster state update task. 06 March 2015, 07:48:28 UTC
b6a1075 Revert "[TESTS] remove AwaitsFix from CircuitBreakerServiceTests" This reverts commit e2f1cffd9a50f7ed4e42667fed6f87a37373c383. 06 March 2015, 05:14:26 UTC
00735d2 [ENGINE] Inc store reference before reading segments info If a tragic even happens while we are reading the segments info from the store the store might have been closed concurrently. We had this behavior before and was lost in a refactoring. 05 March 2015, 21:18:30 UTC
back to top