Chris Lu
|
87e5a02a99
|
fix logic error
|
5 years ago |
Chris Lu
|
09874f0d16
|
volume: return error if superblock is not initialized
fix https://github.com/chrislusf/seaweedfs/issues/1079
|
5 years ago |
j.laycock
|
eb27c2b037
|
Make releaseMemory private and return byte array instead, fix other platform compilation issues, reduce in-memory chunk size.
|
5 years ago |
j.laycock
|
d5f5acb734
|
limit locking physical memory to 80% of max physical memory
|
5 years ago |
j.laycock
|
476140fd6b
|
minor change to setProcessWorkingSetSize function
|
5 years ago |
j.laycock
|
6fc6322c90
|
Change joeslay paths to chrislusf paths
|
5 years ago |
Chris Lu
|
5e9c65469e
|
volume: skip readonly checking when Destroy()
fix https://github.com/chrislusf/seaweedfs/issues/1063
|
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
fix https://github.com/chrislusf/seaweedfs/issues/1061
|
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 |
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
|
de5a7e60a2
|
remove temp hack
|
5 years ago |
j.laycock
|
cbd0a98fa1
|
Add InMemory to Volume Grow structure
|
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
|
0123c7a898
|
Change to max 2GB for now
|
5 years ago |
j.laycock
|
595a1beff0
|
Swap imports to use joeslay
|
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 |
xushuxun
|
9af9f36b89
|
volume: read dat files' last modified time no matter dat files are catWrite or readonly
|
5 years ago |
Chris Lu
|
f9c1cd7370
|
avoid dead lock from dataFileAccessLock
fix https://github.com/chrislusf/seaweedfs/issues/1043
|
5 years ago |
Chris Lu
|
d829df4f59
|
volume: protect against nil needle map
fix @mastak reported nil problem in https://github.com/chrislusf/seaweedfs/issues/1037
|
5 years ago |
Chris Lu
|
e40634e6b4
|
volume: fail the volume deletion if compaction is in progress
fix https://github.com/chrislusf/seaweedfs/issues/1035
|
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
|
fd16adbde1
|
stricter checking before writes
|
6 years ago |
Chris Lu
|
5a135fef87
|
purge old code
|
6 years ago |
Chris Lu
|
c54d9221b9
|
write requests also checks cookie if overwrites
protect against edge cases, avoid https://github.com/chrislusf/seaweedfs/issues/1014
|
6 years ago |
Chris Lu
|
898d943b25
|
refactoring
|
6 years ago |
Chris Lu
|
c33f423955
|
stop early if compaction fails
fix https://github.com/chrislusf/seaweedfs/issues/1015
|
6 years ago |
Chris Lu
|
a7b1b23c58
|
fix wrong volume count
fix https://github.com/chrislusf/seaweedfs/issues/1013
|
6 years ago |
Chris Lu
|
a3d1296ed9
|
go fmt
|
6 years ago |
Chris Lu
|
ec75b2d761
|
volume: fix bug with 8000GB version if using in memory index
fix https://github.com/chrislusf/seaweedfs/issues/994
|
6 years ago |
Chris Lu
|
6883f9e322
|
mark volume readonly before ec encoding
|
6 years ago |