Re: Why not update groupmap when daos_server received RASSwimRankDead
After looking at the code I think I agree with this suggestion, otherwise the reqGroupUpdate(sync=false) call on src/control/server/server_utils.go L514 is ineffectual. Good catch!
From: daos@daos.groups.io <daos@daos.groups.io>
On Behalf Of ???
Sent: Wednesday, July 13, 2022 2:47 AM To: daos@daos.groups.io Subject: Re: [daos] Why not update groupmap when daos_server received RASSwimRankDead
Thanks, mjmac. I think the code case sync := <-svc.groupUpdateReqs: groupUpdateNeeded = true if sync { if err := svc.doGroupUpdate(parent, true); err != nil { svc.log.Errorf("sync GroupUpdate failed: %s", err) continue } } groupUpdateNeeded = false
should be like this
case sync := <-svc.groupUpdateReqs: groupUpdateNeeded = true if sync { if err := svc.doGroupUpdate(parent, true); err != nil { svc.log.Errorf("sync GroupUpdate failed: %s", err) continue } groupUpdateNeeded = false }
At 2022-07-13 05:50:44, "Macdonald, Mjmac" <mjmac.macdonald@...> wrote:
|
|