105 Commits (7df440e36f38c70473075513ef195e3d80f2c4fb)

Author SHA1 Message Date
j.laycock 5885ab67b3 rename volume property MemoryMap to MemoryMapMaxSizeMB 5 years ago
Tom Maxwell 4a878c0006 Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve 5 years ago
j.laycock 1f01eb78e8 Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct 5 years ago
Tom Maxwell d637d86d22 Changes to try and pass the URL parameters through - in memory flag not working still 5 years ago
j.laycock 9a459d984b Do not vacuum memory mapped files 5 years ago
j.laycock 595a1beff0 Swap imports to use joeslay 5 years ago
Chris Lu d829df4f59 volume: protect against nil needle map 5 years ago
Chris Lu e40634e6b4 volume: fail the volume deletion if compaction is in progress 5 years ago
Chris Lu f3b99cbfe5 fix wrong alignment fix 6 years ago
Chris Lu 644c5c27b4 refactoring 6 years ago
Chris Lu 33b3366043 volume: avoid compacting wait group 6 years ago
Chris Lu a7b1b23c58 fix wrong volume count 6 years ago
Chris Lu 115558e5f5 adjust counters 6 years ago
Chris Lu 289fd7eb39 count number of volumes and ec shards 6 years ago
Chris Lu 17ac1290c0 volume: load ec shards during heartbeats to master 6 years ago
Chris Lu cf58fc0e63 refactor: extract out the write throttler 6 years ago
Chris Lu b335f81a4f volume: add option to limit compaction speed 6 years ago
Chris Lu 3b3651dea3 volume: atomic copying file, adds version and stopOffset 6 years ago
Chris Lu ac2727853f fix needle map entry size 6 years ago
Chris Lu e5506152c0 refactoring 6 years ago
Chris Lu 000ee725fc refactor Offset into a struct of bytes 6 years ago
Chris Lu df95ce0b6c weed backup: efficient delta backup 6 years ago
Chris Lu 70815e9124 WIP 6 years ago
Chris Lu da871896c3 weed filer: set grpc port to port + 10000 6 years ago
Chris Lu 916b809c08 add error checking 6 years ago
bingoohuang ab6be025d7 go fmt and fix some typo 6 years ago
bingoohuang 6ddfaf33cb extract VolumeFileScanner for ScanVolumeFile 6 years ago
Chris Lu 9383c91eb1 wait to read again if the volume is compacting 6 years ago
Chris Lu 1478d7ea21 reduce file seek when writing 6 years ago
Chris Lu f050b22d6c close file in ScanVolumeFile() 6 years ago
Chris Lu 496a7398d1 adjust logging 6 years ago
Chris Lu 333709657c adjust log level 6 years ago
Chris Lu a362261972 avoid possible racing issue if leveldb or boltdb is used. 6 years ago
Chris Lu ea8ecf35f4 set needle AppendAtNs value during writes 7 years ago
Chris Lu 4f317c7e3d working version3 7 years ago
Chris Lu 7e2031b18f go fmt 7 years ago
Chris Lu d4d7ced922 refactoring: add type for needle id, offset 7 years ago
Chris Lu defcd4edc5 adjust log level 7 years ago
Chris Lu 9bcaa65574 avoid divided by 0 7 years ago
Chris Lu 9ba335a7c4 prepare for flexible super block 7 years ago
Chris Lu 7f7e4e9885 fix error for deleted files during compaction 7 years ago
Chris Lu 58344980e4 preallocate disk space during compaction also, add cleanup for failed compaction 7 years ago
Chris Lu 5047bdb4a2 skip bytes cache 8 years ago
Chris Lu 82c3ccc8dd add btree for volume index 8 years ago
brstgt 4fb5bb09b6 Remove obsolete property Volume.dataFileSize 8 years ago
Chris Lu ed44f12f6d support Fallocate on linux 8 years ago
Chris Lu 13e7069eb9 keep track of total data file size 8 years ago
霍晓栋 ce1f7ab662 makediff func with UT case 8 years ago
霍晓栋 ed848425c7 supplemental data between compacting and commit compacting 8 years ago
Chris Lu dffad65f2f fix compilation 8 years ago