seaweedfs/weed/command
柏杰 0b0fb9b9e4
avoid data race read volume.IsEmpty (#4574)
* avoid data race read volume.IsEmpty

-   avoid phantom read isEmpty for onlyEmpty
-   use `v.DataBackend.GetStat()` in v.dataFileAccessLock scope

* add Destroy(onlyEmpty: true) test

* add Destroy(onlyEmpty: false) test

* remove unused `IsEmpty()`

* change literal `8` to `SuperBlockSize`
2023-06-14 14:39:58 -07:00
..
scaffold Feat: etcd filer store keys should have customizable prefix (#4484) 2023-05-18 23:08:56 -07:00
autocomplete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
backup.go avoid data race read volume.IsEmpty (#4574) 2023-06-14 14:39:58 -07:00
benchmark.go remove volume server tcp client 2022-10-23 13:15:03 -07:00
command.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
compact.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
download.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
export.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer.go optional https port for s3 (#4482) 2023-06-13 23:58:49 -07:00
filer_backup.go refactoring 2023-03-21 23:01:49 -07:00
filer_cat.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
filer_copy.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
filer_meta_backup.go refactoring 2023-03-21 23:01:49 -07:00
filer_meta_tail.go refactoring 2023-03-21 23:01:49 -07:00
filer_meta_tail_elastic.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_meta_tail_non_elastic.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_remote_gateway.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
filer_remote_gateway_buckets.go adjust error message 2023-05-29 16:45:25 -07:00
filer_remote_sync.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
filer_remote_sync_dir.go refactoring 2023-03-21 23:01:49 -07:00
filer_replication.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_sync.go refactoring 2023-03-21 23:01:49 -07:00
filer_sync_jobs.go [sync] override amz storage class, None to delete (#3639) 2022-09-10 14:15:42 -07:00
filer_sync_std.go go fmt 2021-09-01 02:45:42 -07:00
filer_sync_windows.go filer.backup: escape colon from path on windows 2021-05-29 06:45:27 -07:00
fix.go [fix] add param for ignore error (#3918) 2022-10-28 06:59:39 -07:00
fuse.go Fix mount -t weed with extra options (#3807) 2022-10-08 11:25:19 -07:00
iam.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
imports.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
master.go Fix -raftHashicorp and -raftBootstrap flag propagation. (#4309) 2023-03-15 13:03:20 -07:00
master_follower.go refactor(various): Listner -> Listener readability improvements (#3672) 2022-09-14 11:59:55 -07:00
mount.go adjust help message 2023-01-15 21:28:36 -08:00
mount_darwin.go remove dead code 2022-02-27 03:03:19 -08:00
mount_linux.go add more logs 2022-08-31 23:16:05 -07:00
mount_notsupported.go remove dead code 2022-02-27 03:03:19 -08:00
mount_std.go weed mount default EnableACL,Support chmod chown (#4335) 2023-03-25 04:47:53 -07:00
mq_broker.go wip note 2022-07-30 09:36:27 -07:00
s3.go optional https port for s3 (#4482) 2023-06-13 23:58:49 -07:00
scaffold.go docs(command): readability fixes (#3686) 2022-09-15 01:33:04 -07:00
scaffold_test.go fix test 2019-11-28 18:44:27 -08:00
server.go Fix -raftHashicorp and -raftBootstrap flag propagation. (#4309) 2023-03-15 13:03:20 -07:00
shell.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
update.go Updated the deprecated ioutil dependency (#4239) 2023-02-21 19:47:33 -08:00
update_full.go go fmt 2022-09-14 23:06:44 -07:00
upload.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
version.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume.go [metrics] Add the ability to control bind ip (#4012) 2022-11-24 10:22:59 -08:00
volume_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
webdav.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00