- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.3k
[Pull-based Ingestion] Fix ingestion pause state initialization on replica promotion #19212
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
Conversation
73456b3    to
    b837a39      
    Compare
  
    | ❌ Gradle check result for b837a39: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? | 
b837a39    to
    1898a82      
    Compare
  
    | ❌ Gradle check result for 1898a82: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? | 
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.
thx for the fix
1898a82    to
    228b3d9      
    Compare
  
    | ❌ Gradle check result for 228b3d9: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? | 
Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
228b3d9    to
    7b285a5      
    Compare
  
    | Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@             Coverage Diff              @@
##               main   #19212      +/-   ##
============================================
+ Coverage     72.87%   72.89%   +0.02%     
- Complexity    69698    69708      +10     
============================================
  Files          5656     5656              
  Lines        319999   320000       +1     
  Branches      46335    46336       +1     
============================================
+ Hits         233207   233278      +71     
+ Misses        67946    67889      -57     
+ Partials      18846    18833      -13     ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
 | 
…arch-project#19212) Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
…arch-project#19212) Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
…arch-project#19212) Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
…arch-project#19212) Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
…arch-project#19212) Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
…arch-project#19212) Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
Description
Ingestion state was persisted in the cluster state on calling Pause API but the poller was not considering this on replica promotion. Initialize the poller state correctly by considering the initial state passed by the engine. This should avoid the pollers resuming ingestion on replica promotion, and also fix flaky tests.
Related Issues
Resolves #17693
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.