[sheepdog] [sheepdog/sheepdog] f21b4a: zk_control: fix "purge" threshold and default beha...

Takashi Menjo menjo.takashi at lab.ntt.co.jp
Wed Jan 25 03:05:16 CET 2017


  Branch: refs/heads/stable-0.9
  Home:   https://github.com/sheepdog/sheepdog
  Commit: f21b4a03bb8b764e2a25dee2cda03bc520cb4996
      https://github.com/sheepdog/sheepdog/commit/f21b4a03bb8b764e2a25dee2cda03bc520cb4996
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M tools/zk_control.c

  Log Message:
  -----------
  zk_control: fix "purge" threshold and default behavior

Now zk_control purge ...
* can purge znodes created within last 24 hours
* purges znode created before more than 24 hours
  by default i.e. when threshold is not given explicitly
* returns error when threshold is negative value (bug fix)

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
(cherry picked from commit 9a58c28a2af02d1a1a856bb770aed984bb536b70)

Conflicts:
	tools/zk_control.c


  Commit: 4d7062b94665788dfb1a514fa67b9725001c8d0e
      https://github.com/sheepdog/sheepdog/commit/4d7062b94665788dfb1a514fa67b9725001c8d0e
  Author: Hiroshi Miura <miurahr at linux.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M tools/zk_control.c

  Log Message:
  -----------
  Log exact number of deleted nodes when purge fails

Signed-off-by: Hiroshi Miura <miurahr at linux.com>
(cherry picked from commit 34d3ca833afa63e52eb2106f71f52ee78222d6e9)


  Commit: 144ea5d24df1315483280abc5b35a5604ca9c8c7
      https://github.com/sheepdog/sheepdog/commit/144ea5d24df1315483280abc5b35a5604ca9c8c7
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M tools/zk_control.c

  Log Message:
  -----------
  Merge branch 'for-v0.9.5-fix-zk_control' into for-v0.9.5-2


Compare: https://github.com/sheepdog/sheepdog/compare/7db6300df157...144ea5d24df1


More information about the sheepdog mailing list