Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Chris Lu
78e8ddf910
Only when tailing volume, the zero-ed cookie should skip checking.
This only happens when checkCookie == false and fsync == false.
3 years ago
Chris Lu
734c980040
volume: support concurrent download data size limit
3 years ago
Chris Lu
6d30b21b10
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
4 years ago
Chris Lu
3b4b1d4a77
fix tests
4 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
4 years ago
zhangsong
b161baa3f0
fix volume vacuum test unit
5 years ago
Chris Lu
e4af63a721
volume server: accept fsync=true in write requests
5 years ago
Chris Lu
d439d83772
volume: follow compactionBytePerSecond
related to https://github.com/chrislusf/seaweedfs/issues/1108
5 years ago
Chris Lu
efd2f50ede
compaction changed to .idx based deletion
5 years ago
Chris Lu
09ca936c78
shell: add ec.decode command
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
f6146d6ad2
use 0 instead of false for max memory flag
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
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
b335f81a4f
volume: add option to limit compaction speed
6 years ago
Chris Lu
440111a349
volume: support http status 304 for the same file id
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
70815e9124
WIP
6 years ago
Chris Lu
1478d7ea21
reduce file seek when writing
6 years ago
Chris Lu
36d13355bb
compact map fix bug when iterating
6 years ago
Chris Lu
7e2031b18f
go fmt
7 years ago
Chris Lu
5b1fd374be
fix all tests
7 years ago
Chris Lu
defcd4edc5
adjust log level
7 years ago
Chris Lu
f339e9c284
add support for extra super block info
7 years ago
Chris Lu
3a6f9c9bcf
increase test size
7 years ago
Chris Lu
7f7e4e9885
fix error for deleted files during compaction
deletion during commit may cause trouble when make up the difference during commitCompact()
7 years ago
Chris Lu
3699996985
add compaction test
7 years ago
霍晓栋
7d73bbb073
comment UT case
8 years ago
霍晓栋
7d382ba5fe
comment UT case
8 years ago
霍晓栋
ce1f7ab662
makediff func with UT case
8 years ago