OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_22_2-19-g36137c6
Gerrit Code Review
gerrit@openafs.org
Wed, 7 Mar 2018 08:35:13 -0500
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 36137c6f40e9688b400ec226ac1cfa79bdf2222f
Author: Marcio Barbosa <mbarbosa@sinenomine.net>
Date: Fri Feb 2 10:19:11 2018 -0300
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.
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>
(cherry picked from commit f5c289d00aaf7c5525b477da5b89f6675456c211)
Change-Id: I2e417f8773dec7d123324de2dcc2b51bbe33eecf
Reviewed-on: https://gerrit.openafs.org/12891
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/ubik/disk.c | 7 +++++++
src/ubik/ubik.p.h | 5 +++++
2 files changed, 12 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository