AppendBlob原子上的附加操作吗? [英] Are append operations on an AppendBlob atomic?

查看:116
本文介绍了AppendBlob原子上的附加操作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用append blob存储一个大的二进制文件.我已将文件分为几部分(每部分小于4 MB)并追加它们以使其完整.如果在此过程中追加操作失败,那么这次失败的追加尝试是否会在文件上留下任何残留?还是此附加操作是原子操作?

I am using append blob to store a large binary file. I've got the file in parts (every part is less than 4 MB) and append them to make it whole again. If an append operation fails during the process, are there any remains on the file from this failed append attempt? Or this append operation is atomic?

推荐答案

如果存储服务返回失败代码,则失败的尝试将一无所获.假设尝试"意味着一个存储服务调用(附加4MB块).

If the storage service returns a failure code, nothing remains from the failed attempt. This assumes 'attempt' means a single storage service call (ex append 4MB block).

这篇关于AppendBlob原子上的附加操作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆