[sheepdog] [sheepdog/sheepdog] 254730: sheep: remove object list cache of ledger when rem...

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Dec 26 07:53:24 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 254730a6992f74ad635db4417e493de4b45afe6b
      https://github.com/sheepdog/sheepdog/commit/254730a6992f74ad635db4417e493de4b45afe6b
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2016-12-26 (Mon, 26 Dec 2016)

  Changed paths:
    M sheep/ops.c

  Log Message:
  -----------
  sheep: remove object list cache of ledger when removed from store

Each object list cache should be removed when it is removed from
object store. Inode and data ones are done so by peer_remove_obj.
However, ledger objects are not so by peer_decref_object, and
remaining cache leads to unnecessary recovery trial and error log.

This commit lets sheep remove object list cache of ledger when it is
removed from store.

Fix #341

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>


  Commit: bf5a0ed45460d4096e1779bf8a10959a0595f7d9
      https://github.com/sheepdog/sheepdog/commit/bf5a0ed45460d4096e1779bf8a10959a0595f7d9
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2016-12-26 (Mon, 26 Dec 2016)

  Changed paths:
    M sheep/ops.c

  Log Message:
  -----------
  Merge pull request #342 from tmenjo/fix-remove-ledger-objlist-cache

sheep: remove object list cache of ledger when removed from store


Compare: https://github.com/sheepdog/sheepdog/compare/df7d08f1513f...bf5a0ed45460


More information about the sheepdog mailing list