1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-05 16:47:04 +02:00
seaweedfs/weed
Patrick Schmidt f49a9297c2
Fix hanging reads in chunk cacher (#3473)
Sometimes when an unexpected error occurs the cacher would set an
error and return. However, it would not broadcast the condition
signal in that case, therefore leaving the goroutine that runs
readChunkAt stuck forever.
I figured that the condition is unnecessary because readChunkAt is
acquiring a lock that is still held by the cacher goroutine anyway.
Callees of startCaching have to wait for a WaitGroup which makes sure
that readChunkAt can't acquire the lock before startCaching.
This way readChunkAt can execute normally and check for the error.
2022-08-21 11:54:02 -07:00
..
cluster move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command refactoring 2022-08-20 22:38:15 -07:00
filer Fix hanging reads in chunk cacher (#3473) 2022-08-21 11:54:02 -07:00
ftpd move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
glog move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
iamapi move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
images move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
mount mount: retryable data chunk uploading 2022-08-20 19:04:36 -07:00
mq also migrate jsonpb 2022-08-17 12:42:03 -07:00
notification also migrate jsonpb 2022-08-17 12:42:03 -07:00
operation adjust log 2022-08-20 23:34:07 -07:00
pb fix tests 2022-08-18 00:15:46 -07:00
query move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
remote_storage move proto package 2022-08-17 12:05:07 -07:00
replication filer sink: retryable data chunk uploading 2022-08-20 19:09:15 -07:00
s3api s3: fix regression on HEAD directory operation 2022-08-18 02:13:58 -07:00
security fix deprecated functions 2022-07-29 01:34:39 -07:00
sequence move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
server adjust type 2022-08-20 22:37:24 -07:00
shell fix tests 2022-08-18 00:15:46 -07:00
static Change filer UI icon from picture to icon font. 2022-04-08 15:07:56 +08:00
stats refactor FilerRequest metrics (#3402) 2022-08-04 01:44:54 -07:00
storage volume: file counter should be all files 2022-08-20 23:35:31 -07:00
topology rand start garbageThreshold and reset metric ReplicaPlacementMismatch (#3396) 2022-08-12 13:11:09 -07:00
util retry for all errors 2022-08-20 23:34:45 -07:00
wdclient remove logs 2022-08-15 01:05:35 -07:00
Makefile debug 2022-08-07 00:55:49 -07:00
weed.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00