OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-46-gf5c289d
Gerrit Code Review
gerrit@openafs.org
Fri, 26 Jan 2018 09:32:07 -0500
The following commit has been merged in the master branch:
commit f5c289d00aaf7c5525b477da5b89f6675456c211
Author: Marcio Barbosa <mbarbosa@sinenomine.net>
Date: Wed Jun 21 16:24:05 2017 -0400
ubik: check if epoch is sane before db relabel
The sync-site relabels its database at the end of the first write
transaction. The new label will be equal to the time at which the
sync-site in question first received its coordinator mandate. This time
is stored by a global called ubik_epochTime. In order to make sure that
the new database label is sane, only relabel the database if
ubik_epochTime is within a specific range.
Change-Id: I2408569e5de46d387f63cbc2fab05ea1264a505c
Reviewed-on: https://gerrit.openafs.org/12640
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@dson.org>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/ubik/disk.c | 8 ++++++++
src/ubik/ubik.p.h | 5 +++++
2 files changed, 13 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository