aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_vacuum.go
AgeCommit message (Collapse)AuthorFilesLines
2025-06-19pass volume version when creating a volumechrislu1-1/+1
2024-08-18prevent compacting on the same volumechrislu1-0/+12
2024-05-12fix: recreate index include deleted files (#5579)Konstantin Lebedev1-12/+14
* fix: recreate index include deleted files https://github.com/seaweedfs/seaweedfs/issues/5508 * fix: counting the number of files * fix: log
2024-04-17rename VolumeServerVolumeGauge (#5504)steve.wei1-1/+1
2024-02-24avoid unexpected compact size (#5272)Konstantin Lebedev1-2/+18
https://github.com/seaweedfs/seaweedfs/issues/5215
2023-10-03Revert "Revert "Revert "Add disk type to prometheus metrics" (#4777)""chrislu1-1/+1
This reverts commit 567d78892860f87c207beb56a3323b4b9e90dfc9.
2023-10-02Revert "Revert "Add disk type to prometheus metrics" (#4777)"chrislu1-1/+1
This reverts commit 9215ba24be0aec0c5804927cc73613560e57cbc0.
2022-10-13vacuum metrics and force sync dst files (#3832)Konstantin Lebedev1-10/+15
2022-10-12types packages is imported more than onece (#3838)Guo Lei1-2/+1
2022-10-11Optimiz leveldb metric (#3830)Guo Lei1-9/+1
* optimiz updating mapmetric for leveldb * import loading leveldb * add comments
2022-09-16refactor(storage): readability improvements (#3703)Ryan Russell1-1/+1
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-08-23optimiz commitig compact (#3388)Guo Lei1-8/+64
* 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-01Merge branch 'master' into gentle_vacuumKonstantin Lebedev1-9/+9
# Conflicts: # weed/pb/messaging_pb/messaging.pb.go # weed/pb/messaging_pb/messaging_grpc.pb.go # weed/pb/s3_pb/s3.pb.go # weed/pb/volume_server_pb/volume_server.pb.go # weed/server/volume_grpc_vacuum.go
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-9/+9
2022-07-29vacuum show LAKonstantin Lebedev1-1/+9
2022-07-25correct commentguosj1-1/+1
2022-06-30also remove Sync() for idx filechrislu1-3/+0
2022-05-29volume: report error if a volume has nil data backendchrislu1-0/+3
fix https://github.com/chrislusf/seaweedfs/issues/3105
2022-04-26use two flags: v.isCompacting and v.isCommitCompactingchrislu1-2/+2
2022-04-18shell vacuum volume by collection and volume idKonstantin Lebedev1-2/+1
2022-02-24Merge pull request #2704 from guo-sj/fix_bugs_in_return_valueChris Lu1-1/+1
fix return value in storage/volume_vacuum.go:444
2022-02-24fix return value in storage/volume_vacuum.go:444guosj1-1/+1
2022-02-23fix error handlingchrislu1-5/+6
2022-02-23fix another return value bugguosj1-3/+3
2022-02-23fix bugs in return valueguosj1-3/+3
2022-02-08updated needle with fsyncKonstantin Lebedev1-0/+9
2021-10-24volume vacuum: avoid timeout with streaming progress reportChris Lu1-3/+11
fix https://github.com/chrislusf/seaweedfs/issues/2396
2021-05-15skip file not found error when deletingChris Lu1-2/+2
2021-03-05volume server: support tcp direct put/get/deleteChris Lu1-1/+1
2021-02-20disk file avoid file.Stat()Chris Lu1-1/+1
2021-02-07fix typo offset.ToAcutalOffset to offset.ToActualOffsetbingoohuang1-5/+5
2020-12-01file open errorChris Lu1-2/+2
2020-12-01return file open errorChris Lu1-0/+6
2020-11-27volume: add "-dir.idx" option for separate index storageChris Lu1-16/+14
fix https://github.com/chrislusf/seaweedfs/issues/1265
2020-09-12do not idx file formatChris Lu1-2/+2
revert c9ab8d05fa9b425352ce978b5c5b5b0d71d787ad
2020-09-10fixes for reading deleted fidChris Lu1-2/+2
2020-08-18refactoringChris Lu1-2/+2
2020-08-18refactoringChris Lu1-1/+1
2020-08-18refactoring to typed SizeChris Lu1-1/+1
Go is amazing with refactoring!
2020-04-27printout errorChris Lu1-2/+2
2020-04-11refactoringChris Lu1-2/+2
2020-04-11rename functionChris Lu1-2/+2
2020-03-20idx file sync before compactionChris Lu1-4/+7
2020-03-19volume: sync volume file right before compactionChris Lu1-0/+9
fix https://github.com/chrislusf/seaweedfs/issues/1237
2020-03-11volume: follow compactionBytePerSecondChris Lu1-4/+8
related to https://github.com/chrislusf/seaweedfs/issues/1108
2020-03-10ensure error checking on windowsChris Lu1-3/+9
2020-03-10release file handleChris Lu1-0/+1
2020-03-10volume: fix memory leakChris Lu1-0/+3
2020-02-27delete old file first on windowsChris Lu1-0/+5
fix https://github.com/chrislusf/seaweedfs/issues/1210
2020-02-27avoid nil DataBackendChris Lu1-2/+4