-
Notifications
You must be signed in to change notification settings - Fork 526
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
open/ read stuck after warmup #1854
Comments
the main loop of s3 sdk was stuck by AsyncRequestInflightBytesThrottle main loop:
|
we need create a queue in s3adapter to handle these retry requests. make throttle check outside the main loop to avoid deadlock |
2 tasks
h0hmj
added a commit
that referenced
this issue
Sep 7, 2022
Signed-off-by: h0hmj <[email protected]>
wuhongsong
pushed a commit
that referenced
this issue
Sep 7, 2022
Signed-off-by: h0hmj <[email protected]>
calling throttle OnStart may deadlock, client code should be rewritten to satisfy the principle of async programming |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug (描述bug)
open/ read stuck after warmup
To Reproduce (复现方法)
mount fs to test5 and test6
1、fio --name=big-file-multi-write-2 --directory=/home/nbs/failover/test5 --rw=write --refill_buffers --bs=1M --size=50G --numjobs=1 --end_fsync=1 -fallocate=none
2、mv big-file-multi-write-2.0.0
3、sudo curve fs warmup add /home/nbs/failover/test6/warmuptest/
4、touch renametest
5、echo 111 > renametest
6、read stuck at test6
Expected behavior (期望行为)
Versions (各种版本)
OS:
Compiler:
branch:
commit id:
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: