Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
34d6913
Assert translog stats busily (#45809)
dnhatn Aug 21, 2019
0fb695e
Never release store using CancellableThreads (#45409)
dnhatn Aug 21, 2019
3cf174d
re-enable bwc tests and update cat.alias rest tests (#45822)
talevy Aug 21, 2019
31f6e78
Allow the user to specify 'query' in Evaluate Data Frame request (#45…
przemekwitek Aug 22, 2019
8010dd0
Add tests to check that requests are retried when writing/reading blo…
tlrx Aug 22, 2019
fab31ab
Log deprecation warning if es.transport.cname_in_publish_address prop…
Aug 22, 2019
a5ceca7
Remove deprecated es.http.cname_in_publish_address setting (#45616)
Aug 22, 2019
a66170a
Remove deprecated es.http.cname_in_publish_address setting (#45616)
Aug 22, 2019
77267ad
Change supported version in serialization code to 7.4.0 after backpor…
przemekwitek Aug 22, 2019
26323f0
[DOCS] Add template docs to scripts. Reorder template examples. (#45817)
jrodewig Aug 22, 2019
f989beb
[ML-DataFrame] version data frame transform internal index (#45375)
Aug 22, 2019
912d740
[DOCS] Reformats search API (#45786)
szabosteve Aug 22, 2019
3c04b91
Move regex error to node (#45813)
jdconrad Aug 22, 2019
c73a2ef
Remove deprecated es.http.cname_in_publish_address setting (#45831)
Aug 22, 2019
8faea7b
Acknowledge Indices Were Wiped Successfully in REST Tests (#45832)
original-brownbear Aug 22, 2019
89cff16
Mute flaky RemoteClusterConnection test (#45850)
williamrandolph Aug 22, 2019
36d859f
[ML][Transforms] unifying logging, adding some more logging (#45788)
benwtrent Aug 22, 2019
d1e00e3
Search - added HLRC support for PinnedQueryBuilder (#45779)
markharwood Aug 22, 2019
f067a5b
Add test that proves _timing_stats document is deleted when the job i…
przemekwitek Aug 22, 2019
e8c8230
introduce 7.3.2 to the master branch (#45865)
jakelandis Aug 22, 2019
0412504
[ML] Adding data frame analytics stats to _usage API (#45820)
benwtrent Aug 22, 2019
aa3e99c
Put error message from inside the process into the exception that is …
przemekwitek Aug 22, 2019
6244c59
update bwcVersions
jakelandis Aug 22, 2019
9565516
[DOCS] Reformat match query (#45152)
jrodewig Aug 22, 2019
596a6c2
Fix update-by-query script examples (#43907)
henningandersen Aug 22, 2019
c018647
Adjusting ML usage object serialization bwc version (#45874)
benwtrent Aug 22, 2019
9f654fd
Fsync translog without writeLock before rolling (#45765)
dengweisysu Aug 22, 2019
d05101b
Add node.processors setting in favor of processors (#45855)
jasontedor Aug 22, 2019
7cb26ef
Remove binary file accidentally committed
jasontedor Aug 22, 2019
6bc38ab
Fix TransportSnapshotsStatusAction ThreadPool Use (#45824)
original-brownbear Aug 22, 2019
5c449b4
Enable testing against JDK 14 (#45178)
jasontedor Aug 22, 2019
86747cb
[DOCS] Add anchor to version types list. (#45886)
debadair Aug 23, 2019
df51be5
Adding a warning to from-size.asciidoc
nathandh22 Aug 23, 2019
eef8235
Remove redundant Java check from Sys V init (#45793)
jasontedor Aug 23, 2019
30a7bdf
Update joda to 2.10.3 (#45495)
spinscale Aug 23, 2019
9dc6f0d
Allow partial request body reads in AWS S3 retries tests (#45847)
tlrx Aug 23, 2019
8fecc31
Move testRetentionLeasesClearedOnRestore (#45896)
tlrx Aug 23, 2019
6b5e3e9
[DOCS] Reformat put mapping API docs (#45709)
jrodewig Aug 23, 2019
23673a1
Fix RemoteClusterConnection close race (#45898)
henningandersen Aug 23, 2019
c8aceb5
[ML][Transforms] fix doSaveState check (#45882)
benwtrent Aug 23, 2019
f6a97de
[ML] Improve progress reportings for DF analytics (#45856)
dimitris-athanasiou Aug 23, 2019
ab8049f
Expose the ability to cancel async requests in REST high-level client…
jillesvangurp Aug 23, 2019
5807ba0
Fix IngestService to respect original document content type (#45799)
jbaiera Aug 23, 2019
46d7849
Change `{var}` convention to `<var>` (#45904)
jrodewig Aug 23, 2019
6e5989d
Fix bugs in Painless SCatch node (#45880)
jdconrad Aug 23, 2019
18282b0
Update translog checkpoint after marking ops as persisted (#45634)
dnhatn Aug 23, 2019
4e70b37
[DOCS] Reformat get index API docs (#45758)
jrodewig Aug 23, 2019
f378232
[DOCS] Reformat delete index API docs (#45755)
jrodewig Aug 23, 2019
0ae0dfc
Handle multiple loopback addresses (#45901)
pugnascotia Aug 23, 2019
ad8eb03
[DOCS] Relocate Ingest API docs to REST API section (#45812)
jrodewig Aug 23, 2019
153ea94
[ML][Transforms] adjusting when and what to audit (#45876)
benwtrent Aug 23, 2019
fe9f0b4
Remove processors setting (#45905)
jasontedor Aug 23, 2019
67b3414
Remove translating processors in Docker entrypoint (#45923)
jasontedor Aug 23, 2019
3ed8b5c
Deprecate the pidfile setting (#45938)
jasontedor Aug 24, 2019
4df63a6
Adjust node.pidfile version in cluster formation
jasontedor Aug 24, 2019
e2ad888
Remove non task aware execute methods from TransportAction (#45821)
rjernst Aug 24, 2019
c9d397f
Remove the pidfile setting (#45940)
jasontedor Aug 24, 2019
13179b2
Allow Transport Actions to indicate authN realm (#45767)
jkakavas Aug 25, 2019
e9809b5
re-enable BWC tests after merging #45767 (#45948)
jkakavas Aug 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ BWC_VERSION:
- "7.2.1"
- "7.3.0"
- "7.3.1"
- "7.3.2"
- "7.4.0"
- "8.0.0"
1 change: 1 addition & 0 deletions .ci/matrix-runtime-javas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ES_RUNTIME_JAVA:
- java12
- openjdk12
- openjdk13
- openjdk14
- zulu11
- zulu12
- corretto11
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ task verifyVersions {
* after the backport of the backcompat code is complete.
*/

boolean bwc_tests_enabled = false
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/45798" /* place a PR link here when committing bwc changes */
boolean bwc_tests_enabled = true
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
if (bwc_tests_enabled == false) {
if (bwc_tests_disabled_issue.isEmpty()) {
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class ClusterFormationTasks {
Map esConfig = [
'cluster.name' : node.clusterName,
'node.name' : "node-" + node.nodeNum,
'pidfile' : node.pidFile,
(node.nodeVersion.onOrAfter('7.4.0') ? 'node.pidfile' : 'pidfile') : node.pidFile,
'path.repo' : "${node.sharedDir}/repo",
'path.shared_data' : "${node.sharedDir}/",
// Define a node attribute so we can test that it exists
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ slf4j = 1.6.2
jna = 4.5.1

netty = 4.1.38.Final
joda = 2.10.2
joda = 2.10.3

# when updating this version, you need to ensure compatibility with:
# - plugins/ingest-attachment (transitive dependency, check the upstream POM)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ public PutFollowResponse putFollow(PutFollowRequest request, RequestOptions opti
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void putFollowAsync(PutFollowRequest request,
RequestOptions options,
ActionListener<PutFollowResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable putFollowAsync(PutFollowRequest request,
RequestOptions options,
ActionListener<PutFollowResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::putFollow,
options,
Expand Down Expand Up @@ -129,15 +129,15 @@ public AcknowledgedResponse pauseFollow(PauseFollowRequest request, RequestOptio
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-follow.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void pauseFollowAsync(PauseFollowRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable pauseFollowAsync(PauseFollowRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::pauseFollow,
options,
Expand Down Expand Up @@ -172,15 +172,15 @@ public AcknowledgedResponse resumeFollow(ResumeFollowRequest request, RequestOpt
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-follow.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void resumeFollowAsync(ResumeFollowRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable resumeFollowAsync(ResumeFollowRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::resumeFollow,
options,
Expand Down Expand Up @@ -217,15 +217,15 @@ public AcknowledgedResponse unfollow(UnfollowRequest request, RequestOptions opt
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-unfollow.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void unfollowAsync(UnfollowRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable unfollowAsync(UnfollowRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::unfollow,
options,
Expand Down Expand Up @@ -260,15 +260,15 @@ public BroadcastResponse forgetFollower(final ForgetFollowerRequest request, fin
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-forget-follower.html">the docs</a> for more details
* on the intended usage of this API.
*
* @param request the request
* @param options the request options (e.g., headers), use {@link RequestOptions#DEFAULT} if the defaults are acceptable.
* @return cancellable that may be used to cancel the request
*/
public void forgetFollowerAsync(
public Cancellable forgetFollowerAsync(
final ForgetFollowerRequest request,
final RequestOptions options,
final ActionListener<BroadcastResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::forgetFollower,
options,
Expand Down Expand Up @@ -303,15 +303,15 @@ public AcknowledgedResponse putAutoFollowPattern(PutAutoFollowPatternRequest req
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void putAutoFollowPatternAsync(PutAutoFollowPatternRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable putAutoFollowPatternAsync(PutAutoFollowPatternRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::putAutoFollowPattern,
options,
Expand Down Expand Up @@ -347,15 +347,15 @@ public AcknowledgedResponse deleteAutoFollowPattern(DeleteAutoFollowPatternReque
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void deleteAutoFollowPatternAsync(DeleteAutoFollowPatternRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable deleteAutoFollowPatternAsync(DeleteAutoFollowPatternRequest request,
RequestOptions options,
ActionListener<AcknowledgedResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::deleteAutoFollowPattern,
options,
Expand Down Expand Up @@ -392,15 +392,15 @@ public GetAutoFollowPatternResponse getAutoFollowPattern(GetAutoFollowPatternReq
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void getAutoFollowPatternAsync(GetAutoFollowPatternRequest request,
RequestOptions options,
ActionListener<GetAutoFollowPatternResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable getAutoFollowPatternAsync(GetAutoFollowPatternRequest request,
RequestOptions options,
ActionListener<GetAutoFollowPatternResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::getAutoFollowPattern,
options,
Expand Down Expand Up @@ -437,14 +437,14 @@ public CcrStatsResponse getCcrStats(CcrStatsRequest request,
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @return cancellable that may be used to cancel the request
*/
public void getCcrStatsAsync(CcrStatsRequest request,
RequestOptions options,
ActionListener<CcrStatsResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable getCcrStatsAsync(CcrStatsRequest request,
RequestOptions options,
ActionListener<CcrStatsResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::getCcrStats,
options,
Expand Down Expand Up @@ -481,14 +481,14 @@ public FollowStatsResponse getFollowStats(FollowStatsRequest request,
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @return cancellable that may be used to cancel the request
*/
public void getFollowStatsAsync(FollowStatsRequest request,
RequestOptions options,
ActionListener<FollowStatsResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable getFollowStatsAsync(FollowStatsRequest request,
RequestOptions options,
ActionListener<FollowStatsResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::getFollowStats,
options,
Expand Down Expand Up @@ -524,14 +524,14 @@ public FollowInfoResponse getFollowInfo(FollowInfoRequest request, RequestOption
*
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html">
* the docs</a> for more.
*
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @return cancellable that may be used to cancel the request
*/
public void getFollowInfoAsync(FollowInfoRequest request,
RequestOptions options,
ActionListener<FollowInfoResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(
public Cancellable getFollowInfoAsync(FollowInfoRequest request,
RequestOptions options,
ActionListener<FollowInfoResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
request,
CcrRequestConverters::getFollowInfo,
options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ public ClusterUpdateSettingsResponse putSettings(ClusterUpdateSettingsRequest cl
* @param clusterUpdateSettingsRequest the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void putSettingsAsync(ClusterUpdateSettingsRequest clusterUpdateSettingsRequest, RequestOptions options,
ActionListener<ClusterUpdateSettingsResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(clusterUpdateSettingsRequest, ClusterRequestConverters::clusterPutSettings,
public Cancellable putSettingsAsync(ClusterUpdateSettingsRequest clusterUpdateSettingsRequest, RequestOptions options,
ActionListener<ClusterUpdateSettingsResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(clusterUpdateSettingsRequest,
ClusterRequestConverters::clusterPutSettings,
options, ClusterUpdateSettingsResponse::fromXContent, listener, emptySet());
}

Expand All @@ -96,10 +98,12 @@ public ClusterGetSettingsResponse getSettings(ClusterGetSettingsRequest clusterG
* @param clusterGetSettingsRequest the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void getSettingsAsync(ClusterGetSettingsRequest clusterGetSettingsRequest, RequestOptions options,
ActionListener<ClusterGetSettingsResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(clusterGetSettingsRequest, ClusterRequestConverters::clusterGetSettings,
public Cancellable getSettingsAsync(ClusterGetSettingsRequest clusterGetSettingsRequest, RequestOptions options,
ActionListener<ClusterGetSettingsResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(
clusterGetSettingsRequest, ClusterRequestConverters::clusterGetSettings,
options, ClusterGetSettingsResponse::fromXContent, listener, emptySet());
}

Expand Down Expand Up @@ -127,9 +131,11 @@ public ClusterHealthResponse health(ClusterHealthRequest healthRequest, RequestO
* @param healthRequest the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notified upon request completion
* @return cancellable that may be used to cancel the request
*/
public void healthAsync(ClusterHealthRequest healthRequest, RequestOptions options, ActionListener<ClusterHealthResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(healthRequest, ClusterRequestConverters::clusterHealth, options,
public Cancellable healthAsync(ClusterHealthRequest healthRequest, RequestOptions options,
ActionListener<ClusterHealthResponse> listener) {
return restHighLevelClient.performRequestAsyncAndParseEntity(healthRequest, ClusterRequestConverters::clusterHealth, options,
ClusterHealthResponse::fromXContent, listener, singleton(RestStatus.REQUEST_TIMEOUT.getStatus()));
}
}
Loading