seaweedfs/weed/server
Sébastien 0775d05a23
fix: http range request return status 500 (#5251)
When volume server unavailable for at least one chunk; was returning status 206.

Split `StreamContent` in two parts,
- first prepare, to get chunk info and return stream function
- then write chunk, with that stream function

That allow to catch error in first step before setting response status code in `processRangeRequest`
2024-01-29 10:35:52 -08:00
..
constants fix: skipping checking active volumes with the same number of files at the moment (#4893) 2023-10-09 09:57:26 -07:00
filer_ui [filer] Fix uri escape during renaming (#4039) 2022-12-07 07:47:40 -08:00
master_ui move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_server_ui move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
common_test.go jwt check the base file id 2019-03-03 10:17:44 -08:00
common.go fix: http range request return status 500 (#5251) 2024-01-29 10:35:52 -08:00
filer_grpc_server_admin.go Implement SRV lookups for filer (#4767) 2023-08-24 07:08:56 -07:00
filer_grpc_server_dlm.go merge some previous missing changes 2023-09-19 14:10:54 -07:00
filer_grpc_server_kv.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_grpc_server_remote.go fix chunk.ModifiedTsNs (#4264) 2023-03-02 08:24:36 -08:00
filer_grpc_server_rename.go fix: disallow file name too long when writing a file (#4881) 2023-10-12 14:29:55 -07:00
filer_grpc_server_sub_meta.go disconnect from old subscribers 2023-10-13 16:48:14 -07:00
filer_grpc_server.go fix: disallow file name too long when writing a file (#4881) 2023-10-12 14:29:55 -07:00
filer_server_handlers_proxy.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_server_handlers_read_dir.go chore: add status code for request_total metrics (#5188) 2024-01-10 10:05:27 -08:00
filer_server_handlers_read.go fix: http range request return status 500 (#5251) 2024-01-29 10:35:52 -08:00
filer_server_handlers_tagging.go fix: disallow file name too long when writing a file (#4881) 2023-10-12 14:29:55 -07:00
filer_server_handlers_write_autochunk.go Update filer_server_handlers_write_autochunk.go 2023-11-20 11:17:14 -08:00
filer_server_handlers_write_cipher.go fix: disallow file name too long when writing a file (#4881) 2023-10-12 14:29:55 -07:00
filer_server_handlers_write_merge.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_server_handlers_write_upload.go chore: add status code for request_total metrics (#5188) 2024-01-10 10:05:27 -08:00
filer_server_handlers_write.go chore: add status code for request_total metrics (#5188) 2024-01-10 10:05:27 -08:00
filer_server_handlers.go chore: filer healthz handler check filer store (#5208) 2024-01-17 07:46:37 -08:00
filer_server_rocksdb.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_server.go chore: filer healthz handler check filer store (#5208) 2024-01-17 07:46:37 -08:00
master_grpc_server_admin.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
master_grpc_server_assign.go create volume grow request if the selected volume is close to full 2023-12-27 11:45:44 -08:00
master_grpc_server_cluster.go remove unused cluster node leader 2023-06-19 18:19:13 -07:00
master_grpc_server_collection.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
master_grpc_server_raft.go show raft leader via shell (#3796) 2022-10-06 07:10:41 -07:00
master_grpc_server_volume.go same logic as grpc assign 2024-01-23 19:39:59 -08:00
master_grpc_server.go chore: add status code for request_total metrics (#5188) 2024-01-10 10:05:27 -08:00
master_server_handlers_admin.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
master_server_handlers_ui.go Add raft server access mutex to avoid races (#3503) 2022-08-24 09:49:05 -07:00
master_server_handlers.go same logic as grpc assign 2024-01-23 19:39:59 -08:00
master_server.go Implement SRV lookups for filer (#4767) 2023-08-24 07:08:56 -07:00
raft_hashicorp.go add validate config for raft (#4332) 2023-03-21 06:36:13 -07:00
raft_server_handlers.go avoid logging nil error (#4659) 2023-07-10 23:38:52 -07:00
raft_server.go update raft version 2023-05-09 22:54:23 -07:00
volume_grpc_admin.go fix: skipping checking active volumes with the same number of files at the moment (#4893) 2023-10-09 09:57:26 -07:00
volume_grpc_batch_delete.go fix has changes false if deleted result size eq zero (#4909) 2023-10-12 08:15:20 -07:00
volume_grpc_client_to_master.go use time.NewTicker instead of time.Tick. (#4119) 2023-01-09 06:47:08 -08:00
volume_grpc_copy_incremental.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_grpc_copy.go fix copying .vif file in VolumeCopy (#4943) 2023-10-24 09:54:24 -07:00
volume_grpc_erasure_coding.go compilation fail (#4414) 2023-04-18 00:36:55 -07:00
volume_grpc_query.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_grpc_read_all.go weed/server: remove unneeded err from streamReadOneVolume() signature (#5143) 2023-12-28 11:45:13 -08:00
volume_grpc_read_write.go ADHOC: volume fsck using append at ns (#3906) 2022-10-24 22:09:38 -07:00
volume_grpc_remote.go fix error reporting 2023-11-05 07:17:16 -08:00
volume_grpc_tail.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_grpc_tier_download.go avoid load volume file with BytesOffset mismatch (#3841) 2022-10-14 00:18:09 -07:00
volume_grpc_tier_upload.go avoid load volume file with BytesOffset mismatch (#3841) 2022-10-14 00:18:09 -07:00
volume_grpc_vacuum.go Fix no more writable volumes by delay judgment (#4548) 2023-06-05 10:17:21 -07:00
volume_server_handlers_admin.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_server_handlers_helper.go directory structure change to work with glide 2016-06-02 18:09:14 -07:00
volume_server_handlers_read.go fix: http range request return status 500 (#5251) 2024-01-29 10:35:52 -08:00
volume_server_handlers_ui.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_server_handlers_write.go volume:fix return if Replicate write error (#4188) 2023-02-06 22:34:56 -08:00
volume_server_handlers.go chore: add status code for request_total metrics (#5188) 2024-01-10 10:05:27 -08:00
volume_server.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
webdav_server.go chore: add maxMB option for webdav (#5165) 2024-01-05 11:10:20 -08:00
wrapped_webdav_fs.go fix: return etag with md5 in webdav responses (#5158) 2024-01-03 08:50:32 -08:00