[sheepdog] [sheepdog/sheepdog] 79a06f: dog: a new command "dog upgrade" for various upgra...
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Sat Aug 8 14:32:37 CEST 2015
Branch: refs/heads/stable-0.9
Home: https://github.com/sheepdog/sheepdog
Commit: 79a06f1370dbcc04114bf8fd8f28c1b0c8f73549
https://github.com/sheepdog/sheepdog/commit/79a06f1370dbcc04114bf8fd8f28c1b0c8f73549
Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Date: 2015-08-08 (Sat, 08 Aug 2015)
Changed paths:
M dog/Makefile.am
M dog/dog.c
M dog/dog.h
A dog/upgrade.c
M include/sheepdog_proto.h
Log Message:
-----------
dog: a new command "dog upgrade" for various upgrading tools
This patch adds a new command "dog upgrade" and its subcommand
convert-inode for converting old inode file to new version.
Example:
$ dog upgrade inode-convert -o v0.7 <original inode file> <new inode file>
Currently, snapshot isn't supported.
Cc: Masahiro Tsuji <tuji at atworks.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Commit: 717a9d4b953bec16817e2af721c509e10935fed4
https://github.com/sheepdog/sheepdog/commit/717a9d4b953bec16817e2af721c509e10935fed4
Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Date: 2015-08-08 (Sat, 08 Aug 2015)
Changed paths:
M dog/upgrade.c
M include/internal_proto.h
Log Message:
-----------
dog: upgrade command for epoch log file
This patch adds a new upgrade command for epoch log file. It can be
used as below:
$ dog upgrade epoch-convert <original epoch file path> <new file path>
Example of output:
number of vnodes of each nodes:
IPv4 ip:127.0.0.1 port:7000 == 64
IPv4 ip:127.0.0.1 port:7001 == 64
IPv4 ip:127.0.0.1 port:7002 == 64
please supply the above numbers to sheeps with -V option
As the output says, these numbers must be supplied to new sheep
processes with -V option for enabling fixedvnodes storategy. In other
words, the upgraded cluster cannot use autovnode strategy.
Cc: Masahiro Tsuji <tuji at atworks.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Commit: a2fd92a8a3495722886ebc58452ee833034beee2
https://github.com/sheepdog/sheepdog/commit/a2fd92a8a3495722886ebc58452ee833034beee2
Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Date: 2015-08-08 (Sat, 08 Aug 2015)
Changed paths:
M dog/upgrade.c
M include/sheep.h
M sheep/config.c
Log Message:
-----------
dog: upgrade command for config file
This patch adds a new upgrade command for config file. It can be used
as below:
$ dog upgrade config-convert <original config file path> <new file path>
Cc: Masahiro Tsuji <tuji at atworks.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Conflicts:
include/sheep.h
sheep/config.c
Commit: 937ee5161252b984229fbe5acb1916ae399a7d82
https://github.com/sheepdog/sheepdog/commit/937ee5161252b984229fbe5acb1916ae399a7d82
Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Date: 2015-08-08 (Sat, 08 Aug 2015)
Changed paths:
M dog/upgrade.c
Log Message:
-----------
dog: upgrade command for print location under the latest placement strategy
This patch adds a new upgrade command for printing location of objects
under latest sheepdog.
How to use:
$ dog upgrade object-location <converted new epoch file> <oid>
Cc: Masahiro Tsuji <tuji at atworks.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Compare: https://github.com/sheepdog/sheepdog/compare/d659b9bf3dc5...937ee5161252
More information about the sheepdog
mailing list