-
Notifications
You must be signed in to change notification settings - Fork 702
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDMA MR(memory region) is not forkable, the VMA(virtual memory area) of a MR gets empty in a child process. Prevent IO for child process to avoid server crash. Suggested by Viktor, close connection at current step. To test any possible fork issue for RDMA, run two valkey-server instances. After setting random KV pairs into the main server, run REPLICAOF command in another instance. Fork is called in the main server at any random time, several clients verify KV pairs in the meantime. Suggested-by: Viktor Söderqvist <[email protected]> Signed-off-by: zhenwei pi <[email protected]>
- Loading branch information
Showing
3 changed files
with
105 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters