什么是 CloudPageBlob.Properties.PageBlobSequenceNumber?
What is CloudPageBlob.Properties.PageBlobSequenceNumber?
我找不到任何关于这个数字代表什么的文档。
我只找到了没有描述它是什么的通用文档页面。
据我所知,PageBlobSequenceNumber
用于重试请求,以下是官方document, more details please refer to it.
的截图
This kind of conflict can occur when the original request does not return a status code between 100-499, or 503 (Server Busy). If one of these status codes is returned, you can be certain as to whether the request has succeeded or failed. But if the service returns a status code outside this range, there's no way to know the status of the original request.
To prevent of conflict, you can use the page blob's sequence number to ensure that when you retry a request, the original request will not subsequently succeed. To do so, you should increment the sequence number before retrying the original request. You can then use the conditional sequence number headers to ensure that the request fails if its sequence number does not match the expected sequence number.
我找不到任何关于这个数字代表什么的文档。 我只找到了没有描述它是什么的通用文档页面。
据我所知,PageBlobSequenceNumber
用于重试请求,以下是官方document, more details please refer to it.
This kind of conflict can occur when the original request does not return a status code between 100-499, or 503 (Server Busy). If one of these status codes is returned, you can be certain as to whether the request has succeeded or failed. But if the service returns a status code outside this range, there's no way to know the status of the original request.
To prevent of conflict, you can use the page blob's sequence number to ensure that when you retry a request, the original request will not subsequently succeed. To do so, you should increment the sequence number before retrying the original request. You can then use the conditional sequence number headers to ensure that the request fails if its sequence number does not match the expected sequence number.