seaweedfs/weed/filer
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
..
abstract_sql move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
arangodb move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
cassandra move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
elastic/v7 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
etcd move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
hbase move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
leveldb move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
leveldb2 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
leveldb3 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
mongodb move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
mysql move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
mysql2 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
postgres Allow postgresql to use standard environment variables for connection (#3413) 2022-08-07 00:58:53 -07:00
postgres2 Allow postgresql to use standard environment variables for connection (#3413) 2022-08-07 00:58:53 -07:00
redis move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
redis2 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
redis3 move proto package 2022-08-17 12:05:07 -07:00
redis_lua move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
rocksdb move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
sqlite move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
store_test move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
tikv move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
ydb move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
configuration.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
entry.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
entry_codec.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
filechunk_manifest.go remove unused collection and replication from upload result 2022-08-20 18:14:57 -07:00
filechunk_manifest_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filechunks.go filer.sync: fix synchronization logic in active-active mode 2022-08-01 00:06:18 -07:00
filechunks2_test.go filer.sync: fix synchronization logic in active-active mode 2022-08-01 00:06:18 -07:00
filechunks_read.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filechunks_read_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filechunks_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_buckets.go filer: remove replication, collection, disk_type info from entry metadata 2022-06-06 00:39:35 -07:00
filer_conf.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
filer_conf_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_delete_entry.go Revert "rename: delete source entry metadata only, skipping hard links" 2022-07-31 22:51:41 -07:00
filer_deletion.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_hardlink.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_notify.go move proto package 2022-08-17 12:05:07 -07:00
filer_notify_append.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_notify_test.go fix redundant type from array (#3462) 2022-08-18 02:25:25 -07:00
filer_on_meta_event.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_rename.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_search.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filerstore.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filerstore_hardlink.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filerstore_translate_path.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filerstore_wrapper.go Revert "rename: delete source entry metadata only, skipping hard links" 2022-07-31 22:51:41 -07:00
meta_aggregator.go move proto package 2022-08-17 12:05:07 -07:00
meta_replay.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
read_remote.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
read_write.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
reader_at.go minor 2022-08-21 11:49:29 -07:00
reader_at_test.go Fix FUSE server buffer leaks in file gaps (#3472) 2022-08-21 11:33:58 -07:00
reader_cache.go Fix hanging reads in chunk cacher (#3473) 2022-08-21 11:54:02 -07:00
reader_pattern.go quicker to adapt to pattern change 2022-08-07 10:14:01 -07:00
remote_mapping.go move proto package 2022-08-17 12:05:07 -07:00
remote_storage.go move proto package 2022-08-17 12:05:07 -07:00
remote_storage_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3iam_conf.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
s3iam_conf_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
stream.go less verbose log 2022-08-15 10:03:52 -07:00
topics.go rename filer2 to filer 2020-09-01 00:21:19 -07:00