Bug-2692:Avoid fake snapshot during initiate snapshot 91/15091/2
authorKamal Rameshan <kramesha@cisco.com>
Mon, 9 Feb 2015 22:56:30 +0000 (14:56 -0800)
committerKamal Rameshan <kramesha@cisco.com>
Mon, 9 Feb 2015 23:31:50 +0000 (15:31 -0800)
When an initiate snapshot is received , we should be setting the snapshot captured flag, in order to avoid a fake snapshot at the same time.

Also a check should be made to avoid another initiate snapshot to occur, in case the capture snapshot takes time.

Change-Id: I6e29c97b8cc71c101504cb3588897a896e107e93
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>

No differences found