Jeff Layton has uploaded this change for review.

View Change

SAL: don't lift grace period unless everyone is enforcing

When building a new cluster from scratch, we'll generally not have
any clients at first. New nodes can end up being added to the cluster,
start up and lift the grace period before existing nodes even notice
that a new grace period has started.

This can cause them to miss an epoch update. Fix this by not allowing
a node to lift the grace period unless it's currently being enforced
cluster-wide.

Change-Id: Ie252883a094bee9f47dc7b8ae987688500a77257
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/SAL/nfs4_recovery.c
1 file changed, 4 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/94/422894/1

To view, visit change 422894. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie252883a094bee9f47dc7b8ae987688500a77257
Gerrit-Change-Number: 422894
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>