Chris Lu
3e52329cee
Revert "Merge pull request #1479 from LIBA-S/fix_oversized"
This reverts commit bd11f0b3e4
, reversing
changes made to ec5b9f1e91
.
4 years ago
LIBA-S
8573ac82c6
Fix: remove the oversized state after compaction
4 years ago
James Hartig
eae3f27c80
Added treat_replication_as_minimums master toml option
5 years ago
Chris Lu
c3cb6fa1d7
volume: compaction can cause readonly volumes
address https://github.com/chrislusf/seaweedfs/issues/1233
5 years ago
Chris Lu
4ce23e8809
fix compilation error
5 years ago
Chris Lu
c90eb0da1f
volume: handling readonly volumes after compaction
ensure readonly volumes are not added as writable
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
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
ebe94be1a1
maintain layout correctness when changing volumes
6 years ago
Chris Lu
316bd27f75
add remove volumes with version info
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
bingoohuang
ab6be025d7
go fmt and fix some typo
6 years ago
Chris Lu
d67f7ddfaf
adjust log
6 years ago
Chris Lu
871dee4674
fix test
6 years ago
Chris Lu
444dfded84
add fs.FSStatfser for SeaweedFS weed mount
6 years ago
Chris Lu
d64546c791
adjust logs
6 years ago
Chris Lu
f7afa80250
also remove volumeLayout if collection is empty
7 years ago
Chris Lu
b3513d3167
skip only readonly volumes
fix https://github.com/chrislusf/seaweedfs/issues/405
8 years ago
霍晓栋
f04d8fcbcc
if replicated volume has one copy in readonly mode at one node,it should be removed from writable list
8 years ago
霍晓栋
52e55508da
deleted index entry could not point to deleted needle
9 years ago
霍晓栋
09bd3d015d
deleted index entry could not point to deleted needle
9 years ago
霍晓栋
079fdbad13
fix volume_layout bug, add new feature for volume etag write,filer pass through query params'
9 years ago
Chris Lu
b617b13c43
remember oversized volumes
fix https://github.com/chrislusf/seaweedfs/issues/331
9 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
95e0d2f1b2
make VolumeLayout thread safe
9 years ago
chrislusf
3afa3bea73
Adjust log message
10 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
3ece066700
change count to uint64 to fix #109
fix https://github.com/chrislusf/weed-fs/issues/109
10 years ago
chrislusf
b07d81fb08
follow golint suggestions
10 years ago
yanyiwu
cacfc85869
add some String() to make codes easier to read and debug
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
3b5035c468
1. v0.54
2. go vet found many printing format errors
11 years ago
Chris Lu
f7f582ec86
1. refactoring, merge "replication" logic into "topology" package
2. when growing volumes, additional preferred "rack" and "dataNode"
paraemters are also provided. Previously only "dataCenter" paraemter is
provided.
11 years ago
Chris Lu
2861275fb6
working filer server!
11 years ago
Chris Lu
0563773944
switch to ReadAt() for thread-safe read
fix bugs during volume compaction
11 years ago
Chris Lu
cd10c277b2
can now delete a collection! Is this a dangerous feature? Only enabling
deleting "benchmark" collections for now.
11 years ago
Chris Lu
27c74a7e66
Major:
change replication_type to ReplicaPlacement, hopefully cleaner code
works for 9 possible ReplicaPlacement
xyz
x : number of copies on other data centers
y : number of copies on other racks
z : number of copies on current rack
x y z each can be 0,1,2
Minor:
weed server "-mdir" default to "-dir" if empty
11 years ago
Chris Lu
8f0e2f31af
remove unused parameter pulse
11 years ago
Chris Lu
a74978baeb
ensure unwritable volumes are not in writables list
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
c2a6012ba5
avoid verbose log message when some volumes are full
12 years ago
Chris Lu
dd2245956f
better locking to prevent any possible memory access error
12 years ago
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
warnings.
12 years ago
Chris Lu
50269b74ce
add dataCenter option when assign file keys
add dataCenter option when starting volume servers
some work related to freeze a volume. Not tested yet.
12 years ago