Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
201c24c110
add locking to volume layout vacuum
6 years ago
Chris Lu
b1daede91b
move volume vacuum to gRpc
6 years ago
Chris Lu
58344980e4
preallocate disk space during compaction also, add cleanup for failed compaction
7 years ago
Chris Lu
2c7dad589d
stop when dn.parent is nil
fix https://github.com/chrislusf/seaweedfs/issues/473
8 years ago
Chris Lu
e767c3ea4f
disable master connection timeout
temporarily disable master connection timeout due to heartbeat
connection timeout
8 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
8 years ago
Chris Lu
96d2f11f81
adjust log
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
Chris Lu
57c85adc53
lock dn.volumes
9 years ago
Chris Lu
3626ec5cf7
do not forget to vacuum if cluster changes
9 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
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
41143b3b78
toughen weedfs clustering, adding synchronizing max volume id among
peers in order to avoid the same volume id being assigned twice
1. moving raft.Server to topology
2. adding max volume id command for raft
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
ef4c2c0d1e
cleaner cluster messages
11 years ago
Chris Lu
3b68711139
support for collections!
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
warnings.
12 years ago
Chris Lu
db8e27be6e
add lots of error checking by GThomas
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
55f2627fcf
testing new directory structure
12 years ago
Chris Lu
ab6fb13ad7
avoid the "src" folder
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
bf9c4ed033
Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48
.
12 years ago
Tamás Gulácsi
5d2a1e8d48
add cmd/dump - a dumper
Walk needed to be added to NeedleMap and CompactMap, to be able to add WalkKeys and WalkValues to volume. This is needed for iterating through all the stored needles in a volume - this was dump's purpose.
12 years ago
Chris Lu
6c8810e4d2
ensure only compatible volume versions are writable
12 years ago
Chris Lu
7e83a75fba
correctly count volumes, to ensure proper capacity management
12 years ago
Chris Lu
e19edccf3a
ensure properly make volume unwritable. Previously passing volumeInfo
reference, causing make wrong volumes unwritable!
12 years ago
Chris Lu
3ef7a34f49
add command line option to control garbage threshold
12 years ago
Chris Lu
94dbe60233
periodically compact volumes
12 years ago
Chris Lu
ccab4217e4
comment change: 3 times of the pulse
12 years ago
Chris Lu
a1bc529db6
lots of fix
1. sending 404 if not found
2. handle node-up/node-down/changing-max/volume-become-full
12 years ago
Chris Lu
fc9f1da143
handle volume server up/down events
12 years ago