简体   繁体   English

如果主区域关闭,则在RAGRS Azure存储队列的辅助区域中将消息标记为已完成

[英]Marking message as completed in secondary region of RAGRS Azure Storage Queue if primary regions is down

I am using RAGRS Azure Storage Queue. 我正在使用RAGRS Azure存储队列。 If the primary region has an outage and the consumer is reading from secondary region of the queue, can it mark the message as completed on that region as it doesn't support write functionality? 如果主要区域发生故障,并且使用者正在从队列的辅助区域进行读取,由于它不支持写功能,是否可以将消息标记为在该区域上已完成?

First, secondary region is read only. 首先,辅助区域是只读的。 You can't write to it. 你不能写。 Because you can't write to it, you can only PEEK messages from a queue if you're directly reading from a secondary location which essentially prevents you from making any modifications to that message (like deleting the message to mark as complete). 因为您无法对其进行写操作,所以如果您直接从辅助位置进行读取,则只能从队列中读取PEEK消息,这实际上会阻止您对该消息进行任何修改(例如删除该消息以将其标记为完成)。

Also, if the primary region has an outage (and this outage is declared by Microsoft), then your secondary region automatically becomes primary region (you don't have to do anything special for that). 另外,如果主要区域发生故障(并且该中断由Microsoft宣布),则您的辅助区域将自动成为主要区域(您不必为此做任何特殊的事情)。 In that case, you will perform operations same as you were doing with the primary region before the outage. 在这种情况下,您将执行与中断之前对主要区域执行的操作相同的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM