https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
1fad4e1 [ML] Speed up persistent task rechecks in ML failover tests (#43291) The ML failover tests sometimes need to wait for jobs to be assigned to new nodes following a node failure. They wait 10 seconds for this to happen. However, if the node that failed was the master node and a new master was elected then this 10 seconds might not be long enough as a refresh of the memory stats will delay job assignment. Once the memory refresh completes the persistent task will be assigned when the next cluster state update occurs or after the periodic recheck interval, which defaults to 30 seconds. Rather than increase the length of the wait for assignment to 31 seconds, this change decreases the periodic recheck interval to 1 second. Fixes #43289 18 June 2019, 08:20:53 UTC
5d3cae4 [DOCS] Fix typo: extraneous {es} 18 June 2019, 02:28:38 UTC
00e6558 [DOCS] Add introduction to Elasticsearch. (#43075) * [DOCS] Add introduction to Elasticsearch. * [DOCS] Incorporated review comments. * [DOCS] Minor edits to add an abbreviated title and cross refs. * [DOCS] Added sizing tips & link to quantatative sizing video. 18 June 2019, 00:23:11 UTC
c399c66 Account soft deletes in committed segments (#43126) This change fixes the delete count issue in segment stats where we don't account soft-deleted documents from committed segments. Relates #43103 14 June 2019, 16:44:38 UTC
7e995ed Refactor Version class to make version bumps easier (#42668) (#43218) With this change we only have to add one line to add a new version. The intent is to make it less error prone and easier to write a script to automate the process. 14 June 2019, 08:03:04 UTC
f813b2c disable kerberos fixture and tests 14 June 2019, 00:34:24 UTC
ea8ae4f disable kerberos-tests 14 June 2019, 00:09:34 UTC
e24f89d SQL: Fix wrong results when sorting on aggregate (#43154) - Previously, when shorting on an aggregate function the bucket processing ended early when the explicit (LIMIT XXX) or the impliciti limit of 512 was reached. As a consequence, only a set of grouping buckets was processed and the results returned didn't reflect the global ordering. - Previously, the priority queue shorting method had an inverse comparison check and the final response from the priority queue was also returned in the inversed order because of the calls to the `pop()` method. Fixes: #42851 (cherry picked from commit 19909edcfdf5792b38c1363b07379783ebd0e6c4) 13 June 2019, 21:59:29 UTC
f032c27 [DOCS] Fix link to ML node description 13 June 2019, 21:30:21 UTC
04d22d0 [DOCS] Update node descriptions for default distribution (#42812) 13 June 2019, 21:30:01 UTC
3dc1dcc Disable x-pack:qa:kerberos-tests due to failures (#43209) relates #40678 13 June 2019, 18:20:04 UTC
e08f3b1 Fix test for parse of search failures ShardSearchFailure.toXContent did not generate the outer level object, fixed test to add this. Related to backport of #42928 13 June 2019, 11:34:46 UTC
ab448da Remote reindex failure parse fix (#42928) A search request that partially fails with failures without an index (index: null) in the failure would cause a parse error in reindex from remote. This would hide the original exception, making it hard to debug the root cause. This commit fixes this so that we can tolerate null index entries in a search failure. 13 June 2019, 09:45:36 UTC
57441e9 Add 6.8 to the remote clusters compatibility table (#42389) The table does not include 6.8 as it was written before we knew we were releasing it. This commit adds it. 13 June 2019, 09:20:25 UTC
c02d2fa Document wildcard for network interfaces (#28839) With this commit we mention how Elasticsearch behaves when either `0` or `0.0.0.0` is used for `network.host`. 13 June 2019, 08:11:38 UTC
55863a0 Enable krb5kdc-fixture, kerberos tests mount urandom for kdc container (#41710) (#43180) Infra has fixed #10462 by installing `haveged` on CI workers. This commit enables the disabled fixture and tests, and mounts `/dev/urandom` for the container so there is enough entropy required for kdc. Note: hdfs-repository tests have been disabled, will raise a separate issue for it. Closes #40624 Closes #40678 13 June 2019, 03:02:31 UTC
cbdcf55 shrink may full copy when using multi data paths (#42913) (#42965) Additional scenario for full segment copy if hard link cannot work across disks. 12 June 2019, 18:34:14 UTC
a98cc8f Revert "Upgrade to Lucene-7.7.2 on 6.8 (#43127)" This reverts commit 0dd8cd8b9e3b4ae8617adf7f50911c7215e1eff5. 12 June 2019, 15:18:04 UTC
7f261e9 fix compilation after backport of #43095 12 June 2019, 15:03:56 UTC
37f1b5a SearchRequest#allowPartialSearchResults does not handle successful retries (#43095) When set to false, allowPartialSearchResults option does not check if the shard failures have been reseted to null. The atomic array, that is used to record shard failures, is filled with a null value if a successful request on a shard happens after a failure on a shard of another replica. In this case the atomic array is not empty but contains only null values so this shouldn't be considered as a failure since all shards are successful (some replicas have failed but the retries on another replica succeeded). This change fixes this bug by checking the content of the atomic array and fails the request only if allowPartialSearchResults is set to false and at least one shard failure is not null. Closes #40743 12 June 2019, 14:28:49 UTC
5ce43f0 [6.8] Metricbeat monitoring Elasticsearch: Reorder/remove steps (#42917) (#43135) 12 June 2019, 13:25:45 UTC
0dd8cd8 Upgrade to Lucene-7.7.2 on 6.8 (#43127) This change upgrades Lucene on 6.8 to 7.7.2 to include LUCENE-8809 so we can enable the accounting check. Relates #30290 12 June 2019, 12:33:04 UTC
9c3a06f [ML] Fix problem with lost shards in distributed failure test (#43111) We were stopping a node in the cluster at a time when the replica shards of the .ml-state index might not have been created. This change moves the wait for green status to a point where the .ml-state index exists. Fixes #40546 Fixes #41742 12 June 2019, 11:37:35 UTC
448ff16 [DOCS] Clarify phrase suggester docs smoothing parameter (#42947) Closes #28512 12 June 2019, 09:55:58 UTC
a893a57 Fix timing issue in CcrRetentionLeaseIT (#43054) In these tests, we sleep for a small multiple of the renew interval, then check that the retention leases are not changed. If a renewal request takes longer than that interval because of GC or slow CI, then the retention leases are not the same as before sleep. With this change, we relax to assert that we eventually stop the renewable process. Closes #39509 12 June 2019, 01:54:19 UTC
66f7740 scheduleAtFixedRate would hang (#42993) Though not in use in elasticsearch currently, it seems surprising that ThreadPool.scheduler().scheduleAtFixedRate would hang. A recurring scheduled task is never completed (except on failure) and we test for exceptions using RunnableFuture.get(), which hangs for periodic tasks. Fixed by checking that task is done before calling .get(). 11 June 2019, 17:53:59 UTC
29615b3 Adapt URLs to 6.x version style 11 June 2019, 16:07:14 UTC
c43c4c4 Rename TESTRESPONSE[_cat] to TESTRESPONSE[non_json] (#43087) (cherry picked from commit 897b24e0563f59c03e85096fdb64cbc1dd1a5d60) 11 June 2019, 15:52:37 UTC
f18661a Restructure the SQL Language section to have proper sub-sections (#43007) Rest docs page update - have the section be on separate pages - add an Overview page - add other formats examples (cherry picked from commit 309bd691ff3f8625f67ca09fc1dd8e265f7e6c92) 11 June 2019, 15:52:36 UTC
269b830 SQL: Clarify that the connections the jdbc driver creates are not pooled (#42992) (cherry picked from commit 406d5281bdfe682fb7ec9fefcdb61cce1b9e7270) 11 June 2019, 15:52:34 UTC
646ee88 Fix NPE in CcrRetentionLeaseIT (#43059) The retention leases stats is null if the processing shard copy is being closed. In this the case, we should check against null then retry to avoid failing a test. Closes #41237 10 June 2019, 22:15:05 UTC
c3c2917 Increase waiting time when check retention locks (#42994) WriteActionsTests#testBulk and WriteActionsTests#testIndex sometimes fail with a pending retention lock. We might leak retention locks when switching to async recovery. However, it's more likely that ongoing recoveries prevent the retention lock from releasing. This change increases the waiting time when we check for no pending retention lock and also ensures no ongoing recovery in WriteActionsTests. Closes #41054 10 June 2019, 22:14:57 UTC
3bee242 Rename processor test fix (#43035) If the source field name is a prefix of the target field name, the source field still exists after rename processor has run. Adjusted test case to handle that case. 10 June 2019, 17:29:22 UTC
b737e62 [DOCS] Change `// TESTRESPONSE[_cat]` to `// TESTRESPONSE[non_json]` (#43006) 10 June 2019, 17:20:36 UTC
178d729 SQL: cover the Integer type when extracting values from _source (#42859) * Take into consideration a wider range of Numbers when extracting the values from source, more specifically - BigInteger and BigDecimal. (cherry picked from commit 561b8d73dd7b03c50242e4e3f0128b2142959176) 10 June 2019, 11:39:54 UTC
21d3f82 Since SQL is GA, remove the sql language plugin from this list (#41533) (cherry picked from commit f715d722e8df54b3d3fe84d3ff57dfd6a198a2ac) 10 June 2019, 11:39:53 UTC
c53b63c Fix auto fuzziness in query_string query (#42897) Setting `auto` after the fuzzy operator (e.g. `"query": "foo~auto"`) in the `query_string` does not take the length of the term into account when computing the distance and always use a max distance of 1. This change fixes this disrepancy by ensuring that the term is passed when the fuzziness is computed. 10 June 2019, 08:54:20 UTC
1c7e11d Fix IOUtils#fsync on Windows fsyncing directories (#43008) Fsyncing directories on Windows is not possible. We always suppressed this by allowing that an AccessDeniedException is thrown when attemping to open the directory for reading. Yet, this suppression also allowed other IOExceptions to be suppressed, and that was a bug (e.g., the directory not existing, or a filesystem error and reasons that we might get an access denied there, like genuine permissions issues). This leniency was previously removed yet it exposed that we were suppressing this case on Windows. Rather than relying on exceptions for flow control and continuing to suppress there, we simply return early if attempting to fsync a directory on Windows (we will not put this burden on the caller). 08 June 2019, 03:01:45 UTC
904584d Fix put mapping request validators random test This commit fixes a test bug in the request validators random test. In particular, an assertion was not properly nested in a guard that would ensure that was at least one failure. Relates #43000 07 June 2019, 21:49:00 UTC
cb94319 Fix possible NPE in put mapping validators (#43000) When applying put mapping validators, we apply all the validators in the collection. If a failure occurs, we collect that as a top-level exception, and suppress any additional failures into the top-level exception. However, if a request passes the validator after a top-level exception has been collected, we would try to suppress a null exception into the top-level exception. This is a violation of the Throwable#addSuppressed API. This commit addresses this, and adds test to cover the logic of collecting the failures when validating a put mapping request. 07 June 2019, 20:39:09 UTC
40a0755 [DOCS] Backports #42823 (#42903) 07 June 2019, 17:25:53 UTC
ffcf3b5 Fix testPendingTasks (#42922) Fixes a race in the test which can be reliably reproduced by adding Thread.sleep(100) to the end of IndicesService.processPendingDeletes Closes #18747 07 June 2019, 15:58:52 UTC
0bb3116 [DOCS] Add explicit `articles_case` parameter to Elision Token Filter example (#42987) 07 June 2019, 15:26:27 UTC
918010a Remove Comma in Example (#41873) The comma is there in error as there are no other parameter after 'value' 07 June 2019, 12:42:23 UTC
26ebd77 Only ignore IOException when fsyncing on dirs (#42972) Today in the method IOUtils#fsync we ignore IOExceptions when fsyncing a directory. However, the catch block here is too broad, for example it would be ignoring IOExceptions when we try to open a non-existant file. This commit addresses that by scoping the ignored exceptions only to the invocation of FileChannel#force. 07 June 2019, 12:36:54 UTC
16ac3b7 Skip verify CAS warnings in rest until all nodes upgraded (#42974) After we moved CAS deprecation check to TransportShardBulkAction (#42641), a mixed cluster consisting of 6.7 and 6.8.1 nodes can issue two deprecation warnings for versioning write requests. The way we deduplicate response headers does not work for warning headers from different versions. This commit skips CAS deprecation tests until all nodes on 6.8.1+. 07 June 2019, 12:29:20 UTC
c0df1a8 Fix compilation after backport of #42813 07 June 2019, 08:55:21 UTC
6f45434 Wire query cache into sorting nested-filter computation (#42906) Don't use Lucene's default query cache when filtering in sort. Closes #42813 07 June 2019, 08:55:21 UTC
2ca4055 Fix concurrent search and index delete (#42621) (#42977) Changed order of listener invocation so that we notify before registering search context and notify after unregistering same. This ensures that count up/down like what we do in ShardSearchStats works. Otherwise, we risk notifying onFreeScrollContext before notifying onNewScrollContext (same for onFreeContext/onNewContext, but we currently have no assertions failing in those). Closes #28053 07 June 2019, 08:45:59 UTC
357d3e1 Verify CAS warnings from the response in CrudIT (#42956) Today CrudIT expects CAS deprecation warnings from DocWriteRequest#validate which is executed locally on the client side before sending the request. This suite is currently failing after we moved the CAS deprecation check to TransportShardBulkAction (in #42641). We need to adjust this suite to verify the CAS deprecation warnings from the responses. Closes #42881 06 June 2019, 20:35:44 UTC
8f9f640 Fix hang in test for "too many fields" dep. check (#42909) This commit fixes a rare case where the method to randomly generate a very large mapping could enter an infinite loop. 06 June 2019, 20:24:46 UTC
04a7a19 Revert "[DOCS] Rewrite terms query (#42889)" This reverts commit cd55995b98c2424b28c1a53cedca7b189ea2550c. 06 June 2019, 18:10:41 UTC
8d2a644 Revert "[DOCS] Rewrite `term` query docs for new format (#41498)" This reverts commit 53dcb2e67720bc89a124565fbdecf9cecf95a58d. 06 June 2019, 18:10:33 UTC
b4da082 [DOCS] Replace table with def list for ids query (#41865) 06 June 2019, 17:10:09 UTC
6db2c8d [DOCS] Restructure `ids` to new query docs format (#41077) 06 June 2019, 17:08:19 UTC
9d317d5 [DOCS] Rewrite 'wildcard' query (#42670) 06 June 2019, 17:06:42 UTC
686c9be [DOCS] Rewrite `exists` query docs (#41868) 06 June 2019, 17:05:10 UTC
53dcb2e [DOCS] Rewrite `term` query docs for new format (#41498) * [DOCS] Restructure `term` query docs. 06 June 2019, 17:03:51 UTC
cd55995 [DOCS] Rewrite terms query (#42889) 06 June 2019, 17:01:11 UTC
27b7f10 [DOCS] Remove painless-description.asciidoc typo 06 June 2019, 15:34:21 UTC
773a718 [DOCS] Fix include:: for painless-description.asciidoc 06 June 2019, 15:34:12 UTC
3941348 [DOCS] Move 'Scripting' section to top-level navigation. (#42939) 06 June 2019, 15:34:06 UTC
b82baf3 Mute testEnableDisableBehaviour (#42929) 06 June 2019, 11:04:11 UTC
af9e9c9 Disable building on JDK 13 in CI This commit disables building on JDK 13 in CI. The reason for this is because Gradle is not yet ready to run on JDK 13. We could re-introduce infrastructure to enable Gralde to run on a different JDK than the build JDK, but rather than introducing such complexity we will instead wait for Gradle to be ready to run on JDK 13. 05 June 2019, 13:55:58 UTC
0b4a047 Clarify heap setting in Docker docs (#42885) Add note in the Docker docs that even when container memory is limited, we still require specifying -Xms/-Xmx using one of the supported methods. Backport of #42754 05 June 2019, 10:29:17 UTC
463f010 Mute CrudIT Tracked at #42881 05 June 2019, 03:33:15 UTC
88767a2 Move CAS deprecation to TransportShardBulkAction (#42641) If the primary on 6.6+ but replicas on older versions, we can not use CAS using ifSeqNo since it requires all nodes on 6.6+. In this case, we have to fall back to use CAS with _version and should not issue a deprecation warning log during validation. This change moves the CAS deprecation to TransportShardBulkAction so we can have the cluster information to determine if we should log deprecation. Closes #42796 Relates #42596 05 June 2019, 02:08:57 UTC
baf8fb5 Enable testing against JDK 13 EA builds (#40829) This commit adds JDK 13 to the CI rotation for testing. For now, we will be testing against JDK 13 EA builds. 05 June 2019, 00:57:24 UTC
814bb40 Change shard allocation filter property and api (#42602) The current example is not working and a bit confused. This change tries to match it with the sample of the watcher blog. 04 June 2019, 16:44:59 UTC
2f485b8 Fix tokenizer serialization in AnalyzeRequest.toXContent() (#42795) Fixes #39670 04 June 2019, 09:21:31 UTC
30150b4 [Docs] Fix reference to `boost` and `slop` params (#42803) For `multi_match` query: link `boost` param to the generic reference for query usage and `slop` to the `match_phrase` query where its usage is documented. Fixes: #40091 (cherry picked from commit 69993049a8bd9e7f042935729fe69a8266d95a0a) 03 June 2019, 21:00:20 UTC
225670b [Docs] Add note for date patterns used for index search. (#42810) Add an explanatory NOTE section to draw attention to the difference between small and capital letters used for the index date patterns. e.g.: HH vs hh, MM vs mm. Closes: #22322 (cherry picked from commit c8125417dc33215651f9bb76c9b1ffaf25f41caf) 03 June 2019, 20:53:46 UTC
514456f SQL: [Docs] Fix links syntax (#42806) Fix a couple of wrong links because of the order of the anchor and the usage of backquotes. (cherry picked from commit 4e0c6525153b60a57202937c2ae57968c8e35285) 03 June 2019, 15:54:27 UTC
19e3d5e [DOCS] Fix table cols value order for Asciidoctor 03 June 2019, 12:32:43 UTC
8c087df [DOCS] Re-add missing tag for SQL code blocks 31 May 2019, 17:47:09 UTC
72d6c70 Clarify that inner_hits must be used to access nested fields. (#42724) This PR updates the docs for `docvalue_fields` and `stored_fields` to clarify that nested fields must be accessed through `inner_hits`. It also tweaks the nested fields documentation to make this point more visible. Addresses #23766. 31 May 2019, 17:43:10 UTC
168e39f [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) In AsciiDoc, `subs="attributes,callouts,macros"` options were required to render `include-tagged::` in a code block. With elastic/docs#827, Elasticsearch Reference documentation migrated from AsciiDoc to Asciidoctor. In Asciidoctor, the `subs="attributes,callouts,macros"` options are no longer needed to render `include-tagged::` in a code block. This commit removes those unneeded options. Resolves #41589 31 May 2019, 17:13:58 UTC
6c7bcbc Fix docs typo in the certutil CSR mode (#42593) Changes the mention of `cert` to `csr`. Co-Authored-By: Alex Pang <pangyikhei+github@gmail.com> 30 May 2019, 22:08:20 UTC
4bf2a40 [DOCS] Fixes tagged region 30 May 2019, 21:04:35 UTC
f682282 [DOCS] Disable Metricbeat system module (#42601) 30 May 2019, 19:44:11 UTC
e294bf5 Clarify the settings around limiting nested mappings. (#42686) * Previously, we mentioned multiple times that each nested object was indexed as its own document. This is repetitive, and is also a bit confusing in the context of `index.mapping.nested_fields.limit`, as that applies to the number of distinct `nested` types in the mappings, not the number of nested objects. We now just describe the issue once at the beginning of the section, to illustrate why `nested` types can be expensive. * Reference the ongoing example to clarify the meaning of the two settings. Addresses #28363. 30 May 2019, 18:11:33 UTC
742697d Percolator: Exclude nested documents (#42554) This change fixes a bug in the percolator that doesn't filter nested documents in 6.x Closes #42361 30 May 2019, 11:38:38 UTC
14aea76 Add cluster restart for security on basic (#42417) This performs a simple restart test to move a basic licensed cluster from no security (the default) to security & transport TLS enabled. Backport of: #41933 30 May 2019, 04:24:26 UTC
564b727 Increase the sample space for random inner hits name generator (#42057) (#42075) This commits changes the minimum length for inner hits name to avoid name collision which sometimes failed the test. 30 May 2019, 02:32:55 UTC
6beeb35 Add warning scores are floats (#42667) 29 May 2019, 21:16:44 UTC
e8c22b2 [DOCS] Adds more monitoring tagged regions 29 May 2019, 18:39:52 UTC
6853a61 [DOCS] Set explicit anchors for TLS/SSL settings (#42524) (fixup) 29 May 2019, 13:09:57 UTC
f0bfdef Added param ignore_throttled=false when indicesOptions.ignoreThrottled() is false (#42393) and fixed test RequestConvertersTests and added ignore_throttled on all request 29 May 2019, 12:55:18 UTC
728c5d1 Deprecation info for joda-java migration (#41956) Implement deprecation checks for joda-java.time incompatible patterns. The checks scan through indicies and pipelines looking for date fields in mappings and processors which might fail in 7.0 where java.time is used. relates #42010 29 May 2019, 12:51:29 UTC
37134e8 Revert "[DOCS] Set explicit anchors for TLS/SSL settings (#42524)" This reverts commit 7d2ff99d57637bd11470eb51b33f196a5f89d08b. 29 May 2019, 12:44:18 UTC
7d2ff99 [DOCS] Set explicit anchors for TLS/SSL settings (#42524) 29 May 2019, 12:30:55 UTC
adca6a8 Only index into "doc" type in security index (#42563) The API Key Service would attempt to write to the "_doc" (SINGLE_MAPPING_TYPE) type when indexing a new api key. For indices created on 6.x, this works correctly, and indexes into the "doc" type (the single type) that is used in security. But if the security index was originally created on 5.x, this will create a new "_doc" type in the index rather than adding the document to the "doc" type. Fixes: #42562 29 May 2019, 10:26:31 UTC
28af523 Fix a callout in the field alias docs. 29 May 2019, 01:30:00 UTC
f9938ed [DOCS] Fix X-Pack tag for Asciidoctor (#42443) 28 May 2019, 19:21:09 UTC
b188f51 [DOCS] Backports monitoring configuration reorg (#42645) 28 May 2019, 18:37:01 UTC
3cce65f [DOCS] Set explicit anchors for Asciidoctor (#42521) 28 May 2019, 18:21:51 UTC
ae86e48 [DOCS] Set explicit anchors in 6.8 for Asciidoctor (#42520) 28 May 2019, 18:01:16 UTC
46a603a [ML] adding delayed_data_check_config to datafeed update docs (#42095) (#42631) * [ML] adding delayed_data_check_config to datafeed update docs * [DOCS] Edits delayed data configuration details 28 May 2019, 15:33:10 UTC
0d48013 [DOCS] Fix TLS/SSL `deprecated` macros for Asciidoctor (#42440) 28 May 2019, 13:23:00 UTC
a976ead [DOCS] Fix migration upgrade API `deprecated` macro for Asciidoctor (#42533) 28 May 2019, 13:20:38 UTC
back to top