aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/needle_map_metric.go
AgeCommit message (Collapse)AuthorFilesLines
2024-11-21ReadAt may return io.EOF t end of filechrislu1-1/+5
related to https://github.com/seaweedfs/seaweedfs/issues/6219
2022-08-23optimiz commitig compact (#3388)Guo Lei1-3/+8
* 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-23fix deletecount bug (#3499)Guo Lei1-2/+7
2022-08-20volume: file counter should be all fileschrislu1-3/+2
address https://github.com/seaweedfs/seaweedfs/pull/3388#issuecomment-1220466228
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-2/+2
2021-08-30fix buildChris Lu1-4/+3
2021-08-29change to a new bloom filter libraryChris Lu1-3/+3
2020-08-18refactoringChris Lu1-3/+3
2020-08-18refactoring to typed SizeChris Lu1-6/+6
Go is amazing with refactoring!
2019-08-14volume: protect against nil needle mapChris Lu1-0/+30
fix @mastak reported nil problem in https://github.com/chrislusf/seaweedfs/issues/1037
2019-06-21ec deletion worksChris Lu1-1/+1
2019-05-21volume: load ec shards during heartbeats to masterChris Lu1-1/+2
2019-04-22fix metrics1.32Chris Lu1-8/+8
fix https://github.com/chrislusf/seaweedfs/issues/935
2019-04-19fix needle map entry sizeChris Lu1-6/+6
2019-04-18go fmtChris Lu1-1/+0
2019-04-14fix race detector found problemsChris Lu1-23/+34
2018-07-27go fmtChris Lu1-1/+1
2018-07-24speed up leveldb bolddb loadingChris Lu1-8/+23
2018-07-21go fmtChris Lu1-2/+2
2018-07-08refactoring: add type for needle id, offsetChris Lu1-18/+17
later the type size can possibly be adjusted
2018-07-07faster loading boltdb or leveldb needle map metrics by bloomfilterChris Lu1-0/+107
avoid btree