[sheepdog] [PATCH 0/5] add support for upgrading sheepdog from 0.5 to 0.6

MORITA Kazutaka morita.kazutaka at gmail.com
Fri May 31 19:15:45 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Currently, starting sheepdog against an older store will completely
break epoch information.  This series fixes it.

MORITA Kazutaka (5):
  sheep: don't use journal for epoch write
  migrate: add helper to calculate file size
  migrate: add helper to do process for each epoch
  migrate: add support for upgrading from v0.5.5 or earlier
  sheep: check store format at compile time

 include/internal_proto.h |    8 ++
 sheep/config.c           |    9 +-
 sheep/journal.c          |   19 ---
 sheep/migrate.c          |  303 ++++++++++++++++++++++++++++++++++++----------
 sheep/sheep_priv.h       |    2 -
 sheep/store.c            |   50 +-------
 6 files changed, 260 insertions(+), 131 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list