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
Search of remote clusters with no shards results in successful status. #100354
Search of remote clusters with no shards results in successful status. #100354
Conversation
ccs_minimize_roundtrips=true was not checking if no shards were present to search before setting the cluster search status. If number of shards is zero, then cluster search status should be zero. This aligns ccs_minimize_roundtrips=true with the false setting and how it worked in earlier versions. Fixes bug elastic#100350
Pinging @elastic/es-search (Team:Search) |
Hi @quux00, I've created a changelog YAML for you. |
@quux00 Can we backport this to the next 8.10 and 8.11 patches? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Since this problem has such a big impact on ML datafeeds used within a large CCS environment I propose that this fix should be backported to 8.11 and 8.10. I've added the relevant labels, so if the changes backport cleanly hopefully this will involve no extra effort. Let me know if you disagree. |
elastic#100354) ccs_minimize_roundtrips=true was not checking if no shards were present to search before setting the cluster search status. If the number of shards is zero, then cluster search status should be 'successful'. This aligns ccs_minimize_roundtrips=true with the false setting and how it worked in earlier versions. Fixes bug elastic#100350
💔 Backport failed
You can use sqren/backport to manually backport by running |
elastic#100354) ccs_minimize_roundtrips=true was not checking if no shards were present to search before setting the cluster search status. If the number of shards is zero, then cluster search status should be 'successful'. This aligns ccs_minimize_roundtrips=true with the false setting and how it worked in earlier versions. Fixes bug elastic#100350
#100354) (#100442) ccs_minimize_roundtrips=true was not checking if no shards were present to search before setting the cluster search status. If the number of shards is zero, then cluster search status should be 'successful'. This aligns ccs_minimize_roundtrips=true with the false setting and how it worked in earlier versions. Fixes bug #100350
elastic#100354) ccs_minimize_roundtrips=true was not checking if no shards were present to search before setting the cluster search status. If the number of shards is zero, then cluster search status should be 'successful'. This aligns ccs_minimize_roundtrips=true with the false setting and how it worked in earlier versions. Fixes bug elastic#100350
Manual backport to 8.10 here: #100458 |
#100354) (#100458) ccs_minimize_roundtrips=true was not checking if no shards were present to search before setting the cluster search status. If the number of shards is zero, then cluster search status should be 'successful'. This aligns ccs_minimize_roundtrips=true with the false setting and how it worked in earlier versions. Backported from #100354 Fixes bug #100350
The 8.11 and 8.10 backports have been completed, so it should be in ES releases for 8.10.4 and 8.11.1 and 8.12.0. |
Removing |
ccs_minimize_roundtrips=true was not checking if no shards were present to
search before setting the cluster search status. If number of shards is zero,
then cluster search status should be successful. This aligns ccs_minimize_roundtrips=true
with the false setting and how it worked in earlier versions.
Fixes bug #100350