seaweedfs/weed/storage
Guo Lei c57c79a0ab
optimiz commitig compact (#3388)
* optimiz vacuuming volume

* fix bugx

* rename parameters

* fix conflict

* change copyDataBasedOnIndexFile to an instance method

* close needlemap

* optimiz commiting Vacuum volume for  leveldb index

* fix bugs

* fix leveldb loading bugs

* refactor

* fix leveldb loading bug

* add leveldb recovery

* add test case for levelDB

* modify test case to cover all the new branches

* use one tmpNm instead of two instances

* refactor

* refactor

* move setWatermark to the end

* add test for watermark and updating leveldb

* fix error logic

* refactor, add test

* check nil before close needlemapeer
add test case
fix metric bug

* add tests, fix bugs

* adjust log level
remove wrong test case
refactor

* avoid duplicate  updating metric for leveldb index
2022-08-23 23:53:35 -07:00
..
backend Revert "Refactor for Sync method (#3426)" 2022-08-15 15:35:31 -07:00
erasure_coding move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
idx move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
needle move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
needle_map move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
super_block move proto package 2022-08-17 12:05:07 -07:00
types move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_info also migrate jsonpb 2022-08-17 12:42:03 -07:00
disk_location.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
disk_location_ec.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
needle_map.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
needle_map_leveldb.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
needle_map_memory.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07: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 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
store.go s3: remove deleted collection during metrics reporting 2022-08-18 02:39:07 -07:00
store_ec.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
store_ec_delete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
store_vacuum.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07: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 optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
volume_read.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_read_all.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_stream_write.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_super_block.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_tier.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_vacuum.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
volume_vacuum_test.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
volume_write.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_write_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00