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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Sep 28 08:46:07 CEST 2015


  Branch: refs/heads/stable-0.9
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 0c1ddf13d142eb7c9e13af404411293febcabb1e
      https://github.com/sheepdog/sheepdog/commit/0c1ddf13d142eb7c9e13af404411293febcabb1e
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-09-28 (Mon, 28 Sep 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>

Conflicts:
	include/internal_proto.h
	sheep/config.c
	sheep/ops.c


  Commit: ae9de918da3ee09161d01ac8b935220f41ac26d8
      https://github.com/sheepdog/sheepdog/commit/ae9de918da3ee09161d01ac8b935220f41ac26d8
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-09-28 (Mon, 28 Sep 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>

Conflicts:
	dog/dog.h
	dog/node.c
	sheep/ops.c


Compare: https://github.com/sheepdog/sheepdog/compare/e1fb879ea6c4...ae9de918da3e


More information about the sheepdog mailing list