We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No
当pika.conf中的max-rsync-parallel-num大于4,slave会在主从复制时coredump。 在slave的rsync client内,固定预留4个waitObject,每个WorkerThread使用一个,如果pika.conf中的该值大于4(WorkerThread数量),WaitObject数组会越界。 另外在master的rsync server内,每个rsyncServerConn也是固定预留4个fileReader, 所以 max-rsync-parallel-num 值域为[1,4]。
解决: 完善参数检查,当max-rsync-parallel-num值非法,自动reset为4
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is this a regression?
No
Description
当pika.conf中的max-rsync-parallel-num大于4,slave会在主从复制时coredump。
在slave的rsync client内,固定预留4个waitObject,每个WorkerThread使用一个,如果pika.conf中的该值大于4(WorkerThread数量),WaitObject数组会越界。
另外在master的rsync server内,每个rsyncServerConn也是固定预留4个fileReader, 所以 max-rsync-parallel-num 值域为[1,4]。
解决:
完善参数检查,当max-rsync-parallel-num值非法,自动reset为4
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
Please provide the version you discovered this bug in (check about page for version information)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: