microsoft / azure-vhd-utils

Azure VHD utilities.
Other
96 stars 41 forks source link

Use the cancellation feature of load-balancer & workers #4

Closed anuchandy closed 7 years ago

anuchandy commented 8 years ago

The load-balancer (LB) and workers supports canceling upload operation, for this they listen on tearDownChan channel.

We have a go-routine in the vhdUploadCmdHandler that listen for upload failure, update this routine to send cancellation signal to LB and workers on upload failure.

anuchandy commented 7 years ago

Canceling LB (which in turn cancel all workers) in case of failure of upload of one block is not a correct approach. We want to workers to continue uploading other blocks. Closing this.