seaweedfs/weed/storage
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
..
backend vacuum metrics and force sync dst files (#3832) 2022-10-13 00:51:20 -07:00
erasure_coding vacuum metrics and force sync dst files (#3832) 2022-10-13 00:51:20 -07:00
idx ADHOC: Volume fsck use a time cutoff param (#3626) 2022-09-10 15:29:17 -07:00
needle ADHOC: volume fsck using append at ns (#3906) 2022-10-24 22:09:38 -07:00
needle_map [volume.chek.disk] sync of deletions the fix (#3923) 2022-10-30 20:32:46 -07:00
super_block move proto package 2022-08-17 12:05:07 -07:00
types [volume.chek.disk] sync of deletions the fix (#3923) 2022-10-30 20:32:46 -07:00
volume_info avoid load volume file with BytesOffset mismatch (#3841) 2022-10-14 00:18:09 -07:00
disk_location.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
disk_location_ec.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
idx_binary_search_test.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
needle_map.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
needle_map_leveldb.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
needle_map_memory.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
needle_map_metric.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
needle_map_metric_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
needle_map_sorted_file.go avoid data race of TraverseBfs (#3856) 2022-10-16 11:30:41 -07:00
store.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
store_ec.go refactor(storage): readability improvements (#3703) 2022-09-16 02:43:17 -07:00
store_ec_delete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
store_vacuum.go refactor(storage): readability improvements (#3703) 2022-09-16 02:43:17 -07:00
volume.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
volume_backup.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_backup_test.go refactoring 2019-04-17 22:04:49 -07:00
volume_checking.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_info.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_info_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_loading.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
volume_read.go ADHOC: volume fsck using append at ns (#3906) 2022-10-24 22:09:38 -07:00
volume_read_all.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_read_test.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
volume_super_block.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_tier.go avoid load volume file with BytesOffset mismatch (#3841) 2022-10-14 00:18:09 -07:00
volume_vacuum.go vacuum metrics and force sync dst files (#3832) 2022-10-13 00:51:20 -07:00
volume_vacuum_test.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
volume_write.go fix merge 2022-10-23 18:26:22 -07:00
volume_write_test.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00