Skip to content
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

curve-fuse getleader always fails causes stack overflow #1067

Closed
xu-chaojie opened this issue Feb 9, 2022 · 1 comment · Fixed by #1070
Closed

curve-fuse getleader always fails causes stack overflow #1067

xu-chaojie opened this issue Feb 9, 2022 · 1 comment · Fixed by #1070
Assignees
Labels
bug Something isn't working

Comments

@xu-chaojie
Copy link
Member

xu-chaojie commented Feb 9, 2022

Describe the bug (描述bug)

curve-fuse getleader always fails causes stack overflow

To Reproduce (复现方法)

stop all metaserver, and write some things

Expected behavior (期望行为)

curve-fuse stack overflow

Versions (各种版本)
OS:
Compiler:
curve-mds:
curve-chunkserver:
curve-snapshotcloneserver:
curve-sdk:
nebd:
curve-nbd:

Additional context/screenshots (更多上下文/截图)

image

@xu-chaojie
Copy link
Member Author

When getleader always fails, the function 'TaskExcutor::DoAsyncRpcTask' and the function 'TaskExcurorDone:Run' will call each other cyclically, resulting in stack overflow

@xu-chaojie xu-chaojie changed the title curve-fuse getleader always fails causes stack overflow curve-fuse getleader always fails causes stack overflow, Feb 17, 2022
@xu-chaojie xu-chaojie changed the title curve-fuse getleader always fails causes stack overflow, curve-fuse getleader always fails causes stack overflow, When getleader always fails, the function 'TaskExcutor::DoAsyncRpcTask' and the function 'TaskExcurorDone:Run' will call each other cyclically, resulting in stack overflow Feb 17, 2022
@xu-chaojie xu-chaojie changed the title curve-fuse getleader always fails causes stack overflow, When getleader always fails, the function 'TaskExcutor::DoAsyncRpcTask' and the function 'TaskExcurorDone:Run' will call each other cyclically, resulting in stack overflow curve-fuse getleader always fails causes stack overflow:When getleader always fails, the function 'TaskExcutor::DoAsyncRpcTask' and the function 'TaskExcurorDone:Run' will call each other cyclically, resulting in stack overflow Feb 17, 2022
@xu-chaojie xu-chaojie changed the title curve-fuse getleader always fails causes stack overflow:When getleader always fails, the function 'TaskExcutor::DoAsyncRpcTask' and the function 'TaskExcurorDone:Run' will call each other cyclically, resulting in stack overflow curve-fuse getleader always fails causes stack overflow Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant