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

Log more data for PrevalidateShardPathIT#testCheckShards #109887

Merged
merged 9 commits into from
Jun 19, 2024

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Jun 18, 2024

PrevalidateShardPathIT#testCheckShards still keeps failing on CI, so we need more logging.

  • Add debug logging for MasterService events to verify that a cluster service update is triggered.
  • Log explanation for stuck shards regardless whether they are located on node_2 in the cluster state.

See #104807

`PrevalidateShardPathIT#testCheckShards` still keeps failing on CI, so we need more logging.

* Add logging for MasterService to verify that a cluster service update is triggered
* Log explanation for stuck shards regardless whether they are located on node_2 in the cluster state

See #104807
@arteam arteam added >test Issues or PRs that are addressing/adding tests :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) labels Jun 18, 2024
@arteam arteam marked this pull request as ready for review June 18, 2024 23:24
@arteam arteam requested a review from pxsalehi June 18, 2024 23:24
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team label Jun 18, 2024
@arteam arteam added the auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jun 19, 2024
@arteam
Copy link
Contributor Author

arteam commented Jun 19, 2024

@elasticmachine update branch

@arteam
Copy link
Contributor Author

arteam commented Jun 19, 2024

@elasticmachine update branch

@@ -39,6 +40,10 @@
@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 0)
public class PrevalidateShardPathIT extends ESIntegTestCase {

@TestLogging(
value = "org.elasticsearch.cluster.service.MasterService:DEBUG",
reason = "https://github.com/elastic/elasticsearch-serverless/pull/2068"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it link #104807 instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for catching this!

@arteam
Copy link
Contributor Author

arteam commented Jun 19, 2024

@elasticmachine update branch

@arteam arteam merged commit 0145a41 into main Jun 19, 2024
15 of 16 checks passed
@arteam arteam deleted the more-logging-PrevalidateShardPathIT_checkShards branch June 19, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) Team:Distributed Meta label for distributed team >test Issues or PRs that are addressing/adding tests v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants