diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2015-05-27 17:00:36 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-06-26 19:59:15 -0700 |
commit | 555a8a14d70676a3cbd0816d8d59c557c53bccd5 (patch) | |
tree | 509b396249abf2f3aa152238f2bea56248e06a60 /build-aux/pkg-version | |
parent | 47a19340a72ccc06c946c0f2c84c601de81999be (diff) |
features/bit-rot: check for both inmemory and ondisk staleness
Backport of http://review.gluster.org/10947
* Let bit-rot stub check both on disk ongoing version, signed version xattrs and
the in memory flags in the inode and then decide whether the inode is stale or
not. This information is used by one shot crawler in BitD to decide whether to
trigger the sign for the object or skip it.
NOTE: The above check should be done only for BitD. For scrubber its still the
old way of comparing on disk ongoing version with signed version.
* BitD's one shot crawler should not sign zero byte objects if they do not contain
signature. (Means the object was just created and nothing was written to it).
Change-Id: I580b45b85f62fc075616ee3da9c15a3c8335d7a8
BUG: 1232199
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/11249
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'build-aux/pkg-version')
0 files changed, 0 insertions, 0 deletions