[sheepdog] [sheepdog/sheepdog] f653e7: sheep: rename cinfo->store to cinfo->default_store

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Sun Aug 30 08:47:16 CEST 2015


  Branch: refs/heads/node-format
  Home:   https://github.com/sheepdog/sheepdog
  Commit: f653e7f563b617ab0d62de800fd6d49cb5e95623
      https://github.com/sheepdog/sheepdog/commit/f653e7f563b617ab0d62de800fd6d49cb5e95623
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-08-30 (Sun, 30 Aug 2015)

  Changed paths:
    M include/internal_proto.h
    M include/sheep.h
    M sheep/config.c
    M sheep/group.c
    M sheep/ops.c
    M sheep/store/common.c

  Log Message:
  -----------
  sheep: rename cinfo->store to cinfo->default_store

This is a preparation commit.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


  Commit: d81fb2fe8dfadad17aca686a3ea15c18bdc3f65d
      https://github.com/sheepdog/sheepdog/commit/d81fb2fe8dfadad17aca686a3ea15c18bdc3f65d
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-08-30 (Sun, 30 Aug 2015)

  Changed paths:
    M dog/dog.h
    M dog/node.c
    M include/internal_proto.h
    M sheep/config.c
    M sheep/ops.c
    M sheep/sheep.c
    M sheep/sheep_priv.h
    M sheep/store/common.c

  Log Message:
  -----------
  dog: a new command "node format"

Currently sheepdog lets all nodes have a single store format. This
constraint isn't reasonable. In addition, it is harmful for rolling
updating store format. The rolling update is useful for long living
clusters.

This patch adds a new dog command "dog node format". Example usage:

$ mkdir <sheepdog directory>
$ dog node format <sheepdog directory> <store format (e.g. tree)>

If sheep is launched after the above commands, it prioritizes store
format specified in the node format command than the one specified in
the cluster format command.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


Compare: https://github.com/sheepdog/sheepdog/compare/f653e7f563b6^...d81fb2fe8dfa


More information about the sheepdog mailing list