James Hartig
3ccfa4c6ad
Added VolumeMarkWritable and VolumeStatus grpc methods
This is necessary for copy to mark as read-only and then restore the
original state afterwards.
4 years ago
Chris Lu
ed0acd1722
go fmt
5 years ago
Chris Lu
40ae533fa3
shell: add volume.configure.replication to change replication for a volume
fix https://github.com/chrislusf/seaweedfs/issues/1192
5 years ago
Chris Lu
09ca936c78
shell: add ec.decode command
5 years ago
Chris Lu
f61de28c69
volume: add deletion capability for previously readonly volumes
5 years ago
Chris Lu
10bd3c6b4b
refactoring
5 years ago
Chris Lu
f60154f330
master load backend storage config from master.toml
5 years ago
Chris Lu
85f8649320
refactor memory mapped file into backend storage
5 years ago
Chris Lu
4b5ba4927f
adjust NewDiskFile() paramaters
5 years ago
Chris Lu
19b6a16003
changed from os.file to backend.DataStorageBackend
5 years ago
Chris Lu
7a51a9a582
refactor: simplifying to ReadAt() and WriteAt()
5 years ago
Chris Lu
46ed2ca902
refactoring
5 years ago
Chris Lu
fec07c829d
go fmt
5 years ago
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
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
63acc8c972
rename mem_buffer to mBuffer
5 years ago
j.laycock
cc756ddd79
Rename End_of_file variable, implement platform indepenent memory_map.go
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
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
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
3b3651dea3
volume: atomic copying file, adds version and stopOffset
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
4f317c7e3d
working version3
7 years ago
Chris Lu
233a9a9b6c
fix log error
7 years ago
Chris Lu
49f4216280
fix compilation error
7 years ago
Chris Lu
7f6500ae07
super block reserves a couple of bits for future extension
7 years ago
Chris Lu
f339e9c284
add support for extra super block info
7 years ago
Chris Lu
9ba335a7c4
prepare for flexible super block
7 years ago
Chris Lu
eaf000eff1
fix error on go tip
7 years ago
brstgt
4fb5bb09b6
Remove obsolete property Volume.dataFileSize
8 years ago
Chris Lu
13e7069eb9
keep track of total data file size
8 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
chrislusf
b39c384d6d
Revert "Merge pull request #284 from thinxer/binary"
This reverts commit 3523ad5239
, reversing
changes made to 5d100994b1
.
9 years ago
Jianfei Wang
18254d9aae
replace util/bytes.go with binary.BigEndian
9 years ago
chrislusf
5d100994b1
Revert "Merge pull request #281 from thinxer/binary"
This reverts commit a87fe8ffce
, reversing
changes made to 6876bfa685
.
9 years ago
Jianfei Wang
7bc10d46e3
replace util/bytes.go with binary.BigEndian
9 years ago
chrislusf
dac3b592ed
Add compact revision in volume super block
10 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
Chris Lu
af416189f1
Cleanup error printing.
10 years ago
Brian McQueen
d56c748fa8
switch it back to chris's repo
10 years ago
Brian McQueen
c0dfdf4392
switch to my forked repo
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
Chris Lu
b9aee2defb
add TTL support
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading
10 years ago
Chris Lu
69343c5951
adding ttl field to volume super block
10 years ago
Chris Lu
4c58cef24a
a bit refactoring to prepare for volume format change and backward
compatibility.
10 years ago