Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 7.1 and 8.0 version constants to master #38514

Merged
merged 45 commits into from
Feb 8, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
95c2796
Add 7.1 and 8.0 version constants to master
jasontedor Feb 6, 2019
bde5654
Merge branch 'master' into eight-dot-oh
jasontedor Feb 6, 2019
78a4ce0
Fix incorrect handling of version collections
alpar-t Feb 6, 2019
7b07a62
Bump mastre version to 8.0.0
alpar-t Feb 6, 2019
49fadfa
Fix bwcBuilds for versions newer than 7.0.0
alpar-t Feb 6, 2019
0531817
move old versions to unreleased
dnhatn Feb 6, 2019
633acbf
Remove Zen1 BWC
DaveCTurner Feb 6, 2019
ced375e
Remove version method
jasontedor Feb 6, 2019
6d84429
Remove unused fields
jasontedor Feb 6, 2019
d7748f4
Remove unused import
jasontedor Feb 6, 2019
f12c54a
Remove more unused imports
jasontedor Feb 6, 2019
64f11fc
Remove bogus assertion
jasontedor Feb 6, 2019
a54cf6c
Use typeless APIs
jasontedor Feb 6, 2019
a15a041
Remove copy_settings flag from resize operations
jkakavas Feb 7, 2019
7e3137b
Revert "Use typeless APIs"
jasontedor Feb 7, 2019
72e8ac6
Some full cluster restart tests passing
jasontedor Feb 7, 2019
93b298a
More fixes
jasontedor Feb 7, 2019
7e8345d
Fixes for rolling upgrade
alpar-t Feb 7, 2019
711fd82
Fix full cluster restart tests
alpar-t Feb 7, 2019
5184cea
Merge remote-tracking branch 'jkakavas/remove-copy-settings' into eig…
alpar-t Feb 7, 2019
8b537b9
Comment out asserts, and remove bwc logic later #38557
martijnvg Feb 7, 2019
ea1822e
Refresh before getting doc count
DaveCTurner Feb 7, 2019
6b87785
Mute version assertions
alpar-t Feb 7, 2019
d9ec294
:server:unitTest passing
alpar-t Feb 7, 2019
b468e42
Fix full cluster restart
alpar-t Feb 7, 2019
29c4a22
removed no longer needed bwc code.
martijnvg Feb 7, 2019
e5b928d
Leftover rest test from #38553
albertzaharovits Feb 7, 2019
cb8b59e
Left over from e5b928d1be26c608f00b940b1e3e3
albertzaharovits Feb 7, 2019
1601d8e
fix verify version constants
alpar-t Feb 7, 2019
f1077d1
Fix method
jasontedor Feb 7, 2019
0c5d19a
Fix x-pack full cluster restart
alpar-t Feb 7, 2019
757d5b1
Remove unneeded branches testing 6.0 bwc
Feb 7, 2019
95c9f2e
Completly fix x-pack full cluster restart
alpar-t Feb 7, 2019
cee8455
Use typeless endpoint in TokenBackwardsCompatibilityIT
Feb 7, 2019
9ce5b19
Fix watcher tests
jkakavas Feb 7, 2019
a542719
Fix checkstyle
alpar-t Feb 7, 2019
71c88f9
Fix old_cluster/40_ml_datafeed_crud.yml
Feb 7, 2019
33a419e
Fix TokenBackwardsCompatibilityIT
Feb 7, 2019
0f11822
Fix transport test
Tim-Brooks Feb 7, 2019
ce62c09
fix checkstyle
andyb-elastic Feb 7, 2019
9990616
Add awaits fix
Tim-Brooks Feb 7, 2019
195a4c3
Revert errant change to Dockerfile
jasontedor Feb 8, 2019
ba8ed18
Mute
Tim-Brooks Feb 8, 2019
97e4964
There might not be any release compat versions
tvernum Feb 8, 2019
94fefca
Only "include_type_name" if running on >= 7
tvernum Feb 8, 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
Prev Previous commit
Next Next commit
Fixes for rolling upgrade
  • Loading branch information
alpar-t committed Feb 7, 2019
commit 7e8345d329eb9b36ea78554e6b38b25faa1a4f44
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,11 @@ public void testRecoveryWithSoftDeletes() throws Exception {
if (randomBoolean()) {
indexDocs(index, i, 1); // update
} else if (randomBoolean()) {
client().performRequest(new Request("DELETE", index + "/test/" + i));
if (getNodeId(v -> v.onOrAfter(Version.V_7_0_0)) == null) {
client().performRequest(new Request("DELETE", index + "/test/" + i));
} else {
client().performRequest(new Request("DELETE", index + "/_doc/" + i));
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,3 @@
- match: { hits.total: 1 }
- match: { hits.hits.0._id: q3 }

---
"Index with _all is available":
- do:
indices.get:
index: all-index
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,3 @@
wait_for_completion: true
task_id: $task

---
"Create an index with _all explicitly disabled":
- skip:
features: warnings
- do:
warnings:
- "[_all] is deprecated in 6.0+ and will be removed in 7.0. As a replacement, you can use [copy_to] on mapping fields to create your own catch all field."
indices.create:
index: all-index
body:
mappings:
_all:
enabled: false
properties:
field:
type: text
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,4 @@
task_id: $task_id
- match: { task.headers.X-Opaque-Id: "Reindexing Again" }

---
"Index with _all is available":
- do:
indices.get:
index: all-index

- do:
indices.get_mapping:
include_type_name: false
index: all-index

- is_true: all-index.mappings._all
- match: { all-index.mappings._all.enabled: false}