2174 Commits (212c64241b44c5149eee835f620734b2e9312faf)

Author SHA1 Message Date
Chris Lu 5e9c65469e volume: skip readonly checking when Destroy() 5 years ago
j.laycock c1a928887a Add some comments/documentation 5 years ago
j.laycock 15a4c91c28 Remove Finalizer 5 years ago
j.laycock 9c9dff7386 Virtual lock memory pages and Set Process Working set size to hint to windows harder not to write pages to disk as much, add finalize function, minor renaming 5 years ago
Chris Lu 02710f9624 refactoring: remove unused functions 5 years ago
Chris Lu 0f861d23a2 avoid nil needle map 5 years ago
Chris Lu 803345e6af remove glide 5 years ago
j.laycock 63acc8c972 rename mem_buffer to mBuffer 5 years ago
j.laycock 44ae041e80 rename more memorymapped variables to memoryMapMaxSizeMB 5 years ago
j.laycock 5885ab67b3 rename volume property MemoryMap to MemoryMapMaxSizeMB 5 years ago
j.laycock 5a6dfb05fc Only use truncate flag when creating non memory map files, rename and use memory map size for reserving max file size 5 years ago
j.laycock f6146d6ad2 use 0 instead of false for max memory flag 5 years ago
j.laycock 4257582db5 Allocate in 16MB chunks, make creation of memory maps always aligned to 16MB chunks 5 years ago
j.laycock 84f2dc3b53 Remove test code 5 years ago
Chris Lu 20d90dea5a filer: avoid hard-coded upload timeout 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 cc756ddd79 Rename End_of_file variable, implement platform indepenent memory_map.go 5 years ago
j.laycock 9aa0859697 Remove inmemory from vaccum stuff 5 years ago
j.laycock de5a7e60a2 remove temp hack 5 years ago
j.laycock cbd0a98fa1 Add InMemory to Volume Grow structure 5 years ago
Chris Lu ee8bcb0c12 remove println 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
Chris Lu 89a0cb2e11 1.43 5 years ago
j.laycock 0123c7a898 Change to max 2GB for now 5 years ago
j.laycock 595a1beff0 Swap imports to use joeslay 5 years ago
Chris Lu 60c9215a00 HCFS: avoid verbose file not found exception stack trace 5 years ago
j.laycock 1e62a2b233 Fix memory not being unmapped 5 years ago
j.laycock 840ccdc35d Refactor to pass memory maps by reference instead of value, fix memory maps not being created properly or written to properly 5 years ago
j.laycock dc50701e7d Overload createFile function, expose File in memory_map struct, delete from memory_map map on delete 5 years ago
j.laycock 523f3a12b3 use Os.File/uintptr instead of windows.Handle in memory map struct 5 years ago
j.laycock 0e5d3b1a70 Move memory_map_windows to new folder, intercept most of the read and write calls to volume dat files 5 years ago
Chris Lu 58168a8c52 volume: truncate dat files when creating 5 years ago
j.laycock 1e89e719b3 Add windows memory map functions to storage package 5 years ago
Chris Lu 35d471a818
Revert "use std encoding lib" 5 years ago
xushuxun 9af9f36b89 volume: read dat files' last modified time no matter dat files are catWrite or readonly 5 years ago
divinerapier e798e4e9c5
use std encoding lib 5 years ago
xushuxun 5904d78bd4 weed backup: add ttl and replication parameter 5 years ago
Chris Lu f9c1cd7370 avoid dead lock from dataFileAccessLock 5 years ago
xushuxun 46ae35cd7e wdclient: clear client cache when failed to connect to master leader 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 6f75df8660 server: fix starting default master list 5 years ago
Chris Lu 0dc43ecdca skip writing content if not modified 5 years ago
Chris Lu b9f6236f8a filer: fix typo 5 years ago
Chris Lu c79274f7eb notes on supported meta data store 5 years ago
Feng Ye fc0498798b Add etcd filestore 5 years ago
Chris Lu ca2b81a944 fix test error 5 years ago
Chris Lu 19360ab10a master: redirect clients to the new leader 5 years ago