seaweedfs/weed/util/chunk_cache
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
..
chunk_cache_in_memory.go chunk cache adds function ReadChunkAt 2022-02-25 21:55:04 -08:00
chunk_cache_on_disk_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
chunk_cache_on_disk.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
chunk_cache.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
on_disk_cache_layer.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00