-
Notifications
You must be signed in to change notification settings - Fork 653
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
Add scoped RDB loading context and immediate abort flag #1173
base: unstable
Are you sure you want to change the base?
Commits on Oct 29, 2024
-
Add ASAP abort flag to provisional primary for safer replication disc…
…onnection handling Introduces a dedicated flag in provisional primary struct to signal immediate abort, preventing potential use-after-free scenarios during replication disconnection in dual-channel load. This ensures proper termination of rdbLoadRioWithLoadingCtx when replication is cancelled due to connection loss on main connection. Fixes valkey-io#1152 Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dec88f0 - Browse repository at this point
Copy the full SHA dec88f0View commit details -
Signed-off-by: Madelyn Olson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61ab0a5 - Browse repository at this point
Copy the full SHA 61ab0a5View commit details -
Consistently reproduce crash and improve test reliability
- Add test to consistently reproduce rdb load callback crash - Avoid checking close_asap when no data was processed Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4997941 - Browse repository at this point
Copy the full SHA 4997941View commit details -
Revert "Add ASAP abort flag to provisional primary for safer replicat…
…ion disconnection handling" This reverts commit b873d41. Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f89b716 - Browse repository at this point
Copy the full SHA f89b716View commit details -
Add scoped RDB loading context
This commit introduces a new mechanism for temporarily changing the server's loading_rio context during RDB loading operations. The new RDB_SCOPED_LOADING_RIO macro allows for a scoped change of the server.loading_rio value, ensuring that it's automatically restored to its original value when the scope ends. Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9849350 - Browse repository at this point
Copy the full SHA 9849350View commit details -
return 0 on async error during rioWrite (for symmetricality)
Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eba00eb - Browse repository at this point
Copy the full SHA eba00ebView commit details -
Co-authored-by: ranshid <[email protected]> Signed-off-by: Amit Nagler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b82704f - Browse repository at this point
Copy the full SHA b82704fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d8126b - Browse repository at this point
Copy the full SHA 4d8126bView commit details
Commits on Oct 31, 2024
-
Signal rio to be closed asap on connection state change
Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39f0217 - Browse repository at this point
Copy the full SHA 39f0217View commit details -
Test fix- Wait for replica online
Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88466b6 - Browse repository at this point
Copy the full SHA 88466b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36ec221 - Browse repository at this point
Copy the full SHA 36ec221View commit details
Commits on Nov 15, 2024
-
Update tests/integration/dual-channel-replication.tcl
Signed-off-by: Madelyn Olson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0af35e3 - Browse repository at this point
Copy the full SHA 0af35e3View commit details
Commits on Nov 17, 2024
-
Wrapper for rdbLoadRioWithLoadingCtx for scoped RDB
Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd9dca0 - Browse repository at this point
Copy the full SHA cd9dca0View commit details -
Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43b1e22 - Browse repository at this point
Copy the full SHA 43b1e22View commit details -
after resetting rdb-key-save-delay to 0, don't expect to catch the re…
…plica while syncing (only expect it to be eventually connected) Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 612e621 - Browse repository at this point
Copy the full SHA 612e621View commit details
Commits on Nov 18, 2024
-
Signed-off-by: naglera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90cde6b - Browse repository at this point
Copy the full SHA 90cde6bView commit details