Chris Lu
|
b8f32bcab9
|
filer: compress stored metadata
|
2020-09-03 11:00:20 -07:00 |
|
Chris Lu
|
f76a2b2c8a
|
printout meta data size
|
2020-09-03 09:51:21 -07:00 |
|
Chris Lu
|
eb7929a971
|
rename filer2 to filer
|
2020-09-01 00:21:19 -07:00 |
|
Chris Lu
|
ca658a97c5
|
add signatures to messages to avoid double processing
|
2020-08-28 23:48:48 -07:00 |
|
Chris Lu
|
707192f966
|
fix help message
|
2020-08-27 00:13:38 -07:00 |
|
Chris Lu
|
d60bcbf08a
|
sorting chunks
|
2020-08-23 00:00:36 -07:00 |
|
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.
|
2020-08-19 11:42:56 -04:00 |
|
Chris Lu
|
c647deace1
|
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
|
2020-08-15 09:32:47 -07:00 |
|
Chris Lu
|
885c624bce
|
volume.fsck: follow manifest chunks
|
2020-07-20 22:02:05 -07:00 |
|
Chris Lu
|
31e23e9783
|
filer: support active<=>active filer replication
|
2020-06-30 22:53:57 -07:00 |
|
Chris Lu
|
ae1994cbc1
|
erasure coding: fix cases where there are no .ecj files
|
2020-06-18 09:52:35 -07:00 |
|
Chris Lu
|
5d3ec22975
|
refactoring
|
2020-05-26 00:03:31 -07:00 |
|
Chris Lu
|
d4235afe4d
|
support multiple locks
|
2020-05-25 18:39:53 -07:00 |
|
Chris Lu
|
8005786d9a
|
logs
|
2020-05-17 20:27:10 -07:00 |
|
Chris Lu
|
75179544c3
|
logging
|
2020-05-17 20:20:21 -07:00 |
|
Chris Lu
|
9e72e9e4b8
|
able to subscribe any topic from any point of time
|
2020-04-29 17:40:08 -07:00 |
|
Chris Lu
|
ed3cf811f5
|
refactoring
|
2020-04-29 13:26:02 -07:00 |
|
Chris Lu
|
508ec01ab0
|
tweaking
|
2020-04-26 16:11:06 -07:00 |
|
Chris Lu
|
662b5d0cf7
|
support semicolon seperated command lines
|
2020-04-23 14:01:46 -07:00 |
|
Chris Lu
|
73564e6a01
|
master: add cluster wide lock/unlock operation in weed shell
fix https://github.com/chrislusf/seaweedfs/issues/1286
|
2020-04-23 13:37:31 -07:00 |
|
Chris Lu
|
57ec7f2ba9
|
fix builds
|
2020-04-23 03:43:45 -07:00 |
|
Chris Lu
|
eab9701823
|
allow lock with an existing lock
|
2020-04-23 03:35:52 -07:00 |
|
Chris Lu
|
842e3301ee
|
make second lock instant
|
2020-04-23 03:32:18 -07:00 |
|
Chris Lu
|
69f336e59f
|
shell: add lock/unlock command
|
2020-04-23 03:11:07 -07:00 |
|
Chris Lu
|
30ee4f3291
|
add exclusive lock library on shell
|
2020-04-23 02:31:04 -07:00 |
|
Chris Lu
|
9f9826e95a
|
refactor
|
2020-04-21 21:28:47 -07:00 |
|
Chris Lu
|
076c8bd3bc
|
filer master start up with default ip address instead of just localhost
|
2020-04-18 15:17:27 -07:00 |
|
Chris Lu
|
8e23dc078b
|
refactoring
|
2020-04-12 20:48:21 -07:00 |
|
Chris Lu
|
91da7057b1
|
refactoring
|
2020-04-05 13:11:43 -07:00 |
|
Chris Lu
|
dcc6b6a3ed
|
go fmt
|
2020-04-05 00:52:31 -07:00 |
|
Chris Lu
|
c981975627
|
volume.fix.replication: add test cases for complicated moving
fix https://github.com/chrislusf/seaweedfs/issues/1253
|
2020-04-02 02:16:16 -07:00 |
|
Chris Lu
|
ae3d08883f
|
volume.fsck: fix for erasure encoded volumes
fix https://github.com/chrislusf/seaweedfs/issues/1254
|
2020-04-01 22:10:13 -07:00 |
|
Chris Lu
|
8d9a76005d
|
add back running output
|
2020-03-26 02:14:48 -07:00 |
|
Chris Lu
|
dd5b582d05
|
go fmt
|
2020-03-26 00:09:01 -07:00 |
|
Chris Lu
|
966df2ae27
|
purging skip EC volumes
|
2020-03-25 02:41:22 -07:00 |
|
Chris Lu
|
6d87a0c5f5
|
batch delete orphan data by file keys
|
2020-03-25 02:21:15 -07:00 |
|
Chris Lu
|
d79f0a76b1
|
format output
|
2020-03-25 00:56:47 -07:00 |
|
Chris Lu
|
d9b56ed88b
|
shell: volume.fsck add options
|
2020-03-24 22:38:36 -07:00 |
|
Chris Lu
|
4d5554b16f
|
fix compilation on travis
|
2020-03-24 18:40:52 -07:00 |
|
Chris Lu
|
d83e648c0b
|
auto add prefix "fs."
|
2020-03-24 02:40:51 -07:00 |
|
Chris Lu
|
a875f67a08
|
fix pwd printout
|
2020-03-24 02:40:29 -07:00 |
|
Chris Lu
|
00d3f01876
|
better output format
|
2020-03-24 02:34:28 -07:00 |
|
Chris Lu
|
0820935290
|
clean up
|
2020-03-24 02:20:37 -07:00 |
|
Chris Lu
|
49440cbd2f
|
shell: add volume.fsck
volume.fsck can find out how much space is not used by the filer
|
2020-03-24 02:18:13 -07:00 |
|
Chris Lu
|
0f10833e0b
|
fix compilation
|
2020-03-24 00:16:12 -07:00 |
|
Chris Lu
|
3794f2721f
|
fix logic
|
2020-03-24 00:09:12 -07:00 |
|
Chris Lu
|
443b229ef7
|
disable chunk file output
|
2020-03-24 00:08:02 -07:00 |
|
Chris Lu
|
bb9b97e2b4
|
add comments
|
2020-03-23 23:07:11 -07:00 |
|
Chris Lu
|
8047ec2f51
|
shell: fs.meta.save add option to export all fileIds for all files
|
2020-03-23 22:54:46 -07:00 |
|
Chris Lu
|
782d776d2a
|
refactoring
|
2020-03-23 22:54:02 -07:00 |
|
Chris Lu
|
38e73463f1
|
fix du block and byte couting
|
2020-03-23 21:37:04 -07:00 |
|
Chris Lu
|
b51fa81f0e
|
fix directory checking
|
2020-03-23 21:36:39 -07:00 |
|
Chris Lu
|
e666aeece2
|
simplify parsing filer host and port
|
2020-03-23 21:26:15 -07:00 |
|
Chris Lu
|
d151185b7e
|
shell: desupport filer url in the arguments
|
2020-03-23 20:46:17 -07:00 |
|
Chris Lu
|
7f1e3c843d
|
refactoring
|
2020-03-23 01:14:21 -07:00 |
|
Chris Lu
|
c0f0fdb3ba
|
refactoring
|
2020-03-23 00:01:34 -07:00 |
|
Chris Lu
|
ae2ee379c0
|
consistent 64bit size
|
2020-03-22 01:37:46 -07:00 |
|
Chris Lu
|
afb20de14c
|
breaks dependency loop
|
2020-03-07 17:01:39 -08:00 |
|
Chris Lu
|
8645283a7b
|
fuse mount: avoid lookup nil entry
fix https://github.com/chrislusf/seaweedfs/issues/1221
|
2020-03-07 16:51:46 -08:00 |
|
Chris Lu
|
f90c43635d
|
refactoring
|
2020-03-04 00:39:47 -08:00 |
|
Chris Lu
|
410bce3925
|
go fmt
|
2020-03-01 22:39:08 -08:00 |
|
Chris Lu
|
6a8484b4ae
|
master able to list all master clients by type
|
2020-03-01 22:13:47 -08:00 |
|
Chris Lu
|
ed0acd1722
|
go fmt
|
2020-02-26 16:52:57 -08:00 |
|
Chris Lu
|
0156e2975a
|
mount: add mode to run external to SeaweedFS container cluster
|
2020-02-26 16:46:01 -08:00 |
|
Chris Lu
|
86cce3eb58
|
fix test
|
2020-02-25 22:29:01 -08:00 |
|
Chris Lu
|
97ab8a1976
|
remove ctx if possible
|
2020-02-25 22:23:59 -08:00 |
|
Chris Lu
|
892e726eb9
|
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
|
2020-02-25 21:50:12 -08:00 |
|
Chris Lu
|
7d10fdf737
|
fix directory lookup nil
|
2020-02-25 11:13:06 -08:00 |
|
Chris Lu
|
e86da5a491
|
minor
|
2020-02-25 00:42:48 -08:00 |
|
Chris Lu
|
0644d63748
|
shell: add commands for bucket
|
2020-02-24 23:30:01 -08:00 |
|
Chris Lu
|
3a1d017de2
|
shell: ensure dc and rack does not change for replicated volumes
fix https://github.com/chrislusf/seaweedfs/issues/1203
|
2020-02-21 21:23:25 -08:00 |
|
Chris Lu
|
40ae533fa3
|
shell: add volume.configure.replication to change replication for a volume
fix https://github.com/chrislusf/seaweedfs/issues/1192
|
2020-02-02 15:37:23 -08:00 |
|
Chris Lu
|
d335f04de6
|
support env variables to overwrite toml file
|
2020-01-29 09:09:55 -08:00 |
|
Chris Lu
|
72a64a5cf8
|
use the same context object in order to retry
|
2020-01-26 14:42:11 -08:00 |
|
Chris Lu
|
c48fc8b4de
|
grpc send error via response instead of grpc error
|
2020-01-25 09:17:19 -08:00 |
|
Chris Lu
|
1b0bfbaf59
|
refactoring
|
2020-01-19 23:59:46 -08:00 |
|
Chris Lu
|
9c139e0601
|
update help message
|
2020-01-01 12:38:29 -08:00 |
|
Chris Lu
|
88a80ab557
|
fix help message
|
2020-01-01 12:37:38 -08:00 |
|
Chris Lu
|
09043c8e5a
|
fs: synchronized meta file writing
fix https://github.com/chrislusf/seaweedfs/issues/1175
|
2019-12-29 20:19:51 -08:00 |
|
Chris Lu
|
37b64a50b4
|
ec: generate and copy .vif file
|
2019-12-28 12:44:59 -08:00 |
|
Chris Lu
|
eecad6062a
|
go fmt
|
2019-12-25 09:56:42 -08:00 |
|
Chris Lu
|
d960b3474a
|
tier storage: support downloading the remote dat files
|
2019-12-25 09:53:13 -08:00 |
|
Chris Lu
|
3ebeae0c0b
|
ec encode distribute ec data and parity shards evenly
|
2019-12-24 16:52:21 -08:00 |
|
Chris Lu
|
1ad34a2487
|
ed.decode prefers servers with most data shards
|
2019-12-24 00:00:45 -08:00 |
|
Chris Lu
|
a18f62bbe7
|
only copy required shards
|
2019-12-23 18:06:13 -08:00 |
|
Chris Lu
|
c7d5a0b00c
|
adjust help message
|
2019-12-23 17:58:47 -08:00 |
|
Chris Lu
|
8a2d529759
|
go fmt
|
2019-12-23 12:48:53 -08:00 |
|
Chris Lu
|
09ca936c78
|
shell: add ec.decode command
|
2019-12-23 12:48:20 -08:00 |
|
Chris Lu
|
dda5c6d3cb
|
fmt
|
2019-12-22 04:31:36 -08:00 |
|
Chris Lu
|
71d55ec5cb
|
adjust help message
|
2019-12-20 08:22:32 -08:00 |
|
Chris Lu
|
d0aa0c5086
|
shell: add fs.meta.cat to see file meta data content
related to https://github.com/chrislusf/seaweedfs/issues/1163
|
2019-12-20 08:22:18 -08:00 |
|
Chris Lu
|
0fa1269bc7
|
filer: streaming file listing
|
2019-12-13 00:22:37 -08:00 |
|
Chris Lu
|
bf4b13612d
|
adjust command name
|
2019-12-11 23:13:04 -08:00 |
|
Chris Lu
|
f81d43442b
|
filer: speed up filer.meta.save by parallelizing
|
2019-12-06 22:20:59 -08:00 |
|
Chris Lu
|
e426bd541e
|
grow volumes on volume servers with slots freed by cloud storage
|
2019-12-03 21:36:42 -08:00 |
|
Chris Lu
|
70648d35ad
|
go fmt
|
2019-12-02 20:49:58 -08:00 |
|
Chris Lu
|
ec8de250e2
|
tiered storage: can copy to s3, read from s3
master not aware tiered volume yet, file assigning is not working yet
|
2019-12-02 15:08:31 -08:00 |
|
Chris Lu
|
586798ecc0
|
go fmt
|
2019-11-27 12:34:57 -08:00 |
|
Chris Lu
|
0f9ba84274
|
s3
|
2019-11-27 03:09:45 -08:00 |
|
Chris Lu
|
5f6b360eb7
|
adjust error message
|
2019-11-24 23:13:40 -08:00 |
|
Chris Lu
|
2cbe79acda
|
fix typo in command help
|
2019-11-24 22:17:43 -08:00 |
|
Chris Lu
|
66acc2c84f
|
passing in averageShardsPerEcNode instead of expectedTotalEcShards
addressing https://github.com/chrislusf/seaweedfs/issues/1111
|
2019-11-12 15:36:18 -08:00 |
|
Chris Lu
|
40514c5362
|
add sortEcNodesByFreeslotsDecending and sortEcNodesByFreeslotsAscending
addressing https://github.com/chrislusf/seaweedfs/issues/1111
|
2019-11-12 13:47:36 -08:00 |
|
Chris Lu
|
717ec47fa2
|
avoid double counting ec slot
addressing issue found in https://github.com/chrislusf/seaweedfs/issues/1111
The ec slots are already counted on the server side.
|
2019-11-12 09:33:51 -08:00 |
|
Chris Lu
|
9c2f3b1b0f
|
fix rack_not_found case
fix rack_not_found in https://github.com/chrislusf/seaweedfs/issues/1111
|
2019-11-10 12:06:41 -08:00 |
|
Chris Lu
|
e6ab75972f
|
use constant
|
2019-11-10 12:05:58 -08:00 |
|
Chris Lu
|
69de05f6cb
|
go fmt
|
2019-10-25 07:45:12 -07:00 |
|
Chris Lu
|
288c45a690
|
fix iitial filer url
|
2019-10-25 07:44:37 -07:00 |
|
Lei Liu
|
3cc084269c
|
master api: return http 404 when volumeId not exist
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
|
2019-09-29 14:23:39 +08:00 |
|
Chris Lu
|
8afd8d35b3
|
master: followers can also lookup and redirect
improve scalability
|
2019-07-28 03:58:13 -07:00 |
|
Chris Lu
|
fb90d63589
|
shell: Added minor changes to fs.meta.save
* added an option to set the output file name
* added an option to see verbose output, default to non-verbose mode
related to: https://github.com/chrislusf/seaweedfs/issues/1019
|
2019-07-26 09:35:22 -07:00 |
|
Chris Lu
|
862c2cb8e6
|
go fmt
|
2019-07-21 21:51:38 -07:00 |
|
Chris Lu
|
9e47c4749a
|
shell: add fs.mv
fix https://github.com/chrislusf/seaweedfs/issues/954
|
2019-07-11 09:29:04 -07:00 |
|
Chris Lu
|
a3d1296ed9
|
go fmt
|
2019-06-27 12:18:59 -07:00 |
|
Chris Lu
|
6883f9e322
|
mark volume readonly before ec encoding
|
2019-06-26 23:02:22 -07:00 |
|
Chris Lu
|
cd45ab072a
|
fix compilation error
|
2019-06-22 12:30:08 -07:00 |
|
Chris Lu
|
6bc3dee5b3
|
refactoring
|
2019-06-22 10:56:54 -07:00 |
|
Chris Lu
|
57092d69ac
|
go fmt
|
2019-06-10 21:33:32 -07:00 |
|
Chris Lu
|
f9d8bd51ad
|
ec shard balancing
|
2019-06-10 21:32:56 -07:00 |
|
Chris Lu
|
9d9162ca35
|
ec.balance: collect dc rack info
|
2019-06-07 00:25:05 -07:00 |
|
Chris Lu
|
d344e0a035
|
fix ec related bugs
|
2019-06-05 23:20:26 -07:00 |
|
Chris Lu
|
ede876cfdb
|
periodic scripts exeuction from leader master
|
2019-06-05 01:30:24 -07:00 |
|
Chris Lu
|
b9e138713c
|
ec.encode: add -fullPercent option
|
2019-06-05 00:13:13 -07:00 |
|
Chris Lu
|
0e49add2bc
|
adjust help message
|
2019-06-05 00:11:37 -07:00 |
|
Chris Lu
|
06133ae98f
|
correct count for free ec slots, avoid removing generated shards
|
2019-06-04 01:49:51 -07:00 |
|
Chris Lu
|
6cea23d091
|
purge duplicated ec shards
|
2019-06-04 01:32:36 -07:00 |
|
Chris Lu
|
b05456fe07
|
able to purge extra ec shard copies
|
2019-06-03 20:25:02 -07:00 |
|
Chris Lu
|
d85b41b904
|
fix ec.encode not finding the local ec shards
|
2019-06-03 10:38:21 -07:00 |
|
Chris Lu
|
7e80b2b882
|
fix multiple bugs
|
2019-06-03 02:26:31 -07:00 |
|
Chris Lu
|
55be09996d
|
fix volume balance bug
|
2019-06-03 00:13:31 -07:00 |
|
Chris Lu
|
9ce6b949bf
|
adjust help message
|
2019-06-01 10:37:08 -07:00 |
|
Chris Lu
|
d6e2c877fa
|
ec.balance: use specific collection names
|
2019-06-01 02:00:18 -07:00 |
|
Chris Lu
|
ba18314aab
|
ec shard delete also check ec volumes, in addition to volumes
|
2019-06-01 01:41:22 -07:00 |
|
Chris Lu
|
f919d0235c
|
ec encode volumes quiet for a period of time
|
2019-05-31 23:41:17 -07:00 |
|
Chris Lu
|
a72cef3c42
|
encode by collection
|
2019-05-31 15:48:40 -07:00 |
|
Chris Lu
|
40ca2f2903
|
add collection.delete
|
2019-05-30 09:47:54 -07:00 |
|
Chris Lu
|
1d111d6ce8
|
collection list normal and ec volumes
|
2019-05-30 09:27:23 -07:00 |
|
Chris Lu
|
866197eee3
|
print out the ec balancing plan
|
2019-05-30 01:38:59 -07:00 |
|
Chris Lu
|
3f9ecee40f
|
working with reading remote intervals
|
2019-05-28 21:29:07 -07:00 |
|
Chris Lu
|
b4b407e403
|
add grpc ec shard read
|
2019-05-27 11:59:03 -07:00 |
|
Chris Lu
|
db94a41f9e
|
mount/unmount ec shards
|
2019-05-25 23:23:19 -07:00 |
|
Chris Lu
|
41e8ae61f8
|
generate, balance, delete copied shards, delete old volume
|
2019-05-25 14:02:06 -07:00 |
|
Chris Lu
|
f0e6574d5e
|
allocate ec shards to volume servers
|
2019-05-25 02:02:44 -07:00 |
|
Chris Lu
|
6f4b09b6a4
|
pb shard info uses ShardBits instead one message for one shard
|
2019-05-24 13:28:44 -07:00 |
|
Chris Lu
|
228850d588
|
shard id starts from zero
|
2019-05-24 11:52:23 -07:00 |
|
Chris Lu
|
69b7dd398d
|
adjust help message
|
2019-05-07 14:02:01 -07:00 |
|
Chris Lu
|
d01807ba05
|
shell: volume.balance add option for all_collections, each_collection
|
2019-05-06 14:12:19 -07:00 |
|
Chris Lu
|
4e42e7b5e7
|
shell: volume.balance add dataCenter filter
|
2019-05-06 13:30:14 -07:00 |
|
Chris Lu
|
8656102127
|
shell: volume.balance runs for each collection, and for ALL at the end
|
2019-05-05 22:28:14 -07:00 |
|
Chris Lu
|
f08bbb72de
|
refactoring
|
2019-05-05 22:21:28 -07:00 |
|