Sachin Punadikar has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1236112?usp=email )
Change subject: RECOVERY: Do not call grace during shutdown
......................................................................
RECOVERY: Do not call grace during shutdown
Call to "rados_grace_join" during shutdown in function
"rados_cluster_shutdown" leads to increamenting current epoch. When the
same Ganesha instance (identified with nodeid) gets started (either on
same node or somewhere else), then current epoch is increased again.
This double increament in epoch leads to not finding recovery object, at
restart of that Ganesha instance.
This happens only for graceful shutdown of Ganesha.
Change-Id: I8e13b117400913c9be9ed894d14216e4dd7b1cdd
Signed-off-by: Sachin Punadikar <sachin.punadikar(a)ibm.com>
---
M src/SAL/recovery/recovery_rados_cluster.c
1 file changed, 14 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/12/1236112/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1236112?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I8e13b117400913c9be9ed894d14216e4dd7b1cdd
Gerrit-Change-Number: 1236112
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>