-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adding support for dynamically updating Leader/follower checker timeouts #10528
Conversation
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Yes, I am still on it. Have made the necessary changes and resolved conflicts! |
Gradle Check (Jenkins) Run Completed with:
|
Looks like unrelated change. Let me rerun the check.
|
Gradle Check (Jenkins) Run Completed with:
|
@niyatiagg - It seems that changing from |
Makes sense. Will make the changes |
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
@owaiskazi19 - The test failures seem unrelated to my changes. Can you please take a look? |
Gradle Check (Jenkins) Run Completed with:
|
…uts (#10528) * making leader check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * making follower check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing existing unit tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for leader/follower check timeout Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * setting maximum and minimum timeout value for leader/follower checker Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for checking boundary cases Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * changed the log file and added other suggested changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Addressing review comments Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * addressing proposed changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing flakiness for existing tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing the timeout value limits for randomSettings Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> --------- Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> (cherry picked from commit 0452d14) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…uts (#10528) (#11166) * making leader check timeout dynamic * making follower check timeout dynamic * fixing existing unit tests * fixing checkstyle violations * adding tests for leader/follower check timeout * setting maximum and minimum timeout value for leader/follower checker * adding tests for checking boundary cases * Fixing checkstyle violations * changed the log file and added other suggested changes * fixing checkstyle violations * Addressing review comments * addressing proposed changes * Applying checkstyle fixes * Fixing flakiness for existing tests * Applying checkstyle fixes * Fixing the timeout value limits for randomSettings --------- (cherry picked from commit 0452d14) Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@niyatiagg - Can you also create tracking issue for updating the documentation? You can refer to one of the issue here: https://github.com/orgs/opensearch-project/projects/22 |
|
…uts (opensearch-project#10528) * making leader check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * making follower check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing existing unit tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for leader/follower check timeout Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * setting maximum and minimum timeout value for leader/follower checker Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for checking boundary cases Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * changed the log file and added other suggested changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Addressing review comments Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * addressing proposed changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing flakiness for existing tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing the timeout value limits for randomSettings Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> --------- Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
…uts (opensearch-project#10528) * making leader check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * making follower check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing existing unit tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for leader/follower check timeout Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * setting maximum and minimum timeout value for leader/follower checker Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for checking boundary cases Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * changed the log file and added other suggested changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Addressing review comments Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * addressing proposed changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing flakiness for existing tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing the timeout value limits for randomSettings Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> --------- Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com>
…uts (opensearch-project#10528) * making leader check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * making follower check timeout dynamic Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing existing unit tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for leader/follower check timeout Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * setting maximum and minimum timeout value for leader/follower checker Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * adding tests for checking boundary cases Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * changed the log file and added other suggested changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * fixing checkstyle violations Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Addressing review comments Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * addressing proposed changes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing flakiness for existing tests Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Applying checkstyle fixes Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> * Fixing the timeout value limits for randomSettings Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> --------- Signed-off-by: Niyati Aggarwal <niyatiagg4641@gmail.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
Adding support for dynamically updating Leader/follower checker timeouts
Related Issues
Resolves #10377
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.