seaweedfs/weed/command
Guo Lei 5b905fb2b7
Lazy loading (#3958)
* types packages is imported more than onece

* lazy-loading

* fix bugs

* fix bugs

* fix unit tests

* fix test error

* rename function

* unload ldb after initial startup

* Don't load ldb when starting volume server if ldbtimeout is set.

* remove uncessary unloadldb

* Update weed/command/server.go

Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>

* Update weed/command/volume.go

Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>

Co-authored-by: guol-fnst <goul-fnst@fujitsu.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2022-11-14 00:19:27 -08:00
..
scaffold docs(command): readability fixes (#3686) 2022-09-15 01:33:04 -07:00
autocomplete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
backup.go Lazy loading (#3958) 2022-11-14 00:19:27 -08: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_backup.go [filer.backup] add retention_duration (#3941) 2022-11-04 00:34:40 -07:00
filer_cat.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_copy.go go fmt 2022-09-14 23:06:44 -07:00
filer_meta_backup.go filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -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_meta_tail.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
filer_remote_gateway_buckets.go refactor 2022-09-11 21:53:15 -07:00
filer_remote_gateway.go filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
filer_remote_sync_dir.go fix delete key panic of remote sync dir (#3770) 2022-10-01 02:33:47 -07:00
filer_remote_sync.go simplify a bit 2022-09-10 14:18:28 -07:00
filer_replication.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -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
filer_sync.go go fmt 2022-09-14 23:06:44 -07:00
filer.go refactor(various): Listner -> Listener readability improvements (#3672) 2022-09-14 11:59:55 -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 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
imports.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
master_follower.go refactor(various): Listner -> Listener readability improvements (#3672) 2022-09-14 11:59:55 -07:00
master.go master fix interruption through ctrl+c (#3834) 2022-10-12 07:18:40 -07: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 mount: accept all extra mount options 2022-09-30 08:40:37 -07:00
mount.go mount: accept all extra mount options 2022-09-30 08:40:37 -07:00
mq_broker.go wip note 2022-07-30 09:36:27 -07:00
s3.go refactor(various): Listner -> Listener readability improvements (#3672) 2022-09-14 11:59:55 -07:00
scaffold_test.go fix test 2019-11-28 18:44:27 -08:00
scaffold.go docs(command): readability fixes (#3686) 2022-09-15 01:33:04 -07:00
server.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
shell.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
update_full.go go fmt 2022-09-14 23:06:44 -07:00
update.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_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
webdav.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00