Skip to content

Comments

Deflake "Dual channel replication - psync established within grace period"#2743

Merged
hpatro merged 1 commit intovalkey-io:unstablefrom
roshkhatri:deflake-2694
Oct 17, 2025
Merged

Deflake "Dual channel replication - psync established within grace period"#2743
hpatro merged 1 commit intovalkey-io:unstablefrom
roshkhatri:deflake-2694

Conversation

@roshkhatri
Copy link
Member

@roshkhatri roshkhatri commented Oct 16, 2025

increased the wait time to a total of 10 seconds where we check the log for Done loading RDB message

Fixes #2694

CI run (100 times): https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

@roshkhatri roshkhatri marked this pull request as draft October 16, 2025 22:10
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.61%. Comparing base (981b8fe) to head (850d397).
⚠️ Report is 2 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #2743      +/-   ##
============================================
- Coverage     72.61%   72.61%   -0.01%     
============================================
  Files           128      128              
  Lines         71278    71278              
============================================
- Hits          51759    51758       -1     
- Misses        19519    19520       +1     

see 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@roshkhatri roshkhatri force-pushed the deflake-2694 branch 2 times, most recently from 532f36c to c01ab47 Compare October 16, 2025 22:30
Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
@roshkhatri roshkhatri marked this pull request as ready for review October 16, 2025 22:33
@hpatro
Copy link
Contributor

hpatro commented Oct 17, 2025

Across 100 runs we observed in the worst case, the sync taking 9 seconds to go through. So, waiting for the sync to go through within 10 seconds seems reasonable. We could otherwise reduce the dataset size on the server to make the test run slightly faster.

@hpatro hpatro merged commit 898172b into valkey-io:unstable Oct 17, 2025
55 checks passed
@hpatro hpatro moved this to To be backported in Valkey 9.0 Oct 17, 2025
@hpatro hpatro changed the title Deflake Psync established within grace period Deflake "Dual channel replication - psync established within grace period" Oct 17, 2025
@sarthakaggarwal97
Copy link
Contributor

sarthakaggarwal97 commented Oct 17, 2025

@hpatro adding the PR to 8.1 and 8.0 projects too.

@sarthakaggarwal97 sarthakaggarwal97 moved this to Don't backport yet in Valkey 8.1 Oct 17, 2025
@sarthakaggarwal97 sarthakaggarwal97 moved this from Don't backport yet to To be backported in Valkey 8.1 Oct 17, 2025
@sarthakaggarwal97 sarthakaggarwal97 moved this to To be backported in Valkey 8.0 Oct 17, 2025
cherukum-Amazon pushed a commit to cherukum-Amazon/valkey that referenced this pull request Oct 17, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
(cherry picked from commit 898172b)
Signed-off-by: cherukum-amazon <cherukum@amazon.com>
cherukum-Amazon pushed a commit to cherukum-Amazon/valkey that referenced this pull request Oct 19, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
(cherry picked from commit 898172b)
Signed-off-by: cherukum-amazon <cherukum@amazon.com>
cherukum-Amazon pushed a commit to cherukum-Amazon/valkey that referenced this pull request Oct 21, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
(cherry picked from commit 898172b)
Signed-off-by: cherukum-amazon <cherukum@amazon.com>
diego-ciciani01 pushed a commit to diego-ciciani01/valkey that referenced this pull request Oct 21, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
madolson pushed a commit that referenced this pull request Oct 21, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes #2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
(cherry picked from commit 898172b)
Signed-off-by: cherukum-amazon <cherukum@amazon.com>
@cherukum-Amazon cherukum-Amazon moved this from To be backported to Done in Valkey 9.0 Nov 3, 2025
@roshkhatri roshkhatri deleted the deflake-2694 branch November 11, 2025 20:31
zhijun42 pushed a commit to zhijun42/valkey that referenced this pull request Nov 15, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
zhijun42 pushed a commit to zhijun42/valkey that referenced this pull request Nov 15, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
zuiderkwast pushed a commit to zuiderkwast/placeholderkv that referenced this pull request Dec 3, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
@zuiderkwast zuiderkwast moved this from To be backported to 8.1.5 (not yet released) in Valkey 8.1 Dec 3, 2025
zuiderkwast pushed a commit that referenced this pull request Dec 4, 2025
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes #2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Jan 29, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Jan 29, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Jan 30, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
@roshkhatri roshkhatri moved this from To be backported to 8.0.7 in Valkey 8.0 Jan 30, 2026
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Jan 30, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Feb 4, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Feb 18, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
roshkhatri added a commit to roshkhatri/valkey that referenced this pull request Feb 20, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes valkey-io#2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
madolson pushed a commit that referenced this pull request Feb 24, 2026
increased the wait time to a total of 10 seconds where we check the log
for `Done loading RDB` message

Fixes #2694

CI run (100 times):
https://github.com/roshkhatri/valkey/actions/runs/18576201712/job/52961907806

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 8.0.7 (WIP)
Status: 8.1.5
Status: Done

Development

Successfully merging this pull request may close these issues.

[TEST-FAILURE] Psync established after rdb load - within grace period

3 participants