Re: [devel] [PATCH 1/1] amfd: add node to failover_list before calling SetState [#2963]

2018-11-16 Thread Minh Hon Chau
Hi Gary, ack (code review only). Thanks Minh On 16/11/18 5:38 pm, Gary Lee wrote: node must be added to failover_list before SetState() is called. If the state is 'end', then it will be deleted by SetState(). Otherwise, we will leave a node in 'End' state mistakenly in failover_list. ---

[devel] [PATCH 1/1] amfd: add node to failover_list before calling SetState [#2963]

2018-11-15 Thread Gary Lee
node must be added to failover_list before SetState() is called. If the state is 'end', then it will be deleted by SetState(). Otherwise, we will leave a node in 'End' state mistakenly in failover_list. --- src/amf/amfd/ckpt_dec.cc | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff