File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ enum s3_update_cancel_type {
3131 S3_UPDATE_CANCEL_TYPE_MPD_ONE_PART_COMPLETED ,
3232 S3_UPDATE_CANCEL_TYPE_MPD_TWO_PARTS_COMPLETED ,
3333 S3_UPDATE_CANCEL_TYPE_MPD_PENDING_STREAMING ,
34+ S3_UPDATE_CANCEL_TYPE_MPD_MORE_PARTS_UPDATING ,
3435};
3536
3637struct s3_cancel_test_user_data {
@@ -163,6 +164,12 @@ static bool s_s3_meta_request_cancel_test_synced_update_stub(struct aws_s3_meta_
163164 call_cancel_or_pause =
164165 aws_priority_queue_size (& meta_request -> synced_data .pending_body_streaming_requests ) > 0 ;
165166 break ;
167+ case S3_UPDATE_CANCEL_TYPE_MPD_MORE_PARTS_UPDATING :
168+ call_cancel_or_pause = auto_ranged_get -> synced_data .num_parts_completed == 1 ;
169+
170+ /* Don't block the others to update. */
171+ block_update = false;
172+ break ;
166173 }
167174
168175 if (call_cancel_or_pause ) {
You can’t perform that action at this time.
0 commit comments